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, DEVSSimulatorInterface.TimeDoubleUnit 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 LaneBasedGTUCharacteristicsDefaultGTUCharacteristicsGeneratorOD. draw(Node origin, Node destination, Category category, StreamInterface randomStream)Generate newLaneBasedGTUCharacteristicsusing given input from OD.LaneBasedGTUCharacteristicsGTUCharacteristicsGeneratorOD. draw(Node origin, Node destination, Category category, StreamInterface randomStream)Generate newLaneBasedGTUCharacteristicsusing 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 CategoryCategory. UNCATEGORIZEDEmpty 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 booleanODMatrix. contains(Node origin, Node destination, Category category)FrequencyODMatrix. getDemand(Node origin, Node destination, Category category, Time time, boolean sliceStart)Returns the demand at given time.DemandPatternODMatrix. getDemandPattern(Node origin, Node destination, Category category)FrequencyVectorODMatrix. getDemandVector(Node origin, Node destination, Category category)InterpolationODMatrix. getInterpolation(Node origin, Node destination, Category category)TimeVectorODMatrix. getTimeVector(Node origin, Node destination, Category category)intODMatrix. 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)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.voidODMatrix. putDemandVector(Node origin, Node destination, Category category, FrequencyVector demand)Add a demand vector to OD.voidODMatrix. putDemandVector(Node origin, Node destination, Category category, FrequencyVector demand, double fraction)Add a demand vector to OD.voidODMatrix. putDemandVector(Node origin, Node destination, Category category, FrequencyVector demand, TimeVector timeVector, Interpolation interpolation)Add a demand vector to OD.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.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.voidODMatrix. putTripsVector(Node origin, Node destination, Category category, int[] trips)voidODMatrix. putTripsVector(Node origin, Node destination, Category category, int[] trips, TimeVector timeVector)Sets demand data by number of trips.
-