public static class RouteSupplier.DefaultRouteSupplier extends Object implements RouteSupplier
RouteSupplier.DefaultRouteSupplier
DEFAULT_MAP, NULL
Constructor and Description |
---|
DefaultRouteSupplier(nl.tudelft.simulation.jstats.streams.StreamInterface stream)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
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.
|
String |
toString() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getDefaultRouteSupplier
public DefaultRouteSupplier(nl.tudelft.simulation.jstats.streams.StreamInterface stream)
stream
- StreamInterface; stream of random numberspublic 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)
RouteSupplier
getRoute
in interface RouteSupplier
origin
- Node; origindestination
- Node; destinationgtuType
- GTUType; gtu typeCopyright © 2014–2018 Delft University of Technology. All rights reserved.