Uses of Class
org.opentrafficsim.draw.egtf.Quantity
Package
Description
Contains classes to use the Extended Generalized Treiber-Helbing Filter, which is equal to the Adaptive Smoothing Method if a
single data source is used.
Contains extensions of the EGTF classes with strongly typed parameters.
Various graphs that function on generic meta-data (like which path) and data structures.
-
Uses of Quantity in org.opentrafficsim.draw.egtf
Modifier and TypeFieldDescriptionQuantity.DENSITY_SI
Standard quantity for density.Quantity.FLOW_SI
Standard quantity for flow.Quantity.SPEED_SI
Standard quantity for speed.Modifier and TypeMethodDescriptionDataStream.getQuantity()
Returns the quantity.static Quantity<?,
double[][]> Returns a quantity withdouble[][]
containing SI values as output format.Modifier and TypeMethodDescriptionvoid
Egtf.addGridDataSI
(Quantity<?, ?> quantity, double[] location, double[] time, double[][] values) Adds grid data.void
Egtf.addPointDataSI
(Quantity<?, ?> quantity, double location, double time, double value) Adds point data.<T extends Number>
DataStream<T>Add a non-speed stream for the quantity to this data source.<T extends Number>
DataStream<T>DataSource.addStreamSI
(Quantity<T, ?> quantity, double thetaCong, double thetaFree) Add a stream for the quantity to this data source.void
Egtf.addVectorDataSI
(Quantity<?, ?> quantity, double[] location, double[] time, double[] values) Adds vector data.Egtf.filterFastSI
(double xMin, double xStep, double xMax, double tMin, double tStep, double tMax, Quantity<?, ?>... quantities) Returns filtered data that is processed using fast fourier transformation.Egtf.filterParallelFastSI
(double xMin, double xStep, double xMax, double tMin, double tStep, double tMax, Quantity<?, ?>... quantities) Executes fast filtering in parallel.Egtf.filterParallelSI
(double[] location, double[] time, Quantity<?, ?>... quantities) Executes filtering in parallel.Returns filtered data.<K> K
Returns the filtered data in output format.<K> K
Returns the filtered data in output format.double[][]
Returns filtered data as SI values.double[][]
Returns filtered data as SI values.<T extends Number>
DataStream<T>Get a stream for the quantity of this data source.ModifierConstructorDescription(package private)
DataStream
(DataSource dataSource, Quantity<T, ?> quantity, double thetaCong, double thetaFree) Constructor.ModifierConstructorDescriptionprotected
FilterDouble
(double[] location, double[] time, Map<Quantity<?, ?>, double[][]> map) Constructor. -
Uses of Quantity in org.opentrafficsim.draw.egtf.typed
Modifier and TypeClassDescriptionclass
TypedQuantity<U extends org.djunits.unit.Unit<U>,
T extends org.djunits.value.base.Scalar<U, T>, K extends org.djunits.value.vdouble.matrix.base.DoubleMatrix<U, ?, ?, ?>> Quantities for a strongly-typed context.Modifier and TypeFieldDescriptionstatic final Quantity<org.djunits.value.vdouble.scalar.LinearDensity,
org.djunits.value.vdouble.matrix.LinearDensityMatrix> TypedQuantity.DENSITY
Standard quantity for density.static final Quantity<org.djunits.value.vdouble.scalar.Frequency,
org.djunits.value.vdouble.matrix.FrequencyMatrix> TypedQuantity.FLOW
Standard quantity for flow.static final Quantity<org.djunits.value.vdouble.scalar.Speed,
org.djunits.value.vdouble.matrix.SpeedMatrix> TypedQuantity.SPEED
Standard quantity for speed.Modifier and TypeMethodDescription<U extends org.djunits.unit.Unit<U>,
Z extends org.djunits.value.base.Scalar<U, Z>>
voidTypedEgtf.addGridData
(Quantity<Z, ?> quantity, org.djunits.value.vdouble.vector.LengthVector location, org.djunits.value.vdouble.vector.DurationVector time, org.djunits.value.vdouble.matrix.base.DoubleMatrix<U, ?, ?, ?> values) Adds grid data.<U extends org.djunits.unit.Unit<U>,
Z extends org.djunits.value.base.Scalar<U, Z>>
voidTypedEgtf.addPointData
(Quantity<Z, ?> quantity, org.djunits.value.vdouble.scalar.Length location, org.djunits.value.vdouble.scalar.Duration time, Z value) Adds point data.<U extends org.djunits.unit.Unit<U>,
Z extends org.djunits.value.base.Scalar<U, Z>>
voidTypedEgtf.addVectorData
(Quantity<Z, ?> quantity, org.djunits.value.vdouble.vector.LengthVector location, org.djunits.value.vdouble.vector.DurationVector time, org.djunits.value.vdouble.vector.base.DoubleVector<U, ?, ?> values) Adds vector data.TypedEgtf.filter
(org.djunits.value.vdouble.vector.LengthVector location, org.djunits.value.vdouble.vector.DurationVector time, Quantity<?, ?>... quantities) Returns filtered data.<K> K
Returns the filtered data in output format.double[][]
Returns filtered data as SI values. -
Uses of Quantity in org.opentrafficsim.draw.graphs
Modifier and TypeMethodDescriptionContourDataSource.ContourDataType.getQuantity()
Returns the quantity that is being plotted on the z-axis for the EGTF filter.