Package repast.simphony.parameter.xml
Class OptimizedXMLSweeperProducer
java.lang.Object
repast.simphony.parameter.xml.AbstractXMLSweeperProducer
repast.simphony.parameter.xml.OptimizedXMLSweeperProducer
- All Implemented Interfaces:
SweeperProducer
A SweeperProducer that produces an optimizing sweeper based on an XML
parameter file and a RunResultProducer.
- Version:
- $Revision$ $Date$
- Author:
- Nick Collier
-
Field Summary
Fields inherited from class repast.simphony.parameter.xml.AbstractXMLSweeperProducer
params, parser, sweeper -
Constructor Summary
ConstructorsConstructorDescriptionOptimizedXMLSweeperProducer(RunResultProducer producer, URL paramsURL) Creates an OptimizedXMLSweeperProducer from the specified parameter file and RunResultProducer.OptimizedXMLSweeperProducer(RunResultProducer producer, AdvancementChooser chooser, URL paramsURL) Creates an OptimizedXMLSweeperProducer from the specified parameter file, RunResultProducer, and AdvancementChooser. -
Method Summary
Modifier and TypeMethodDescriptionvoidinit(ControllerRegistry registry, Object masterContextId) Initializes the producer with the controller registry and master context id.Methods inherited from class repast.simphony.parameter.xml.AbstractXMLSweeperProducer
getParameters, getParameterSweeper, parse
-
Constructor Details
-
OptimizedXMLSweeperProducer
Creates an OptimizedXMLSweeperProducer from the specified parameter file and RunResultProducer.- Parameters:
producer-paramsURL-
-
OptimizedXMLSweeperProducer
public OptimizedXMLSweeperProducer(RunResultProducer producer, AdvancementChooser chooser, URL paramsURL) Creates an OptimizedXMLSweeperProducer from the specified parameter file, RunResultProducer, and AdvancementChooser.- Parameters:
producer-chooser-paramsURL-
-
-
Method Details
-
init
Initializes the producer with the controller registry and master context id.- Specified by:
initin interfaceSweeperProducer- Overrides:
initin classAbstractXMLSweeperProducer- Parameters:
registry-masterContextId-
-