MRS  1.0
A C++ Class Library for Statistical Set Processing
subpavings::NodeCompObj Class Reference

A Virtual class providing a way to compare spsnodes. More...

+ Inheritance diagram for subpavings::NodeCompObj:

List of all members.

Public Member Functions

virtual bool operator() (const SPSnode *const lhs, const SPSnode *const rhs) const =0

Detailed Description

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.


Member Function Documentation

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.


The documentation for this class was generated from the following file:
 All Classes Namespaces Functions Variables Typedefs Enumerations Friends