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 Object implements LaneBasedGTUCharacteristicsGenerator
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 29 jan. 2017 
 - Author:
 - Alexander Verbraeck, Peter Knoppers, Wouter Schakel
 
 
- 
- 
Constructor Summary
Constructors Constructor Description CharacteristicsGenerator(DEVSSimulatorInterface.TimeDoubleUnit simulator, double[] probabilities, OTSRoadNetwork network) 
 - 
 
- 
- 
Constructor Detail
- 
CharacteristicsGenerator
public CharacteristicsGenerator(DEVSSimulatorInterface.TimeDoubleUnit simulator, double[] probabilities, OTSRoadNetwork network)
- Parameters:
 simulator- DEVSSimulatorInterface.TimeDoubleUnit; simulatorprobabilities- double[]; probabilitiesnetwork- OTSRoadNetwork; network
 
 - 
 
- 
Method Detail
- 
draw
public LaneBasedGTUCharacteristics draw() throws ProbabilityException, ParameterException, GTUException
- Specified by:
 drawin interfaceLaneBasedGTUCharacteristicsGenerator- Throws:
 ProbabilityExceptionParameterExceptionGTUException
 
 - 
 
 -