| Package | Description |
|---|---|
| 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 |
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.
|
| Modifier and Type | Method and Description |
|---|---|
Map<String,Route> |
OTSNetwork.getDefinedRouteMap(GTUType gtuType)
Return a defensive copy of the defined routes that exist in the network for the GTUType.
|
Map<String,Route> |
Network.getDefinedRouteMap(GTUType gtuType)
Return a defensive copy of the defined routes that exist in the network for the GTUType.
|
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 |
RouteGenerator.draw()
Return the (next) Route.
|
Route |
ProbabilisticRouteGenerator.draw()
Return the (next) Route.
|
Route |
FixedRouteGenerator.draw()
Return the (next) Route.
|
Route |
FixedRouteGenerator.getRoute() |
| 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–2016 Delft University of Technology. All rights reserved.