Galois::ReduceMapWrap< BinFunc > Struct Template Reference

Turns binary functions over item (value) references into functions over maps of items. More...

#include <Accumulator.h>

List of all members.

Public Member Functions

 ReduceMapWrap (const BinFunc &f=BinFunc())
template<typename T >
void operator() (T &lhs, const T &rhs) const

Public Attributes

BinFunc fn

Detailed Description

template<typename BinFunc>
struct Galois::ReduceMapWrap< BinFunc >

Turns binary functions over item (value) references into functions over maps of items.

void operator()(V& a, const V& b) => void operator()(std::map<K,V>& a, const std::map<K,V>& b)


Constructor & Destructor Documentation

template<typename BinFunc>
Galois::ReduceMapWrap< BinFunc >::ReduceMapWrap ( const BinFunc &  f = BinFunc()  )  [inline]

Member Function Documentation

template<typename BinFunc>
template<typename T >
void Galois::ReduceMapWrap< BinFunc >::operator() ( T &  lhs,
const T &  rhs 
) const [inline]

Member Data Documentation

template<typename BinFunc>
BinFunc Galois::ReduceMapWrap< BinFunc >::fn

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

Generated on 2 Nov 2013 for Galois by  doxygen 1.6.1