Uses of Enum Class
org.opentrafficsim.road.od.Interpolation
Package
Description
Generate GTUs according to some prescription.
Classes concerning
Generator<Duration>
to produce headways for vehicle generation.O/D matrices as part of strategical planning for GTUs.
-
Uses of Interpolation in org.opentrafficsim.road.gtu.generator
Modifier and TypeMethodDescriptionorg.djunits.value.vdouble.vector.FrequencyVector
Platoons.compensate
(T category, org.djunits.value.vdouble.vector.FrequencyVector demand, org.djunits.value.vdouble.vector.TimeVector time, Interpolation interpolation) Creates a demand vector in which the platoon demand has been compensated from the input demand vector. -
Uses of Interpolation in org.opentrafficsim.road.gtu.generator.headway
Modifier and TypeMethodDescriptionDemandPattern.interpolation()
Returns the value of theinterpolation
record component.ModifierConstructorDescriptionDemandPattern
(org.djunits.value.vdouble.vector.FrequencyVector demandVector, org.djunits.value.vdouble.vector.TimeVector timeVector, Interpolation interpolation) Creates an instance of aDemandPattern
record class. -
Uses of Interpolation in org.opentrafficsim.road.od
Modifier and TypeMethodDescriptionfinal Interpolation
OdMatrix.getGlobalInterpolation()
final Interpolation
OdMatrix.getInterpolation
(Node origin, Node destination, Category category) static Interpolation
Returns the enum constant of this class with the specified name.static Interpolation[]
Interpolation.values()
Returns an array containing the constants of this enum class, in the order they are declared.Modifier and TypeMethodDescriptionfinal void
OdMatrix.putDemandVector
(Node origin, Node destination, Category category, org.djunits.value.vdouble.vector.FrequencyVector demand, org.djunits.value.vdouble.vector.TimeVector timeVector, Interpolation interpolation) Add a demand vector to OD.final void
OdMatrix.putDemandVector
(Node origin, Node destination, Category category, org.djunits.value.vdouble.vector.FrequencyVector demand, org.djunits.value.vdouble.vector.TimeVector timeVector, Interpolation interpolation, double fraction) Add a demand vector to OD, by a fraction of total demand.final void
OdMatrix.putDemandVector
(Node origin, Node destination, Category category, org.djunits.value.vdouble.vector.FrequencyVector demand, org.djunits.value.vdouble.vector.TimeVector timeVector, Interpolation interpolation, double[] fraction) Add a demand vector to OD, by a fraction per time period of total demand.ModifierConstructorDescriptionOdMatrix
(String id, List<? extends Node> origins, List<? extends Node> destinations, Categorization categorization, org.djunits.value.vdouble.vector.TimeVector globalTimeVector, Interpolation globalInterpolation) Constructs an OD matrix.SplitFraction
(Node node, Interpolation interpolation, nl.tudelft.simulation.jstats.streams.StreamInterface random, OtsSimulatorInterface simulator) Constructor.