public interface RouteSupplier
 Copyright (c) 2013-2017 Delft University of Technology, PO Box 5, 2600 AA, Delft, the Netherlands. All rights reserved. 
 BSD-style license. See OpenTrafficSim License.
 
| Modifier and Type | Interface and Description | 
|---|---|
static class  | 
RouteSupplier.DefaultRouteSupplier
Shortest route route supplier. 
 | 
| Modifier and Type | Field and Description | 
|---|---|
static Map<nl.tudelft.simulation.jstats.streams.StreamInterface,RouteSupplier> | 
DEFAULT_MAP
Cache of default route suppliers per stream. 
 | 
static RouteSupplier | 
NULL
No route route supplier. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
static RouteSupplier | 
getDefaultRouteSupplier(nl.tudelft.simulation.jstats.streams.StreamInterface stream)
Returns a default route supplier for shortest routes based on the given stream. 
 | 
org.opentrafficsim.core.network.route.Route | 
getRoute(org.opentrafficsim.core.network.Node origin,
        org.opentrafficsim.core.network.Node destination,
        org.opentrafficsim.core.gtu.GTUType gtuType)
Returns a route. 
 | 
static final RouteSupplier NULL
static final Map<nl.tudelft.simulation.jstats.streams.StreamInterface,RouteSupplier> DEFAULT_MAP
static RouteSupplier getDefaultRouteSupplier(nl.tudelft.simulation.jstats.streams.StreamInterface stream)
stream - StreamInterface; random number streamorg.opentrafficsim.core.network.route.Route getRoute(org.opentrafficsim.core.network.Node origin,
                                                     org.opentrafficsim.core.network.Node destination,
                                                     org.opentrafficsim.core.gtu.GTUType gtuType)
origin - Node; origindestination - Node; destinationgtuType - GTUType; gtu typeCopyright © 2014–2018 Delft University of Technology. All rights reserved.