Abstract class for objects with penalty function for histogram fit. More...
Public Member Functions | |
virtual cxsc::real | operator() (const AdaptiveHistogram *const adh, int deltaLeaf) const =0 |
the penalty function. |
Abstract class for objects with penalty function for histogram fit.
The penalty function is used in a histogram fit scoring method such as COPERR or AIC.
virtual cxsc::real subpavings::PenObj::operator() | ( | const AdaptiveHistogram *const | adh, |
int | deltaLeaf | ||
) | const [pure virtual] |
the penalty function.
adh | is the histogram object to calculate the penalty on. |
deltaLeaf | change in number leaves to take into account. |
Implemented in subpavings::PenAIC5, subpavings::PenAIC4, subpavings::PenAIC3, subpavings::PenAIC2, subpavings::PenAIC1, and subpavings::PenLeaves.