Class ODApplier.GeneratorObjects
- java.lang.Object
-
- org.opentrafficsim.road.gtu.generator.od.ODApplier.GeneratorObjects
-
- Enclosing class:
- ODApplier
public static class ODApplier.GeneratorObjects extends Object
Class to contain created generator objects.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 12 dec. 2017
- Author:
- Alexander Verbraeck, Peter Knoppers, Wouter Schakel
-
-
Constructor Summary
Constructors Constructor Description GeneratorObjects(LaneBasedGTUGenerator generator, Generator<Duration> headwayGenerator, LaneBasedGTUCharacteristicsGenerator characteristicsGenerator)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description LaneBasedGTUCharacteristicsGenerator
getCharachteristicsGenerator()
Returns the generator of GTU characteristics.LaneBasedGTUGenerator
getGenerator()
Returns the main generator for GTU's.Generator<Duration>
getHeadwayGenerator()
Returns the generator of headways.
-
-
-
Constructor Detail
-
GeneratorObjects
public GeneratorObjects(LaneBasedGTUGenerator generator, Generator<Duration> headwayGenerator, LaneBasedGTUCharacteristicsGenerator characteristicsGenerator)
- Parameters:
generator
- LaneBasedGTUGenerator; main generator for GTU'sheadwayGenerator
- Generator<Duration>; generator of headwayscharacteristicsGenerator
- LaneBasedGTUCharacteristicsGenerator; generator of GTU characteristics
-
-
Method Detail
-
getGenerator
public LaneBasedGTUGenerator getGenerator()
Returns the main generator for GTU's.- Returns:
- LaneBasedGTUGenerator; main generator for GTU's
-
getHeadwayGenerator
public Generator<Duration> getHeadwayGenerator()
Returns the generator of headways.- Returns:
- Generator<Duration> generator of headways
-
getCharachteristicsGenerator
public LaneBasedGTUCharacteristicsGenerator getCharachteristicsGenerator()
Returns the generator of GTU characteristics.- Returns:
- LaneBasedGTUCharacteristicsGenerator; generator of GTU characteristics
-
-