Class for testing the number of bins of a histogram. More...
Public Member Functions | |
CritLeaves_LTE (size_t t) | |
bool | operator() (const AdaptiveHistogram *const adh) const |
Class for testing the number of bins of a histogram.
bool subpavings::CritLeaves_LTE::operator() | ( | const AdaptiveHistogram *const | adh | ) | const [virtual] |
True if the number of leaves is <= test.
Implements subpavings::HistEvalObj.
{
return (adh->getRootLeaves() <= test);
}