General accumulator for collections following STL interface where accumulate means collection union. More...
#include <Accumulator.h>
Public Member Functions | |
void | update (const value_type &rhs) |
Private Types | |
typedef ReduceCollectionWrap < CollectionTy, AdaptorTy > | Func |
typedef GReducible < CollectionTy, Func > | base_type |
typedef CollectionTy::value_type | value_type |
Private Attributes | |
Func | func |
General accumulator for collections following STL interface where accumulate means collection union.
Since union/append/push_back are not standard among collections, the AdaptorTy template parameter allows users to provide an iterator adaptor along the lines of std::inserter or std::back_inserter.
typedef GReducible<CollectionTy, Func> Galois::GCollectionAccumulator< CollectionTy, AdaptorTy >::base_type [private] |
typedef ReduceCollectionWrap<CollectionTy, AdaptorTy> Galois::GCollectionAccumulator< CollectionTy, AdaptorTy >::Func [private] |
typedef CollectionTy::value_type Galois::GCollectionAccumulator< CollectionTy, AdaptorTy >::value_type [private] |
void Galois::GCollectionAccumulator< CollectionTy, AdaptorTy >::update | ( | const value_type & | rhs | ) | [inline] |
Func Galois::GCollectionAccumulator< CollectionTy, AdaptorTy >::func [private] |