public static class RouteGeneratorOD.DefaultRouteGenerator extends Object implements RouteGeneratorOD
RouteGeneratorOD.DefaultRouteGenerator
DEFAULT_MAP, NULL
Constructor and Description |
---|
DefaultRouteGenerator(StreamInterface stream)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
Route |
getRoute(Node origin,
Node destination,
GTUType gtuType)
Returns a route.
|
String |
toString() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getDefaultRouteSupplier
public DefaultRouteGenerator(StreamInterface stream)
stream
- StreamInterface; stream of random numberspublic Route getRoute(Node origin, Node destination, GTUType gtuType)
RouteGeneratorOD
getRoute
in interface RouteGeneratorOD
origin
- Node; origindestination
- Node; destinationgtuType
- GTUType; gtu typeCopyright © 2014–2019 Delft University of Technology. All rights reserved.