Package org.opentrafficsim.demo.conflict
Class BusStreetDemo.CharacteristicsGenerator
java.lang.Object
org.opentrafficsim.demo.conflict.BusStreetDemo.CharacteristicsGenerator
- All Implemented Interfaces:
 LaneBasedGTUCharacteristicsGenerator
- Enclosing class:
 - BusStreetDemo
 
public static class BusStreetDemo.CharacteristicsGenerator extends java.lang.Object implements LaneBasedGTUCharacteristicsGenerator
 Copyright (c) 2013-2019 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 29 jan. 2017 
 - Author:
 - Alexander Verbraeck, Peter Knoppers, Wouter Schakel
 
- 
Constructor Summary
Constructors Constructor Description CharacteristicsGenerator(DEVSSimulatorInterface.TimeDoubleUnit simulator, double[] probabilities, OTSRoadNetwork network) - 
Method Summary
Modifier and Type Method Description LaneBasedGTUCharacteristicsdraw() 
- 
Constructor Details
- 
CharacteristicsGenerator
public CharacteristicsGenerator(DEVSSimulatorInterface.TimeDoubleUnit simulator, double[] probabilities, OTSRoadNetwork network)- Parameters:
 simulator- DEVSSimulatorInterface.TimeDoubleUnit; simulatorprobabilities- double[]; probabilitiesnetwork- OTSRoadNetwork; network
 
 - 
 - 
Method Details
- 
draw
public LaneBasedGTUCharacteristics draw() throws ProbabilityException, ParameterException, GTUException- Specified by:
 drawin interfaceLaneBasedGTUCharacteristicsGenerator- Throws:
 ProbabilityExceptionParameterExceptionGTUException
 
 -