Uses of Class
org.opentrafficsim.road.gtu.strategical.od.Category
-
Packages that use Category Package Description org.opentrafficsim.road.gtu.generator Generate GTUs according to some prescription.org.opentrafficsim.road.gtu.generator.od OD based vehicle generation.org.opentrafficsim.road.gtu.strategical.od 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 Category Modifier and Type Method Description static Platoons<Category>
Platoons. ofCategory(GTUCharacteristicsGeneratorOD characteristics, OTSSimulatorInterface simulator, StreamInterface stream, Set<LaneDirection> position)
Creates aPlatoon<Category>
instance for platoons. -
Uses of Category in org.opentrafficsim.road.gtu.generator.od
Methods in org.opentrafficsim.road.gtu.generator.od with parameters of type Category Modifier and Type Method Description LaneBasedGTUCharacteristics
DefaultGTUCharacteristicsGeneratorOD. draw(Node origin, Node destination, Category category, StreamInterface randomStream)
Generate newLaneBasedGTUCharacteristics
using given input from OD.LaneBasedGTUCharacteristics
GTUCharacteristicsGeneratorOD. draw(Node origin, Node destination, Category category, StreamInterface randomStream)
Generate newLaneBasedGTUCharacteristics
using given input from OD.LaneBasedStrategicalPlannerFactory<?>
StrategicalPlannerFactorySupplierOD. getFactory(Node origin, Node destination, Category category, StreamInterface randomStream)
Supplies a strategical factory.LaneBasedTacticalPlannerFactory<? extends LaneBasedTacticalPlanner>
StrategicalPlannerFactorySupplierOD.TacticalPlannerFactorySupplierOD. getFactory(Node origin, Node destination, Category category, StreamInterface randomStream)
Returns a tactical planner factory based on OD information. -
Uses of Category in org.opentrafficsim.road.gtu.strategical.od
Fields in org.opentrafficsim.road.gtu.strategical.od declared as Category Modifier and Type Field Description static Category
Category. UNCATEGORIZED
Empty category.Methods in org.opentrafficsim.road.gtu.strategical.od that return types with arguments of type Category Modifier and Type Method Description Set<Category>
ODMatrix. getCategories(Node origin, Node destination)
Returns the categories specified for given origin-destination combination.Methods in org.opentrafficsim.road.gtu.strategical.od with parameters of type Category Modifier and Type Method Description boolean
ODMatrix. contains(Node origin, Node destination, Category category)
Frequency
ODMatrix. getDemand(Node origin, Node destination, Category category, Time time, boolean sliceStart)
Returns the demand at given time.DemandPattern
ODMatrix. getDemandPattern(Node origin, Node destination, Category category)
FrequencyVector
ODMatrix. getDemandVector(Node origin, Node destination, Category category)
Interpolation
ODMatrix. getInterpolation(Node origin, Node destination, Category category)
TimeVector
ODMatrix. getTimeVector(Node origin, Node destination, Category category)
int
ODMatrix. getTrips(Node origin, Node destination, Category category, int periodIndex)
Returns the number of trips in the given time period.int[]
ODMatrix. getTripsVector(Node origin, Node destination, Category category)
void
ODMatrix. 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.void
ODMatrix. putDemandVector(Node origin, Node destination, Category category, FrequencyVector demand)
Add a demand vector to OD.void
ODMatrix. putDemandVector(Node origin, Node destination, Category category, FrequencyVector demand, double fraction)
Add a demand vector to OD.void
ODMatrix. putDemandVector(Node origin, Node destination, Category category, FrequencyVector demand, TimeVector timeVector, Interpolation interpolation)
Add a demand vector to OD.void
ODMatrix. 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.void
ODMatrix. 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.void
ODMatrix. putTripsVector(Node origin, Node destination, Category category, int[] trips)
void
ODMatrix. putTripsVector(Node origin, Node destination, Category category, int[] trips, TimeVector timeVector)
Sets demand data by number of trips.
-