Interface LaneBasedGtuCharacteristicsGenerator
- All Known Implementing Classes:
LaneBasedGtuTemplate
,LaneBasedGtuTemplateDistribution
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
Interface for objects that can generate a LaneBasedGtuCharacteristics object. This interface adds beyond
Generator<LaneBasedGtuCharacteristics>
that the underlying implementation can throw a GtuException
.
Copyright (c) 2013-2024 Delft University of Technology, PO Box 5, 2600 AA, Delft, the Netherlands. All rights reserved.
BSD-style license. See OpenTrafficSim License.
- Author:
- Alexander Verbraeck, Peter Knoppers
-
Method Summary
-
Method Details
-
draw
LaneBasedGtuCharacteristics draw() throws ProbabilityException, org.opentrafficsim.base.parameters.ParameterException, GtuExceptionGenerate aLaneBasedGtuCharacteristics
object.- Returns:
- LaneBasedGtuCharacteristics
- Throws:
ProbabilityException
- when the generator is improperly configuredorg.opentrafficsim.base.parameters.ParameterException
- in case of a parameter problem.GtuException
- if strategical planner cannot be created
-