createSpatialModel
public static SpatialModel createSpatialModel(SpatialConfiguration spatialConfiguration,
SimulationContainer simulationContainer)
throws java.lang.IllegalArgumentException,
java.lang.ClassCastException
Method to instantiate the spatial model given in the spatialConfiguration,
respective to the parameters given in the parameter map.
The parameter map must at least contain the metric characteristic of the spatial model.
- Parameters:
spatialConfiguration
- The configuration the spatial model is based on
simulationContainer
- The container the simulation is to run in
- Returns:
- The SpatialModel within the simulationContainer the spatialConfiguration paramterized
- Throws:
java.lang.IllegalArgumentException
- Will be throw when a relevant parameter missed from the parameter map
java.lang.ClassCastException
- Will be thrown when a parameter can't be casted to the right type