Package repast.simphony.parameter.groovy
Class GroovyRunner
java.lang.Object
repast.simphony.parameter.groovy.GroovyRunner
- All Implemented Interfaces:
SweeperProducer
Runs a groovy file to setup a parameter sweep.
- Author:
- Nick Collier
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGets the Parameters produced by this SweeperProducer.Gets the ParameterTreeSweeper produced by this SweeperProducer.void
init
(ControllerRegistry registry, Object masterContextId) Initializes the producer with the controller registry and master context id.
-
Constructor Details
-
GroovyRunner
-
-
Method Details
-
getParameterSweeper
Gets the ParameterTreeSweeper produced by this SweeperProducer.- Specified by:
getParameterSweeper
in interfaceSweeperProducer
- Returns:
- the ParameterTreeSweeper produced by this SweeperProducer.
- Throws:
IOException
-
getParameters
Gets the Parameters produced by this SweeperProducer.- Specified by:
getParameters
in interfaceSweeperProducer
- Returns:
- the ParameterTreeSweeper produced by this SweeperProducer.
- Throws:
IOException
-
init
Initializes the producer with the controller registry and master context id. An action will be added to the registry. This action sets the RunState on any CustomParameterSetters found in the sweeper.- Specified by:
init
in interfaceSweeperProducer
- Parameters:
registry
-masterContextId
-
-