Class DefaultRandomStreamAction
- java.lang.Object
-
- repast.simphony.engine.environment.DefaultControllerAction
-
- repast.simphony.engine.controller.DefaultRandomStreamAction
-
- All Implemented Interfaces:
ControllerAction
public class DefaultRandomStreamAction extends DefaultControllerAction
This action grabs from the current parameters the value ofParameterConstants.DEFAULT_RANDOM_SEED_USAGE_NAME
and if that is not null it uses its int value to set the default seed through theRandomHelper.setSeed(int)
method.- Author:
- Jerry Vos
-
-
Constructor Summary
Constructors Constructor Description DefaultRandomStreamAction()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
runInitialize(RunState runState, Object contextId, Parameters params)
Does nothing.-
Methods inherited from class repast.simphony.engine.environment.DefaultControllerAction
batchCleanup, batchInitialize, runCleanup
-
-
-
-
Method Detail
-
runInitialize
public void runInitialize(RunState runState, Object contextId, Parameters params)
Description copied from class:DefaultControllerAction
Does nothing.- Specified by:
runInitialize
in interfaceControllerAction
- Overrides:
runInitialize
in classDefaultControllerAction
- Parameters:
runState
- ignoredcontextId
- ignoredparams
- ignored
-
-