public interface GTUCharacteristicsGeneratorOD
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 | Method and Description |
---|---|
LaneBasedGTUCharacteristics |
draw(Node origin,
Node destination,
Category category,
StreamInterface randomStream)
Generate new
LaneBasedGTUCharacteristics using given input from OD. |
LaneBasedGTUCharacteristics draw(Node origin, Node destination, Category category, StreamInterface randomStream) throws GTUException
LaneBasedGTUCharacteristics
using given input from OD.origin
- Node; origindestination
- Node; destinationcategory
- Category; category (GTU type, route, or more)randomStream
- StreamInterface; stream for random numbersGTUException
- if characteristics could not be generated for the GTUExceptionCopyright © 2014–2018 Delft University of Technology. All rights reserved.