public class TemporalConfiguration
extends java.lang.Object
Constructor and Description |
---|
TemporalConfiguration(double simulationLength,
TimeModel.TEMPORALMODE timeModel,
boolean synchronousity)
The TimeModel is configured by the length of the simulation,
its mode and whether agents act in synchrony or not.
|
Modifier and Type | Method and Description |
---|---|
double |
getSimulationLength() |
TimeModel.TEMPORALMODE |
getTimeModel() |
boolean |
isSynchronous() |
public TemporalConfiguration(double simulationLength, TimeModel.TEMPORALMODE timeModel, boolean synchronousity)
simulationLength
- The duration of the simulationtimeModel
- Which temporal model is applied (discrete or continuous)synchronousity
- Whether agents act in synchrony or notpublic double getSimulationLength()
public TimeModel.TEMPORALMODE getTimeModel()
public boolean isSynchronous()