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 TypeMethodDescriptionPlatoons.compensate(T category, FrequencyVector demand, DurationVector 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 theinterpolationrecord component.Constructors in org.opentrafficsim.road.gtu.generator.headway with parameters of type InterpolationModifierConstructorDescriptionDemandPattern(FrequencyVector demandVector, DurationVector timeVector, Interpolation interpolation) Creates an instance of aDemandPatternrecord class. -
Uses of Interpolation in org.opentrafficsim.road.od
Methods in org.opentrafficsim.road.od that return InterpolationModifier and TypeMethodDescriptionfinal InterpolationOdMatrix.getGlobalInterpolation()Returns global interpolation.static InterpolationReturns 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 that return types with arguments of type InterpolationModifier and TypeMethodDescriptionfinal Optional<Interpolation>OdMatrix.getInterpolation(Node origin, Node destination, Category category) Returns interpolation for given origin, destination and categorization.Methods in org.opentrafficsim.road.od with parameters of type InterpolationModifier and TypeMethodDescriptionfinal voidOdMatrix.putDemandVector(Node origin, Node destination, Category category, FrequencyVector demand, DurationVector timeVector, Interpolation interpolation) Add a demand vector to OD.final voidOdMatrix.putDemandVector(Node origin, Node destination, Category category, FrequencyVector demand, DurationVector timeVector, Interpolation interpolation, double fraction) Add a demand vector to OD, by a fraction of total demand.final voidOdMatrix.putDemandVector(Node origin, Node destination, Category category, FrequencyVector demand, DurationVector 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, DurationVector globalDurationVector, Interpolation globalInterpolation) Constructs an OD matrix.SplitFraction(Node node, Interpolation interpolation, nl.tudelft.simulation.jstats.streams.StreamInterface random, OtsSimulatorInterface simulator) Constructor.