STK++ 0.9.13
|
Interface base class for the selection model criterion. More...
#include <STK_IMixtureCriterion.h>
Public Member Functions | |
virtual | ~IMixtureCriterion () |
Destructor. | |
Real const & | value () const |
void | setModel (IMixtureStatModel const *p_composer) |
![]() | |
String const & | error () const |
get the last error message. | |
virtual bool | run ()=0 |
run the computations. | |
Protected Member Functions | |
IMixtureCriterion () | |
Default Constructor. | |
IMixtureCriterion (IMixtureStatModel const *p_composer) | |
Constructor. | |
IMixtureCriterion (IMixtureCriterion const &criterion) | |
copy Constructor. | |
![]() | |
IRunnerBase () | |
default constructor | |
IRunnerBase (IRunnerBase const &runner) | |
copy constructor | |
virtual | ~IRunnerBase () |
destructor | |
virtual void | update () |
update the runner. | |
Protected Attributes | |
IMixtureStatModel const * | p_composer_ |
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 52 of file STK_IMixtureCriterion.h.
|
inlineprotected |
Default Constructor.
Definition at line 56 of file STK_IMixtureCriterion.h.
|
inlineprotected |
Constructor.
p_composer | a pointer on the current model |
Definition at line 60 of file STK_IMixtureCriterion.h.
|
inlineprotected |
copy Constructor.
criterion | the criterion to copy |
Definition at line 65 of file STK_IMixtureCriterion.h.
|
inlinevirtual |
|
inline |
p_composer | a pointer on the current model to set |
Definition at line 74 of file STK_IMixtureCriterion.h.
References p_composer_.
Definition at line 72 of file STK_IMixtureCriterion.h.
References value_.
|
protected |
The current statistical model to use.
Definition at line 79 of file STK_IMixtureCriterion.h.
Referenced by STK::AICMixtureCriterion::run(), STK::BICMixtureCriterion::run(), STK::ICLMixtureCriterion::run(), STK::MLMixtureCriterion::run(), and setModel().
|
protected |
Computed value of the criterion.
Definition at line 81 of file STK_IMixtureCriterion.h.
Referenced by STK::AICMixtureCriterion::run(), STK::BICMixtureCriterion::run(), STK::ICLMixtureCriterion::run(), STK::MLMixtureCriterion::run(), and value().