public interface RouteSupplier
Copyright (c) 2013-2018 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<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(StreamInterface stream)
Returns a default route supplier for shortest routes based on the given stream.
|
Route |
getRoute(Node origin,
Node destination,
GTUType gtuType)
Returns a route.
|
static final RouteSupplier NULL
static final Map<StreamInterface,RouteSupplier> DEFAULT_MAP
static RouteSupplier getDefaultRouteSupplier(StreamInterface stream)
stream
- StreamInterface; random number streamCopyright © 2014–2018 Delft University of Technology. All rights reserved.