STK++ 0.9.13
|
Interface base class for the selection model criterion. More...
#include <STK_PenCriterion.h>
Public Member Functions | |
virtual | ~ICriterion () |
Destructor. | |
Real const & | value () const |
void | setModel (IStatModelBase const *p_model) |
void | setModel (IStatModelBase const &model) |
![]() | |
String const & | error () const |
get the last error message. | |
virtual bool | run ()=0 |
run the computations. | |
Protected Member Functions | |
ICriterion () | |
Default Constructor. | |
ICriterion (IStatModelBase const *p_model) | |
Constructor. | |
ICriterion (IStatModelBase const &model) | |
Constructor. | |
ICriterion (ICriterion const &criterion) | |
copy Constructor. | |
![]() | |
IRunnerBase () | |
default constructor | |
IRunnerBase (IRunnerBase const &runner) | |
copy constructor | |
virtual | ~IRunnerBase () |
destructor | |
virtual void | update () |
update the runner. | |
Protected Attributes | |
IStatModelBase const * | p_model_ |
The current statistical model to use. | |
Real | value_ |
Computed value of the criterion. | |
![]() | |
String | msg_error_ |
String with the last error message. | |
bool | hasRun_ |
true if run has been used, false otherwise | |
Interface base class for the selection model criterion.
The pure virtual function run
will be implemented in derived class and compute the value_ member.
Definition at line 50 of file STK_PenCriterion.h.
|
inlineprotected |
Default Constructor.
Definition at line 54 of file STK_PenCriterion.h.
|
inlineprotected |
Constructor.
p_model | a pointer on the current model |
Definition at line 58 of file STK_PenCriterion.h.
|
inlineprotected |
|
inlineprotected |
copy Constructor.
criterion | the criterion to copy |
Definition at line 68 of file STK_PenCriterion.h.
|
inlinevirtual |
|
inline |
model | the current model to set |
Definition at line 79 of file STK_PenCriterion.h.
References p_model_.
|
inline |
p_model | a pointer on the current model to set |
Definition at line 77 of file STK_PenCriterion.h.
References p_model_.
Definition at line 75 of file STK_PenCriterion.h.
References value_.
|
protected |
The current statistical model to use.
Definition at line 83 of file STK_PenCriterion.h.
Referenced by STK::AICCriterion::run(), STK::BICCriterion::run(), setModel(), and setModel().
|
protected |
Computed value of the criterion.
Definition at line 85 of file STK_PenCriterion.h.
Referenced by STK::AICCriterion::run(), STK::BICCriterion::run(), and value().