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

Abstract class for objects with penalty function for histogram fit. More...

+ Inheritance diagram for subpavings::PenObj:

List of all members.

Public Member Functions

virtual cxsc::real operator() (const AdaptiveHistogram *const adh, int deltaLeaf) const =0
 the penalty function.

Detailed Description

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.


Member Function Documentation

virtual cxsc::real subpavings::PenObj::operator() ( const AdaptiveHistogram *const  adh,
int  deltaLeaf 
) const [pure virtual]

the penalty function.

Parameters:
adhis the histogram object to calculate the penalty on.
deltaLeafchange in number leaves to take into account.
Returns:
the penalty as a cxsc::real.

Implemented in subpavings::PenAIC5, subpavings::PenAIC4, subpavings::PenAIC3, subpavings::PenAIC2, subpavings::PenAIC1, and subpavings::PenLeaves.


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