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

Class for testing the count of the node with the largest count or the maximum number of leaves in histogram's subpaving. More...

+ Inheritance diagram for subpavings::CritLargestVol_LTE_CritLeaves_GTE:
+ Collaboration diagram for subpavings::CritLargestVol_LTE_CritLeaves_GTE:

List of all members.

Public Member Functions

 CritLargestVol_LTE_CritLeaves_GTE (double vol, size_t tLeaves)
bool operator() (const AdaptiveHistogram *const adh) const

Detailed Description

Class for testing the count of the node with the largest count or the maximum number of leaves in histogram's subpaving.


Member Function Documentation

bool subpavings::CritLargestVol_LTE_CritLeaves_GTE::operator() ( const AdaptiveHistogram *const  adh) const [virtual]

True if the largest leaf volume is <= testVol OR if the number of leaves is >= testLeaves.

Implements subpavings::HistEvalObj.

  {
    return 
    ((((adh->getSubPaving())->getLargestLeafVol()) <= testVol)
    ||
    (adh->getRootLeaves() >= testLeaves));
  }

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