STK++
0.9.13
STK_IMixtureModelBase.cpp
Go to the documentation of this file.
1
/*--------------------------------------------------------------------*/
2
/* Copyright (C) 2004-2016 Serge Iovleff
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::Clustering
27
* created on: 16 oct. 2012
28
* Author: iovleff, S..._Dot_I..._At_stkpp_Dot_org (see copyright for ...)
29
* Originally created by Parmeet Bhatia <b..._DOT_p..._AT_gmail_Dot_com>
30
**/
31
36
#include <
Clustering/include/STK_IMixtureModelBase.h
>
37
38
namespace
STK
39
{
40
41
42
/* default constructor */
43
IMixtureModelBase::IMixtureModelBase
(
int
nbCluster)
44
: nbCluster_(nbCluster)
45
, nbSample_(0)
46
{}
47
/* copy constructor. If the pointer on the mixture parameters are not zero
48
* then they are cloned.
49
* @note if the model have not created the parameters, then the pointer are
50
* initialized to 0.
51
* @param model the model to clone
52
**/
53
IMixtureModelBase::IMixtureModelBase
(
IMixtureModelBase
const
&
model
)
54
: nbCluster_(
model
.nbCluster_)
55
, nbSample_(
model
.nbSample_)
56
{}
57
58
/* destructor */
59
IMixtureModelBase::~IMixtureModelBase
() {}
60
61
}
// namespace STK
62
STK_IMixtureModelBase.h
In this file we define the interface base class for mixture models.
STK::IMixtureModelBase
Base class for all Mixture model.
Definition
STK_IMixtureModelBase.h:59
STK::IMixtureModelBase::~IMixtureModelBase
~IMixtureModelBase()
destructor
Definition
STK_IMixtureModelBase.cpp:59
STK::IMixtureModelBase::IMixtureModelBase
IMixtureModelBase(int nbCluster)
default constructor
Definition
STK_IMixtureModelBase.cpp:43
STK::MultidimRegression
The MultidimRegression class allows to regress a multidimensional output variable among a multivariat...
Definition
STK_MultidimRegression.h:52
STK
The namespace STK is the main domain space of the Statistical ToolKit project.
projects
Clustering
src
STK_IMixtureModelBase.cpp
Generated on Sat Feb 15 2025 12:07:15 for STK++ by
1.9.8