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