Turns binary functions over item (value) references into functions over maps of items. More...
#include <Accumulator.h>
Public Member Functions | |
| ReduceMapWrap (const BinFunc &f=BinFunc()) | |
| template<typename T > | |
| void | operator() (T &lhs, const T &rhs) const |
Public Attributes | |
| BinFunc | fn |
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)
| Galois::ReduceMapWrap< BinFunc >::ReduceMapWrap | ( | const BinFunc & | f = BinFunc() |
) | [inline] |
| void Galois::ReduceMapWrap< BinFunc >::operator() | ( | T & | lhs, | |
| const T & | rhs | |||
| ) | const [inline] |
| BinFunc Galois::ReduceMapWrap< BinFunc >::fn |
1.6.1