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
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGets the Parameters produced by this SweeperProducer.Gets the ParameterTreeSweeper produced by this SweeperProducer.voidinit(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:
getParameterSweeperin interfaceSweeperProducer- Returns:
- the ParameterTreeSweeper produced by this SweeperProducer.
- Throws:
IOException
-
getParameters
Gets the Parameters produced by this SweeperProducer.- Specified by:
getParametersin 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:
initin interfaceSweeperProducer- Parameters:
registry-masterContextId-
-