1 #ifndef MMSD_GaussianModel_H
2 #define MMSD_GaussianModel_H
34 int mGaussianLawMaximumIterationsNumber;
62 inline static SP::MMSD_GaussianModel
New() {
63 return New(FLURY_GAUTSCHI_LAW,6);
67 inline static SP::MMSD_GaussianModel
New(
const tFlag& gaussianLaw,
const int& nIterations) {
71 p->setGaussianLawMaximumIterationsNumber(nIterations);
72 p->setGaussianLaw(gaussianLaw);
92 mGaussianLawMaximumIterationsNumber=n;
97 return mGaussianLawMaximumIterationsNumber;
void setGaussianLawMaximumIterationsNumber(const int &n)
set the maximum iterations number
Definition: MMSD_GaussianModel.h:91
static SP::MMSD_FluryGautschiGaussianLaw New()
create an instance of gaussian law
Definition: MMSD_FluryGautschiGaussianLaw.h:57
int getGaussianLaw() const
get the method
Definition: MMSD_GaussianModel.h:86
static const tFlag STIEFEL_LAW
Definition: MMSD_GaussianModel.h:29
static const tFlag FLURY_GAUTSCHI_LAW
Definition: MMSD_GaussianModel.h:28
MMSD_GaussianModel(void)
create an object
Definition: MMSD_GaussianModel.cpp:6
virtual SP::MMSD_Cluster NewClusterInstance() const
create a cluster instance
Definition: MMSD_GaussianModel.h:113
static SP::MMSD_GaussianModel New(const tFlag &gaussianLaw, const int &nIterations)
create a Gaussian Model with a gaussian law see MMSD_GaussianModel::FLURY_GAUTSCHI_LAW or MMSD_Gaussi...
Definition: MMSD_GaussianModel.h:67
virtual SP::MMSD_Law NewLawInstance() const
create a law instance
Definition: MMSD_GaussianModel.h:105
static SP::MMSD_GaussianCluster New()
create a new instance of cluster
Definition: MMSD_GaussianCluster.h:65
virtual ~MMSD_GaussianModel(void)
destroy an object.
Definition: MMSD_GaussianModel.cpp:13
This class describes a Gaussain Model inherits from MMSD_Model.
Definition: MMSD_GaussianModel.h:23
static SP::MMSD_StiefelGaussianLaw New()
create an instance of Stiefel Gaussian law
Definition: MMSD_StiefelGaussianLaw.h:57
DEFINE_SPTR(MMSD_GaussianModel)
This class is a general MMSD Model.
Definition: MMSD_Model.h:41
double getMinEigenValue() const
get min eigen value for eigen value decomposition of property covariance matrix law ...
Definition: MMSD_Model.h:193
void setGaussianLaw(const tFlag &f)
set the method
Definition: MMSD_GaussianModel.h:81
int getGaussianLawMaximumIterationsNumber() const
get the number of iterations done
Definition: MMSD_GaussianModel.h:96
static SP::MMSD_GaussianModel New()
create a Gaussian Model
Definition: MMSD_GaussianModel.h:62
class Free introduced for deleting a smart pointer
Definition: CORE_Object.h:106
#define tFlag
Definition: types.h:14