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 RouteStrategicalPlanner. 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 RouteNetwork. getRoute(GTUType gtuType, java.lang.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.RouteOTSNetwork. getRoute(java.lang.String routeId)Returns the route with given id ornullif no such route is available.RouteOTSNetwork. getRoute(GTUType gtuType, java.lang.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<java.lang.String,Route>Network. getDefinedRouteMap(GTUType gtuType)Return an immutable map of routes that exist in the network for the GTUType.ImmutableMap<java.lang.String,Route>OTSNetwork. getDefinedRouteMap(GTUType gtuType)Return an immutable map of routes that exist in the network for the GTUType.ImmutableMap<GTUType,java.util.Map<java.lang.String,Route>>OTSNetwork. getRouteMap()java.util.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.java.util.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 voidNetwork. addRoute(GTUType gtuType, Route route)Add a route to the network.voidOTSNetwork. addRoute(GTUType gtuType, Route route)Add a route to the network.booleanNetwork. containsRoute(GTUType gtuType, Route route)Determine whether the provided route exists in the network for the given GTUType.booleanOTSNetwork. containsRoute(GTUType gtuType, Route route)Determine whether the provided route exists in the network for the given GTUType.voidNetwork. removeRoute(GTUType gtuType, Route route)Remove the route from the network, e.g.voidOTSNetwork. 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 voidOTSNetwork. setRawRouteMap(java.util.Map<GTUType,java.util.Map<java.lang.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 classCompleteRouteA CompleteRoute is a Route with 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.RouteRoute. clone(Network newNetwork)Clone the 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(java.util.List<Distribution.FrequencyAndObject<Route>> generators, StreamInterface stream)Create a new Probabilistic Route Generator.
-