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, StreamInterface stream, Set<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, StreamInterface randomStream) Generate newLaneBasedGtuCharacteristicsusing given input from OD.LaneBasedGtuCharacteristicsGeneratorOd.draw(Node origin, Node destination, Category category, 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 booleanfinal FrequencyReturns the demand at given time.OdMatrix.getDemandPattern(Node origin, Node destination, Category category) final FrequencyVectorOdMatrix.getDemandVector(Node origin, Node destination, Category category) final InterpolationOdMatrix.getInterpolation(Node origin, Node destination, Category category) final TimeVectorOdMatrix.getTimeVector(Node origin, Node destination, Category category) final intReturns the number of trips in the given time period.final int[]OdMatrix.getTripsVector(Node origin, Node destination, Category category) 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, TimeVector timeVector, Interpolation interpolation) Add a demand vector to OD.final voidOdMatrix.putDemandVector(Node origin, Node destination, Category category, FrequencyVector demand, TimeVector 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, TimeVector 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) final voidOdMatrix.putTripsVector(Node origin, Node destination, Category category, int[] trips, TimeVector timeVector) Sets demand data by number of trips.