Package org.opentrafficsim.core.egtf
Class Kernel
- java.lang.Object
- 
- org.opentrafficsim.core.egtf.Kernel
 
- 
 public class Kernel extends Object Kernel with maximum range and shape.Copyright (c) 2013-2022 Delft University of Technology, PO Box 5, 2600 AA, Delft, the Netherlands. All rights reserved. 
 BSD-style license. See OpenTrafficSim License.- Version:
- $Revision$, $LastChangedDate$, by $Author$, initial version 24 okt. 2018 
- Author:
- Wouter Schakel
 
- 
- 
Constructor SummaryConstructors Constructor Description Kernel(double xMax, double tMax, KernelShape shape)Constructor.
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description (package private) doublefromLocation(double x)Returns the from location of the valid data range.(package private) doublefromTime(double t)Returns the from time of the valid data range.(package private) doubletoLocation(double x)Returns the to location of the valid data range.StringtoString()(package private) doubletoTime(double t)Returns the to time of the valid data range.(package private) doubleweight(double c, double dx, double dt)Returns a weight assuming given propagation speed.
 
- 
- 
- 
Constructor Detail- 
KernelKernel(double xMax, double tMax, KernelShape shape)Constructor.- Parameters:
- xMax- double; maximum spatial range
- tMax- double; maximum temporal range
- shape- KernelShape; shape of the kernel
 
 
- 
 - 
Method Detail- 
weightfinal double weight(double c, double dx, double dt)Returns a weight assuming given propagation speed.- Parameters:
- c- double; assumed propagation speed
- dx- double; distance between measurement and estimated point
- dt- double; time between measurement and estimated point
- Returns:
- double; weight assuming given propagation speed
 
 - 
fromLocationfinal double fromLocation(double x) Returns the from location of the valid data range.- Parameters:
- x- double; location of estimated point
- Returns:
- double; from location of the valid data range
 
 - 
toLocationfinal double toLocation(double x) Returns the to location of the valid data range.- Parameters:
- x- double; location of estimated point
- Returns:
- double; to location of the valid data range
 
 - 
fromTimefinal double fromTime(double t) Returns the from time of the valid data range.- Parameters:
- t- double; time of estimated point
- Returns:
- double; from time of the valid data range
 
 - 
toTimefinal double toTime(double t) Returns the to time of the valid data range.- Parameters:
- t- double; time of estimated point
- Returns:
- double; to time of the valid data range
 
 
- 
 
-