public class LaneBasedTemplateGTUTypeDistribution extends Object implements LaneBasedGTUCharacteristicsGenerator, Serializable
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 |
|---|
LaneBasedTemplateGTUTypeDistribution(Distribution<LaneBasedTemplateGTUType> distributionOfLanebasedTemplateGTUType)
Construct a new LaneBasedTemplateGTUTypeDistribution.
|
| Modifier and Type | Method and Description |
|---|---|
LaneBasedGTUCharacteristics |
draw()
Generate a LaneBasedGTUCharacteristics object.
|
String |
toString() |
public LaneBasedTemplateGTUTypeDistribution(Distribution<LaneBasedTemplateGTUType> distributionOfLanebasedTemplateGTUType)
distributionOfLanebasedTemplateGTUType - the distribution of LaneBasedTemplateGTUTypespublic final LaneBasedGTUCharacteristics draw() throws ProbabilityException, ParameterException, GTUException
draw in interface LaneBasedGTUCharacteristicsGeneratorProbabilityException - when the generator is improperly configuredParameterException - in case of a parameter problem.GTUException - if strategical planner cannot be createdCopyright © 2014–2018 Delft University of Technology. All rights reserved.