public class BusStreetDemo.CharacteristicsGenerator extends Object implements org.opentrafficsim.road.gtu.generator.characteristics.LaneBasedGTUCharacteristicsGenerator
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.
Constructor and Description |
---|
CharacteristicsGenerator(nl.tudelft.simulation.dsol.simulators.DEVSSimulatorInterface.TimeDoubleUnit simulator,
double[] probabilities,
org.opentrafficsim.core.network.OTSNetwork network) |
Modifier and Type | Method and Description |
---|---|
org.opentrafficsim.road.gtu.generator.characteristics.LaneBasedGTUCharacteristics |
draw() |
public CharacteristicsGenerator(nl.tudelft.simulation.dsol.simulators.DEVSSimulatorInterface.TimeDoubleUnit simulator, double[] probabilities, org.opentrafficsim.core.network.OTSNetwork network)
simulator
- simulatorprobabilities
- probabilitiesnetwork
- networkpublic org.opentrafficsim.road.gtu.generator.characteristics.LaneBasedGTUCharacteristics draw() throws org.opentrafficsim.core.distributions.ProbabilityException, org.opentrafficsim.base.parameters.ParameterException, org.opentrafficsim.core.gtu.GTUException
draw
in interface org.opentrafficsim.road.gtu.generator.characteristics.LaneBasedGTUCharacteristicsGenerator
org.opentrafficsim.core.distributions.ProbabilityException
org.opentrafficsim.base.parameters.ParameterException
org.opentrafficsim.core.gtu.GTUException
Copyright © 2014–2018 Delft University of Technology. All rights reserved.