STK++ 0.9.13
STK_IMixtureCriterion.h
Go to the documentation of this file.
1/*--------------------------------------------------------------------*/
2/* Copyright (C) 2004-2016 Serge Iovleff, Université Lille 1, Inria
3
4 This program is free software; you can redistribute it and/or modify
5 it under the terms of the GNU Lesser General Public License as
6 published by the Free Software Foundation; either version 2 of the
7 License, or (at your option) any later version.
8
9 This program is distributed in the hope that it will be useful,
10 but WITHOUT ANY WARRANTY; without even the implied warranty of
11 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12 GNU Lesser General Public License for more details.
13
14 You should have received a copy of the GNU Lesser General Public
15 License along with this program; if not, write to the
16 Free Software Foundation, Inc.,
17 59 Temple Place,
18 Suite 330,
19 Boston, MA 02111-1307
20 USA
21
22 Contact : S..._Dot_I..._At_stkpp_Dot_org (see copyright for ...)
23*/
24
25/*
26 * Project: stkpp::Model
27 * created on: 22 juil. 2011
28 * Purpose: define the Interface base class IMixtureCriterion.
29 * Author: iovleff, S..._Dot_I..._At_stkpp_Dot_org (see copyright for ...)
30 *
31 **/
32
38#ifndef STK_IMIXTURECRITERION_H
39#define STK_IMIXTURECRITERION_H
40
41#include <Sdk.h>
42#include "../STK_IMixtureStatModel.h"
43
44namespace STK
45{
46
53{
54 protected:
60 inline IMixtureCriterion( IMixtureStatModel const* p_composer)
61 : p_composer_(p_composer), value_(Arithmetic<Real>::NA()){}
68 public:
70 inline virtual ~IMixtureCriterion() {}
72 inline Real const& value() const { return value_;}
74 inline void setModel( IMixtureStatModel const* p_composer)
75 { p_composer_ = p_composer;}
76
77 protected:
82};
83
84
85} // namespace STK
86
87#endif
This file include all the other header files of the project Sdk.
Interface base class for the selection model criterion.
void setModel(IMixtureStatModel const *p_composer)
Real value_
Computed value of the criterion.
IMixtureCriterion()
Default Constructor.
Real const & value() const
IMixtureCriterion(IMixtureCriterion const &criterion)
copy Constructor.
IMixtureCriterion(IMixtureStatModel const *p_composer)
Constructor.
virtual ~IMixtureCriterion()
Destructor.
IMixtureStatModel const * p_composer_
The current statistical model to use.
Interface base class for Mixture (composed) model.
Abstract base class for all classes having a.
Definition STK_IRunner.h:65
The MultidimRegression class allows to regress a multidimensional output variable among a multivariat...
double Real
STK fundamental type of Real values.
The namespace STK is the main domain space of the Statistical ToolKit project.
Arithmetic properties of STK fundamental types.