public static class RouteSupplier.DefaultRouteSupplier extends Object implements RouteSupplier
RouteSupplier.DefaultRouteSupplier
DEFAULT_MAP, NULL
Constructor and Description |
---|
DefaultRouteSupplier(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 DefaultRouteSupplier(StreamInterface stream)
stream
- StreamInterface; stream of random numberspublic Route getRoute(Node origin, Node destination, GTUType gtuType)
RouteSupplier
getRoute
in interface RouteSupplier
origin
- Node; origindestination
- Node; destinationgtuType
- GTUType; gtu typeCopyright © 2014–2018 Delft University of Technology. All rights reserved.