Uses of Class
org.opentrafficsim.draw.egtf.Quantity

Packages that use 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 Type
    Field
    Description
    static final Quantity<Double,double[][]>
    Quantity.DENSITY_SI
    Standard quantity for density.
    static final Quantity<Double,double[][]>
    Quantity.FLOW_SI
    Standard quantity for flow.
    static final Quantity<Double,double[][]>
    Quantity.SPEED_SI
    Standard quantity for speed.
    Methods in org.opentrafficsim.draw.egtf that return Quantity
    Modifier and Type
    Method
    Description
    (package private) Quantity<T,?>
    DataStream.getQuantity()
    Returns the quantity.
    static Quantity<?,double[][]>
    Quantity.si(String name)
    Returns a quantity with double[][] containing SI values as output format.
    Methods in org.opentrafficsim.draw.egtf with parameters of type Quantity
    Modifier and Type
    Method
    Description
    void
    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>
    DataSource.addStream(Quantity<T,?> quantity, T thetaCong, T thetaFree)
    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.
    Egtf.filterSI(double[] location, double[] time, Quantity<?,?>... quantities)
    Returns filtered data.
    <K> K
    Filter.get(Quantity<?,K> quantity)
    Returns the filtered data in output format.
    <K> K
    FilterDouble.get(Quantity<?,K> quantity)
    Returns the filtered data in output format.
    double[][]
    Filter.getSI(Quantity<?,?> quantity)
    Returns filtered data as SI values.
    double[][]
    FilterDouble.getSI(Quantity<?,?> quantity)
    Returns filtered data as SI values.
    <T extends Number>
    DataStream<T>
    DataSource.getStream(Quantity<T,?> quantity)
    Get a stream for the quantity of this data source.
    Constructors in org.opentrafficsim.draw.egtf with parameters of type Quantity
    Modifier
    Constructor
    Description
    (package private)
    DataStream(DataSource dataSource, Quantity<T,?> quantity, double thetaCong, double thetaFree)
    Constructor.
    Constructor parameters in org.opentrafficsim.draw.egtf with type arguments of type Quantity
    Modifier
    Constructor
    Description
    protected
    FilterDouble(double[] location, double[] time, Map<Quantity<?,?>,double[][]> map)
    Constructor.
  • Uses of Quantity in org.opentrafficsim.draw.egtf.typed

    Modifier and Type
    Class
    Description
    class 
    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 Type
    Field
    Description
    static 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.
    Methods in org.opentrafficsim.draw.egtf.typed with parameters of type Quantity
    Modifier and Type
    Method
    Description
    <U extends org.djunits.unit.Unit<U>, Z extends org.djunits.value.base.Scalar<U, Z>>
    void
    TypedEgtf.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>>
    void
    TypedEgtf.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>>
    void
    TypedEgtf.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
    TypedFilter.get(Quantity<?,K> quantity)
    Returns the filtered data in output format.
    double[][]
    TypedFilter.getSI(Quantity<?,?> quantity)
    Returns filtered data as SI values.
  • Uses of Quantity in org.opentrafficsim.draw.graphs

    Modifier and Type
    Method
    Description
    ContourDataSource.ContourDataType.getQuantity()
    Returns the quantity that is being plotted on the z-axis for the EGTF filter.