Interface GTUCharacteristicsGeneratorOD
- All Known Implementing Classes:
 DefaultGTUCharacteristicsGeneratorOD
public interface GTUCharacteristicsGeneratorOD
Interface for classes that generate GTU characteristics based on an OD. Contrary to lower-level vehicle generation, the OD
 can pre-determine some information, such as GTU type and route.
 
 Copyright (c) 2013-2020 Delft University of Technology, PO Box 5, 2600 AA, Delft, the Netherlands. All rights reserved. 
 BSD-style license. See OpenTrafficSim License.
 
- Version:
 - $Revision$, $LastChangedDate$, by $Author$, initial version 9 dec. 2017 
 - Author:
 - Alexander Verbraeck, Peter Knoppers, Wouter Schakel
 
- 
Method Summary
Modifier and Type Method Description LaneBasedGTUCharacteristicsdraw(Node origin, Node destination, Category category, StreamInterface randomStream)Generate newLaneBasedGTUCharacteristicsusing given input from OD. 
- 
Method Details
- 
draw
LaneBasedGTUCharacteristics draw(Node origin, Node destination, Category category, StreamInterface randomStream) throws GTUExceptionGenerate newLaneBasedGTUCharacteristicsusing given input from OD.- Parameters:
 origin- Node; origindestination- Node; destinationcategory- Category; category (GTU type, route, or more)randomStream- StreamInterface; stream for random numbers- Returns:
 - LaneBasedGTUCharacteristics
 - Throws:
 GTUException- if characteristics could not be generated for the GTUException
 
 -