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 and links.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 RouteStrategicalPlanner. getRoute()Retrieve the route. -
Uses of Route in org.opentrafficsim.core.network
Methods in org.opentrafficsim.core.network that return Route Modifier and Type Method Description RouteNetwork. getRoute(GtuType gtuType, String routeId)Return the route with a specific id for a specific GTUType, or null if no route with that id for that GTUType exists in this Network.RouteOTSNetwork. getRoute(String routeId)Retrieve the route with a specific id ornullif no such route is known in this OTSNetwork.RouteOTSNetwork. getRoute(GtuType gtuType, String routeId)Return the route with a specific id for a specific GTUType, or null if no route with that id for that GTUType exists in this Network.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 this Network for the GTUType.ImmutableMap<String,Route>OTSNetwork. getDefinedRouteMap(GtuType gtuType)Return an immutable map of routes that exist in this Network for the GTUType.ImmutableMap<GtuType,Map<String,Route>>OTSNetwork. getRouteMap()Get an immutable route map.Set<Route>Network. getRoutesBetween(GtuType gtuType, Node nodeFrom, Node nodeTo)Return the the shortest route for a specific GTUType between two nodes in this Network, via a list of intermediate nodes.Set<Route>OTSNetwork. getRoutesBetween(GtuType gtuType, Node nodeFrom, Node nodeTo)Return the the shortest route for a specific GTUType between two nodes in this Network, via a list of intermediate nodes.Methods in org.opentrafficsim.core.network with parameters of type Route Modifier and Type Method Description voidNetwork. addRoute(GtuType gtuType, Route route)Add a route to this Network.voidOTSNetwork. addRoute(GtuType gtuType, Route route)Add a route to this Network.booleanNetwork. containsRoute(GtuType gtuType, Route route)Determine whether the provided route exists in this Network for the given GTUType.booleanOTSNetwork. containsRoute(GtuType gtuType, Route route)Determine whether the provided route exists in this Network for the given GTUType.voidNetwork. removeRoute(GtuType gtuType, Route route)Remove the route from this Network, e.g.voidOTSNetwork. removeRoute(GtuType gtuType, Route route)Remove the route from this Network, e.g.Method parameters in org.opentrafficsim.core.network with type arguments of type Route Modifier and Type Method Description voidOTSNetwork. setRawRouteMap(Map<GtuType,Map<String,Route>> newRouteMap)Replace the internal Route Map. -
Uses of Route in org.opentrafficsim.core.network.route
Subclasses of Route in org.opentrafficsim.core.network.route Modifier and Type Class Description classCompleteRouteA CompleteRoute is a Route that consists of directly connected Nodes.Methods in org.opentrafficsim.core.network.route that return Route Modifier and Type Method Description RouteRoute. addNode(Node node)Add a node to the end of the node list of this Route.RouteRoute. clone(Network newNetwork)Clone this Route.RouteProbabilisticRouteGenerator. 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.
-