Uses of Enum Class
org.opentrafficsim.road.od.Interpolation
Packages that use 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
Methods in org.opentrafficsim.road.gtu.generator with parameters of type InterpolationModifier 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
Methods in org.opentrafficsim.road.gtu.generator.headway that return InterpolationModifier and TypeMethodDescriptionDemandPattern.interpolation()
Returns the value of theinterpolation
record component.Constructors in org.opentrafficsim.road.gtu.generator.headway with parameters of type InterpolationModifierConstructorDescriptionDemandPattern
(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
Methods in org.opentrafficsim.road.od that return InterpolationModifier 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.Methods in org.opentrafficsim.road.od with parameters of type InterpolationModifier 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.Constructors in org.opentrafficsim.road.od with parameters of type InterpolationModifierConstructorDescriptionOdMatrix
(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.