Class SimulationSetImpl
-
- All Implemented Interfaces:
-
it.unibo.alchemist.boundary.grid.simulation.SimulationSet
public final class SimulationSetImpl implements SimulationSet
SimulationSet implementation.
-
-
Field Summary
Fields Modifier and Type Field Description public final ImmutableList<SimulationConfig>
simulationConfigs
-
Constructor Summary
Constructors Constructor Description SimulationSetImpl(GeneralSimulationConfig genSimConfig, List<SimulationConfig> simulationConfigs)
-
Method Summary
Modifier and Type Method Description ImmutableList<SimulationConfig>
getSimulationConfigs()
Complexity
computeComplexity()
GeneralSimulationConfig
getGeneralSimulationConfig()
-
-
Constructor Detail
-
SimulationSetImpl
SimulationSetImpl(GeneralSimulationConfig genSimConfig, List<SimulationConfig> simulationConfigs)
- Parameters:
genSimConfig
- Config's shared by all simulations of setsimulationConfigs
- List of configs that differentiate set's simulations
-
-
Method Detail
-
getSimulationConfigs
ImmutableList<SimulationConfig> getSimulationConfigs()
- Returns:
List of configs that differentiate set's simulations
-
computeComplexity
Complexity computeComplexity()
- Returns:
complexity of one simulation
-
getGeneralSimulationConfig
GeneralSimulationConfig getGeneralSimulationConfig()
- Returns:
Config's shared by all simulations of set
-
-
-
-