public static class BusStreetDemo.CharacteristicsGenerator extends 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.
Constructor and Description |
---|
CharacteristicsGenerator(DEVSSimulatorInterface.TimeDoubleUnit simulator,
double[] probabilities,
OTSNetwork network) |
public CharacteristicsGenerator(DEVSSimulatorInterface.TimeDoubleUnit simulator, double[] probabilities, OTSNetwork network)
simulator
- DEVSSimulatorInterface.TimeDoubleUnit; simulatorprobabilities
- double[]; probabilitiesnetwork
- OTSNetwork; networkpublic LaneBasedGTUCharacteristics draw() throws ProbabilityException, ParameterException, GTUException
draw
in interface LaneBasedGTUCharacteristicsGenerator
ProbabilityException
ParameterException
GTUException
Copyright © 2014–2019 Delft University of Technology. All rights reserved.