Package repast.simphony.data2
Class BatchRunDataSetManager
java.lang.Object
repast.simphony.data2.AbstractDataSetManager
repast.simphony.data2.BatchRunDataSetManager
- All Implemented Interfaces:
- DataSetManager,- RunListener
DataSetManager for batch runs.DataSets will be opened on batch started and
 closed on batch ended.
- Author:
- Nick Collier
- 
Nested Class SummaryNested classes/interfaces inherited from class repast.simphony.data2.AbstractDataSetManagerAbstractDataSetManager.ObjList, AbstractDataSetManager.ScheduledDataSet
- 
Field SummaryFields inherited from class repast.simphony.data2.AbstractDataSetManagerbuilders, dataSets
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionvoidNotifies this DataSetManager that the set of batch runs has ended.voidNotifies this DataSetManager that the set of batch runs has started.booleanisBatch()Gets whether or not this is a batch run.voidNotifies this DataSetManager that an individual run has ended.voidrunStarted(RunState runState, Object contextId, Parameters parameters) Notifies this DataSetManager that an individual run has started.Methods inherited from class repast.simphony.data2.AbstractDataSetManageraddDataSet, addDataSetBuilder, clearDataSetBuilders, clearDataSets, flush, getBatchRunDataSource, getDataSetBuilder, getRandomSeedDataSource, getTickCountDataSource, paused, removeDataSetbuilder, restarted, started, stopped
- 
Constructor Details- 
BatchRunDataSetManagerpublic BatchRunDataSetManager()
 
- 
- 
Method Details- 
batchStartedpublic void batchStarted()Description copied from interface:DataSetManagerNotifies this DataSetManager that the set of batch runs has started.
- 
runStartedDescription copied from interface:DataSetManagerNotifies this DataSetManager that an individual run has started.- Specified by:
- runStartedin interface- DataSetManager
- Overrides:
- runStartedin class- AbstractDataSetManager
- Parameters:
- runState- the current RunState -- run number etc can be retrieved from that
- parameters- the current model parameters
 
- 
runEndedDescription copied from interface:DataSetManagerNotifies this DataSetManager that an individual run has ended.- Specified by:
- runEndedin interface- DataSetManager
- Overrides:
- runEndedin class- AbstractDataSetManager
- Parameters:
- runState- the RunState of the run that just ended.
 
- 
batchEndedpublic void batchEnded()Description copied from interface:DataSetManagerNotifies this DataSetManager that the set of batch runs has ended.
- 
isBatchpublic boolean isBatch()Description copied from interface:DataSetManagerGets whether or not this is a batch run.- Returns:
- true if this is batch run otherwise false.
 
 
-