simulationReducer
fun simulationReducer(state: Simulation<Any, Nothing>?, action: Any): Simulation<Any, Nothing>?(source)
Reducer for the it.unibo.alchemist.core.Simulation.
Return
the new it.unibo.alchemist.core.Simulation.
Parameters
state
the current it.unibo.alchemist.core.Simulation.
action
the requested action.