Uses of Class
org.opentrafficsim.road.od.Category
Packages that use Category
Package
Description
Generate GTUs according to some prescription.
Classes concerning generation of
LaneBasedGtuCharacteristicsGenerator for vehicle generation.O/D matrices as part of strategical planning for GTUs.
-
Uses of Category in org.opentrafficsim.road.gtu.generator
Methods in org.opentrafficsim.road.gtu.generator that return types with arguments of type CategoryModifier and TypeMethodDescriptionPlatoons.ofCategory(LaneBasedGtuCharacteristicsGeneratorOd characteristics, OtsSimulatorInterface simulator, nl.tudelft.simulation.jstats.streams.StreamInterface stream, Lane position) Creates aPlatoon<Category>instance for platoons. -
Uses of Category in org.opentrafficsim.road.gtu.generator.characteristics
Methods in org.opentrafficsim.road.gtu.generator.characteristics with parameters of type CategoryModifier and TypeMethodDescriptionDefaultLaneBasedGtuCharacteristicsGeneratorOd.draw(Node origin, Node destination, Category category, nl.tudelft.simulation.jstats.streams.StreamInterface randomStream) LaneBasedGtuCharacteristicsGeneratorOd.draw(Node origin, Node destination, Category category, nl.tudelft.simulation.jstats.streams.StreamInterface randomStream) Generate newLaneBasedGtuCharacteristicsusing given input from OD. -
Uses of Category in org.opentrafficsim.road.od
Fields in org.opentrafficsim.road.od declared as CategoryMethods in org.opentrafficsim.road.od that return types with arguments of type CategoryModifier and TypeMethodDescriptionOdMatrix.getCategories(Node origin, Node destination) Returns the categories specified for given origin-destination combination.Methods in org.opentrafficsim.road.od with parameters of type CategoryModifier and TypeMethodDescriptionfinal booleanReturns whether there is data for the specified origin, destination and category.final FrequencyReturns the demand at given time.OdMatrix.getDemandPattern(Node origin, Node destination, Category category) Returns OD entry for given origin, destination and categorization.final Optional<FrequencyVector>OdMatrix.getDemandVector(Node origin, Node destination, Category category) Returns demand data for given origin, destination and categorization.final Optional<DurationVector>OdMatrix.getDurationVector(Node origin, Node destination, Category category) Returns interpolation for given origin, destination and categorization.final Optional<Interpolation>OdMatrix.getInterpolation(Node origin, Node destination, Category category) Returns interpolation for given origin, destination and categorization.final intReturns the number of trips in the given time period.final int[]OdMatrix.getTripsVector(Node origin, Node destination, Category category) Get trip vector.final voidOdMatrix.increaseTrips(Node origin, Node destination, Category category, int periodIndex, int trips) Adds a number of trips to given origin-destination combination, category and time period.final voidOdMatrix.putDemandVector(Node origin, Node destination, Category category, FrequencyVector demand) Add a demand vector to OD.final voidOdMatrix.putDemandVector(Node origin, Node destination, Category category, FrequencyVector demand, double fraction) Add a demand vector to OD.final 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.final voidOdMatrix.putTripsVector(Node origin, Node destination, Category category, int[] trips) Put trip vector.final voidOdMatrix.putTripsVector(Node origin, Node destination, Category category, int[] trips, DurationVector timeVector) Sets demand data by number of trips.