| 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.
|
| Modifier and Type | Method and Description |
|---|---|
static Platoons<Category> |
Platoons.ofCategory(GTUCharacteristicsGeneratorOD characteristics,
nl.tudelft.simulation.dsol.simulators.DEVSSimulatorInterface.TimeDoubleUnit simulator,
nl.tudelft.simulation.jstats.streams.StreamInterface stream,
Set<LaneDirection> position)
Creates a
Platoon<Category> instance for platoons. |
| Modifier and Type | Method and Description |
|---|---|
LaneBasedGTUCharacteristics |
DefaultGTUCharacteristicsGeneratorOD.draw(Node origin,
Node destination,
Category category,
nl.tudelft.simulation.jstats.streams.StreamInterface randomStream)
Generate new
LaneBasedGTUCharacteristics using given input from OD. |
LaneBasedGTUCharacteristics |
GTUCharacteristicsGeneratorOD.draw(Node origin,
Node destination,
Category category,
nl.tudelft.simulation.jstats.streams.StreamInterface randomStream)
Generate new
LaneBasedGTUCharacteristics using given input from OD. |
LaneBasedStrategicalPlannerFactory<?> |
StrategicalPlannerFactorySupplierOD.getFactory(Node origin,
Node destination,
Category category,
nl.tudelft.simulation.jstats.streams.StreamInterface randomStream)
Supplies a strategical factory.
|
LaneBasedTacticalPlannerFactory<? extends LaneBasedTacticalPlanner> |
StrategicalPlannerFactorySupplierOD.TacticalPlannerFactorySupplierOD.getFactory(Node origin,
Node destination,
Category category,
nl.tudelft.simulation.jstats.streams.StreamInterface randomStream)
Returns a tactical planner factory based on OD information.
|
| Modifier and Type | Field and Description |
|---|---|
static Category |
Category.UNCATEGORIZED
Empty category.
|
| Modifier and Type | Method and Description |
|---|---|
Set<Category> |
ODMatrix.getCategories(Node origin,
Node destination)
Returns the categories specified for given origin-destination combination.
|
| Modifier and Type | Method and 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.
|
Copyright © 2014–2019 Delft University of Technology. All rights reserved.