mixmod  3.2.0
Mixture models for clustering and classification
 All Classes Namespaces Files Functions Variables Enumerations Friends
ProbaDescription.h
1 /***************************************************************************
2  SRC/mixmod/Kernel/IO/ProbaDescription.h description
3  copyright : (C) MIXMOD Team - 2001-2016
4  email : contact@mixmod.org
5  ***************************************************************************/
6 
7 /***************************************************************************
8  This file is part of MIXMOD
9 
10  MIXMOD is free software: you can redistribute it and/or modify
11  it under the terms of the GNU General Public License as published by
12  the Free Software Foundation, either version 3 of the License, or
13  (at your option) any later version.
14 
15  MIXMOD is distributed in the hope that it will be useful,
16  but WITHOUT ANY WARRANTY; without even the implied warranty of
17  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
18  GNU General Public License for more details.
19 
20  You should have received a copy of the GNU General Public License
21  along with MIXMOD. If not, see <http://www.gnu.org/licenses/>.
22 
23  All informations available on : http://www.mixmod.org
24 ***************************************************************************/
25 
26 #ifndef XEMPROBADESCRIPTION_H
27 #define XEMPROBADESCRIPTION_H
28 
29 #include "mixmod/Kernel/IO/Description.h"
30 
31 namespace XEM {
32 
33 // pre-declaration
34 class Model;
35 class Proba;
36 
43 class ProbaDescription : public Description {
44 
45 public:
46 
49 
51  ProbaDescription(int64_t nbSample, int64_t nbCluster, FormatNumeric::FormatNumericFile format, std::string filename, std::string infoName = "");
52 
54  ProbaDescription(Model * model);
55 
56 
58  ProbaDescription(ProbaDescription & probaDescription);
59 
61  virtual ~ProbaDescription();
62 
63 
65  bool operator==(ProbaDescription & probaDescription) const;
66 
68  ProbaDescription & operator=(ProbaDescription & probaDescription);
69 
70  Proba * getProba();
71 
72  void saveNumericValues(std::string fileName = "");
73 
74  //void editProba(ostream & f) const;
75 
76 private:
77 
78  Proba * _proba;
79 };
80 
81 inline Proba * ProbaDescription::getProba() {
82  return _proba;
83 }
84 
85 }
86 
87 #endif // XEMPROBADESCRIPTION_H
Definition: ProbaDescription.h:43
virtual ~ProbaDescription()
Destructor.
Definition: ProbaDescription.cpp:143
Definition: Model.h:50
ProbaDescription()
Default constructor.
Definition: ProbaDescription.cpp:37
bool operator==(ProbaDescription &probaDescription) const
Comparison operator.
Definition: ProbaDescription.cpp:105
Definition: Description.h:42
Definition: Proba.h:41
ProbaDescription & operator=(ProbaDescription &probaDescription)
operator=
Definition: ProbaDescription.cpp:125