RepastHPC
2.3.1
|
Source of data and a reduction operation. More...
#include <ReducibleDataSource.h>
Public Member Functions | |
ReducibleDataSource (std::string name, TDataSource< T > *dataSource, Op op) | |
virtual void | record () |
virtual void | write (Variable *var) |
virtual SVDataSource::DataType | type () const |
Public Member Functions inherited from repast::SVDataSource | |
SVDataSource (const std::string &name) | |
const std::string | name () const |
Protected Attributes | |
Op | _op |
std::vector< T > | data |
TDataSource< T > * | _dataSource |
int | rank |
Protected Attributes inherited from repast::SVDataSource | |
std::string | _name |
Additional Inherited Members | |
Public Types inherited from repast::SVDataSource | |
enum | DataType { INT, DOUBLE } |
Source of data and a reduction operation.
Used internally by a SVDataSet to store the data sources. their associated ops etc.