public interface RouteGeneratorOD
RouteGenerator
in that it has the origin,
destination and GTU type as input.
Copyright (c) 2013-2019 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 |
RouteGeneratorOD.DefaultRouteGenerator
Shortest route route generator.
|
Modifier and Type | Field and Description |
---|---|
static Map<StreamInterface,RouteGeneratorOD> |
DEFAULT_MAP
Cache of default route generators per stream.
|
static RouteGeneratorOD |
NULL
No route route generator.
|
Modifier and Type | Method and Description |
---|---|
static RouteGeneratorOD |
getDefaultRouteSupplier(StreamInterface stream)
Returns a default route generator for shortest routes based on the given stream.
|
Route |
getRoute(Node origin,
Node destination,
GTUType gtuType)
Returns a route.
|
static final RouteGeneratorOD NULL
static final Map<StreamInterface,RouteGeneratorOD> DEFAULT_MAP
static RouteGeneratorOD getDefaultRouteSupplier(StreamInterface stream)
stream
- StreamInterface; random number streamCopyright © 2014–2019 Delft University of Technology. All rights reserved.