Class for testing the change in AIC score from merging. More...
Public Member Functions | |
CritAICMergeChange_GTE (const PenObj &p, double t) | |
bool | operator() (const AdaptiveHistogram *const adh) const |
Class for testing the change in AIC score from merging.
True if the change in AIC score from merging best node to merge >= test.
bool subpavings::CritAICMergeChange_GTE::operator() | ( | const AdaptiveHistogram *const | adh | ) | const [virtual] |
True if the change in AIC score from merging best node to merge >= test.
Implements subpavings::HistEvalObj.
{ dotprecision best = adh->getSubPaving()->getBestMergeChangeEMPAIC(); real change = rnd(best) + pen(adh, -1) - pen(adh, 0); // merge = -1 leaf return (change >= test); }