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

Class for testing change in COPERR or number leaves from splitting. More...

+ Inheritance diagram for subpavings::CritCOPERRChangeOrLeaves_GTE:
+ Collaboration diagram for subpavings::CritCOPERRChangeOrLeaves_GTE:

List of all members.

Public Member Functions

 CritCOPERRChangeOrLeaves_GTE (const PenObj &p, size_t tl, double ts)
bool operator() (const AdaptiveHistogram *const adh) const

Detailed Description

Class for testing change in COPERR or number leaves from splitting.


Member Function Documentation

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

True if the change in COPERR score from splitting best node to split >= testScore OR if number of leaves is >= testLeaves.

Implements subpavings::HistEvalObj.

  {
    CritLeaves_GTE critLeaves(testLeaves);
    CritCOPERRChange_GTE critScore(pen, testScore);

    return (critLeaves(adh) || critScore(adh));
  }

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