public static class ODApplier.GeneratorObjects extends Object
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 |
---|
GeneratorObjects(LaneBasedGTUGenerator generator,
Generator<Duration> headwayGenerator,
LaneBasedGTUCharacteristicsGenerator charachteristicsGenerator) |
Modifier and Type | Method and 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.
|
public GeneratorObjects(LaneBasedGTUGenerator generator, Generator<Duration> headwayGenerator, LaneBasedGTUCharacteristicsGenerator charachteristicsGenerator)
generator
- LaneBasedGTUGenerator; main generator for GTU'sheadwayGenerator
- Generator<Duration>; generator of headwayscharachteristicsGenerator
- LaneBasedGTUCharacteristicsGenerator; generator of GTU characteristicspublic LaneBasedGTUGenerator getGenerator()
public Generator<Duration> getHeadwayGenerator()
public LaneBasedGTUCharacteristicsGenerator getCharachteristicsGenerator()
Copyright © 2014–2018 Delft University of Technology. All rights reserved.