Galois::GCollectionAccumulator< CollectionTy, AdaptorTy > Class Template Reference

General accumulator for collections following STL interface where accumulate means collection union. More...

#include <Accumulator.h>

Inheritance diagram for Galois::GCollectionAccumulator< CollectionTy, AdaptorTy >:
Galois::GReducible< CollectionTy, ReduceCollectionWrap< CollectionTy, AdaptorTy > >

List of all members.

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

Detailed Description

template<typename CollectionTy, template< class > class AdaptorTy>
class Galois::GCollectionAccumulator< CollectionTy, AdaptorTy >

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.


Member Typedef Documentation

template<typename CollectionTy, template< class > class AdaptorTy>
typedef GReducible<CollectionTy, Func> Galois::GCollectionAccumulator< CollectionTy, AdaptorTy >::base_type [private]
template<typename CollectionTy, template< class > class AdaptorTy>
typedef ReduceCollectionWrap<CollectionTy, AdaptorTy> Galois::GCollectionAccumulator< CollectionTy, AdaptorTy >::Func [private]
template<typename CollectionTy, template< class > class AdaptorTy>
typedef CollectionTy::value_type Galois::GCollectionAccumulator< CollectionTy, AdaptorTy >::value_type [private]

Member Function Documentation

template<typename CollectionTy, template< class > class AdaptorTy>
void Galois::GCollectionAccumulator< CollectionTy, AdaptorTy >::update ( const value_type rhs  )  [inline]

Member Data Documentation

template<typename CollectionTy, template< class > class AdaptorTy>
Func Galois::GCollectionAccumulator< CollectionTy, AdaptorTy >::func [private]

The documentation for this class was generated from the following file:

Generated on 2 Nov 2013 for Galois by  doxygen 1.6.1