54 class CombineOp = plusEqOp<typename List::value_type>
66 const IndexType delta_;
93 const IndexType delta,
103 inline IndexType
delta()
const 109 inline const IndexType&
lowSum()
const 115 inline const IndexType&
highSum()
const 122 const IndexType& indexVal,
layerAndWeight max(const layerAndWeight &a, const layerAndWeight &b)
Combination-Reduction operation for a parallel run.
const IndexType & highSum() const
Return the sum of all added elements >= max.
BinSum(const IndexType min, const IndexType max, const IndexType delta)
Construct given min, max, delta.
void add(const IndexType &indexVal, const typename List::const_reference val, const CombineOp &cop=plusEqOp< typename List::value_type >())
layerAndWeight min(const layerAndWeight &a, const layerAndWeight &b)
A 1D vector of objects of type <T>, where the size of the vector is known and can be used for subscri...
const IndexType & lowSum() const
Return the sum of all added elements < min.
IndexType delta() const
Return the delta.
const T & const_reference
Type that can be used for storing into.
T value_type
Type of values the UList contains.