| Package | Description |
|---|---|
| org.opentrafficsim.road.gtu.strategical.od |
O/D matrices as part of strategical planning for GTUs.
|
| Modifier and Type | Field and Description |
|---|---|
static Category |
Category.UNCATEGORIZED
Empty category.
|
| Modifier and Type | Method and Description |
|---|---|
Set<Category> |
ODMatrix.getCategories(org.opentrafficsim.core.network.Node origin,
org.opentrafficsim.core.network.Node destination)
Returns the categories specified for given origin-destination combination.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
ODMatrix.contains(org.opentrafficsim.core.network.Node origin,
org.opentrafficsim.core.network.Node destination,
Category category) |
org.djunits.value.vdouble.scalar.Frequency |
ODMatrix.getDemand(org.opentrafficsim.core.network.Node origin,
org.opentrafficsim.core.network.Node destination,
Category category,
org.djunits.value.vdouble.scalar.Duration time)
Returns the demand at given time.
|
org.djunits.value.vdouble.vector.FrequencyVector |
ODMatrix.getDemandVector(org.opentrafficsim.core.network.Node origin,
org.opentrafficsim.core.network.Node destination,
Category category) |
Interpolation |
ODMatrix.getInterpolation(org.opentrafficsim.core.network.Node origin,
org.opentrafficsim.core.network.Node destination,
Category category) |
org.djunits.value.vdouble.vector.DurationVector |
ODMatrix.getTimeVector(org.opentrafficsim.core.network.Node origin,
org.opentrafficsim.core.network.Node destination,
Category category) |
int |
ODMatrixTrips.getTrips(org.opentrafficsim.core.network.Node origin,
org.opentrafficsim.core.network.Node destination,
Category category,
int periodIndex)
Returns the number of trips in the given time period.
|
int[] |
ODMatrixTrips.getTripsVector(org.opentrafficsim.core.network.Node origin,
org.opentrafficsim.core.network.Node destination,
Category category) |
void |
ODMatrixTrips.increaseTrips(org.opentrafficsim.core.network.Node origin,
org.opentrafficsim.core.network.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(org.opentrafficsim.core.network.Node origin,
org.opentrafficsim.core.network.Node destination,
Category category,
org.djunits.value.vdouble.vector.FrequencyVector demand) |
void |
ODMatrix.putDemandVector(org.opentrafficsim.core.network.Node origin,
org.opentrafficsim.core.network.Node destination,
Category category,
org.djunits.value.vdouble.vector.FrequencyVector demand,
org.djunits.value.vdouble.vector.DurationVector timeVector,
Interpolation interpolation) |
void |
ODMatrixTrips.putTripsVector(org.opentrafficsim.core.network.Node origin,
org.opentrafficsim.core.network.Node destination,
Category category,
int[] trips) |
void |
ODMatrixTrips.putTripsVector(org.opentrafficsim.core.network.Node origin,
org.opentrafficsim.core.network.Node destination,
Category category,
int[] trips,
org.djunits.value.vdouble.vector.DurationVector timeVector)
Sets demand data by number of trips.
|
Copyright © 2014–2017 Delft University of Technology. All rights reserved.