| Package | Description |
|---|---|
| org.opentrafficsim.core.gtu.plan.strategical |
Strategical planners.
|
| org.opentrafficsim.core.network |
Classes that build a network with nodes, links, and cross-sections.
|
| org.opentrafficsim.core.network.route |
Routes and route probabilities.
|
| Modifier and Type | Method and Description |
|---|---|
Route |
StrategicalPlanner.getRoute()
Returns the route.
|
| Modifier and Type | Method and Description |
|---|---|
Route |
OTSNetwork.getRoute(GTUType gtuType,
String routeId)
Return the route with the given id in the network for the given GTUType, or null if it the route with the id does not
exist.
|
Route |
Network.getRoute(GTUType gtuType,
String routeId)
Return the route with the given id in the network for the given GTUType, or null if it the route with the id does not
exist.
|
Route |
OTSNetwork.getRoute(String routeId)
Returns the route with given id or
null if no such route is available. |
| Modifier and Type | Method and Description |
|---|---|
ImmutableMap<String,Route> |
OTSNetwork.getDefinedRouteMap(GTUType gtuType)
Return an immutable map of routes that exist in the network for the GTUType.
|
ImmutableMap<String,Route> |
Network.getDefinedRouteMap(GTUType gtuType)
Return an immutable map of routes that exist in the network for the GTUType.
|
ImmutableMap<GTUType,Map<String,Route>> |
OTSNetwork.getRouteMap() |
Set<Route> |
OTSNetwork.getRoutesBetween(GTUType gtuType,
Node nodeFrom,
Node nodeTo)
Return the the shortest route between two nodes in the network, via a list of intermediate nodes.
|
Set<Route> |
Network.getRoutesBetween(GTUType gtuType,
Node nodeFrom,
Node nodeTo)
Return the the shortest route between two nodes in the network, via a list of intermediate nodes.
|
| Modifier and Type | Method and Description |
|---|---|
void |
OTSNetwork.addRoute(GTUType gtuType,
Route route)
Add a route to the network.
|
void |
Network.addRoute(GTUType gtuType,
Route route)
Add a route to the network.
|
boolean |
OTSNetwork.containsRoute(GTUType gtuType,
Route route)
Determine whether the provided route exists in the network for the given GTUType.
|
boolean |
Network.containsRoute(GTUType gtuType,
Route route)
Determine whether the provided route exists in the network for the given GTUType.
|
void |
OTSNetwork.removeRoute(GTUType gtuType,
Route route)
Remove the route from the network, e.g.
|
void |
Network.removeRoute(GTUType gtuType,
Route route)
Remove the route from the network, e.g.
|
| Modifier and Type | Class and Description |
|---|---|
class |
CompleteRoute
A CompleteRoute is a Route with directly connected Nodes.
|
| Modifier and Type | Method and Description |
|---|---|
Route |
Route.addNode(Node node)
Add a node to the end of the node list.
|
Route |
Route.clone(Network newNetwork,
SimulatorInterface.TimeDoubleUnit newSimulator)
Clone the Route.
|
Route |
RouteGenerator.draw()
Return the (next) Route.
|
Route |
ProbabilisticRouteGenerator.draw()
Return the (next) Route.
|
| Constructor and Description |
|---|
FixedRouteGenerator(Route route)
Construct a new FixedRouteGenerator.
|
| Constructor and Description |
|---|
ProbabilisticRouteGenerator(List<Distribution.FrequencyAndObject<Route>> generators,
StreamInterface stream)
Create a new Probabilistic Route Generator.
|
Copyright © 2014–2019 Delft University of Technology. All rights reserved.