Package repast.simphony.data2
Class AggregateDataSet
java.lang.Object
repast.simphony.data2.AbstractDataSet
repast.simphony.data2.AggregateDataSet
- All Implemented Interfaces:
DataSet
DataSet implementation that records data from aggregate DataSources.
- Author:
- Nick Collier
-
Field Summary
Fields inherited from class repast.simphony.data2.AbstractDataSet
id, sinks -
Constructor Summary
ConstructorsConstructorDescriptionAggregateDataSet(String id, Collection<AggregateDataSource> sources, Collection<? extends DataSink> sinks) Creates an AggregateDataSet with the specified sources and sinks. -
Method Summary
Modifier and TypeMethodDescriptionGets the type of object that this dataset will collect data from.voidrecord(Map<Class<?>, SizedIterable<?>> objMap) Records data from the specified ObjectListMap of objects.
-
Constructor Details
-
AggregateDataSet
public AggregateDataSet(String id, Collection<AggregateDataSource> sources, Collection<? extends DataSink> sinks) Creates an AggregateDataSet with the specified sources and sinks.- Parameters:
sources-sinks-
-
-
Method Details
-
getSourceIds
- Specified by:
getSourceIdsin classAbstractDataSet
-
getSourceTypes
Description copied from interface:DataSetGets the type of object that this dataset will collect data from.- Returns:
-
record
Description copied from interface:DataSetRecords data from the specified ObjectListMap of objects.- Parameters:
objMap- the objs to record the data from
-