Turns binary functions over item references into functions over vectors of items. More...
#include <Accumulator.h>
Public Member Functions | |
ReduceVectorWrap (const BinFunc &f=BinFunc()) | |
template<typename T > | |
void | operator() (T &lhs, const T &rhs) const |
Public Attributes | |
BinFunc | fn |
Turns binary functions over item references into functions over vectors of items.
void operator()(T& a, const T& b) => void operator()(std::vector<T>& a, const std::vector<T>& b)
Galois::ReduceVectorWrap< BinFunc >::ReduceVectorWrap | ( | const BinFunc & | f = BinFunc() |
) | [inline] |
void Galois::ReduceVectorWrap< BinFunc >::operator() | ( | T & | lhs, | |
const T & | rhs | |||
) | const [inline] |
BinFunc Galois::ReduceVectorWrap< BinFunc >::fn |