A Virtual class providing a way to compare spsnodes. More...
Public Member Functions | |
virtual bool | operator() (const SPSnode *const lhs, const SPSnode *const rhs) const =0 |
A Virtual class providing a way to compare spsnodes.
These classes create an ordering with the 'largest' at the right, or 'end'. This suits the implementation of priority queues for the HistogramWrapper, which takes nodes from the end of a multiset.
virtual bool subpavings::NodeCompObj::operator() | ( | const SPSnode *const | lhs, |
const SPSnode *const | rhs | ||
) | const [pure virtual] |
return true if lhs is 'smaller' (lower in priority) than rhs.
Implemented in subpavings::CompVolMassMinusAdj, and subpavings::CompVolMassMinus.