Uses of Class
org.opentrafficsim.core.network.route.Route
-
Packages that use Route 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. -
-
Uses of Route in org.opentrafficsim.core.gtu.plan.strategical
Methods in org.opentrafficsim.core.gtu.plan.strategical that return Route Modifier and Type Method Description Route
StrategicalPlanner. getRoute()
Returns the route. -
Uses of Route in org.opentrafficsim.core.network
Methods in org.opentrafficsim.core.network that return Route Modifier and Type Method Description 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 ornull
if no such route is available.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.Methods in org.opentrafficsim.core.network that return types with arguments of type Route Modifier and Type Method Description ImmutableMap<String,Route>
Network. getDefinedRouteMap(GTUType gtuType)
Return an immutable map of routes that exist in the network for the GTUType.ImmutableMap<String,Route>
OTSNetwork. getDefinedRouteMap(GTUType gtuType)
Return an immutable map of routes that exist in the network for the GTUType.(package private) Map<GTUType,Map<String,Route>>
OTSNetwork. getRawRouteMap()
ImmutableMap<GTUType,Map<String,Route>>
OTSNetwork. getRouteMap()
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.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.Methods in org.opentrafficsim.core.network with parameters of type Route Modifier and Type Method Description void
Network. addRoute(GTUType gtuType, Route route)
Add a route to the network.void
OTSNetwork. addRoute(GTUType gtuType, Route route)
Add a route to the network.boolean
Network. containsRoute(GTUType gtuType, Route route)
Determine whether the provided route exists in the network for the given GTUType.boolean
OTSNetwork. containsRoute(GTUType gtuType, Route route)
Determine whether the provided route exists in the network for the given GTUType.void
Network. removeRoute(GTUType gtuType, Route route)
Remove the route from the network, e.g.void
OTSNetwork. removeRoute(GTUType gtuType, Route route)
Remove the route from the network, e.g.Method parameters in org.opentrafficsim.core.network with type arguments of type Route Modifier and Type Method Description void
OTSNetwork. setRawRouteMap(Map<GTUType,Map<String,Route>> newRouteMap)
-
Uses of Route in org.opentrafficsim.core.network.route
Subclasses of Route in org.opentrafficsim.core.network.route Modifier and Type Class Description class
CompleteRoute
A CompleteRoute is a Route with directly connected Nodes.Methods in org.opentrafficsim.core.network.route that return Route Modifier and Type Method Description Route
Route. addNode(Node node)
Add a node to the end of the node list.Route
Route. clone(Network newNetwork)
Clone the Route.Route
ProbabilisticRouteGenerator. draw()
Generate the next object.Constructors in org.opentrafficsim.core.network.route with parameters of type Route Constructor Description FixedRouteGenerator(Route route)
Construct a new FixedRouteGenerator.Constructor parameters in org.opentrafficsim.core.network.route with type arguments of type Route Constructor Description ProbabilisticRouteGenerator(List<Distribution.FrequencyAndObject<Route>> generators, StreamInterface stream)
Create a new Probabilistic Route Generator.
-