mixmod  3.2.0
Mixture models for clustering and classification
 All Classes Namespaces Files Functions Variables Enumerations Friends
XEM::GaussianData Class Reference

Base class for Gaussian Data. More...

#include <GaussianData.h>

Inheritance diagram for XEM::GaussianData:
Collaboration diagram for XEM::GaussianData:

Public Member Functions

 GaussianData ()
 Default constructor.
 
 GaussianData (const GaussianData &iData)
 Constructor.
 
 GaussianData (int64_t nbSample, int64_t pbDimension, const std::string &dataFileName)
 Constructor.
 
 GaussianData (int64_t nbSample, int64_t pbDimension)
 Constructor (without fill matrix)
 
 GaussianData (int64_t nbSample, int64_t pbDimension, double **matrix)
 Constructor (with matrix)
 
 GaussianData (int64_t nbSample, int64_t pbDimension, double weightTotal, Sample **&matrix, double *weight)
 Constructor.
 
 GaussianData (int64_t nbSample, int64_t pbDimension, Data *originalData, CVBlock &block)
 Constructor.
 
virtual ~GaussianData ()
 Destructor.
 
virtual Dataclone () const
 Selector. More...
 
virtual Sample ** cloneMatrix ()
 Copy. More...
 
virtual void input (std::ifstream &fi)
 Read data from gaussian data file Gaussian Data file to read.
 
virtual void input (const DataDescription &dataDescription)
 Read data from XEMDataDescription.
 
virtual void output (std::ostream &fo)
 Write gaussian data in output file Output file to write into.
 
virtual bool verify () const
 
double ** getYStore ()
 
double getInv2PiPow () const
 
double getHalfPbDimensionLog2Pi () const
 
double getPbDimensionLog2Pi () const
 
double * getTmpTabOfSizePbDimension () const
 
- Public Member Functions inherited from XEM::Data
 Data ()
 Default constructor.
 
 Data (const Data &iData)
 Constructor.
 
 Data (int64_t nbSample, int64_t pbDimension)
 Constructor.
 
 Data (int64_t nbSample, int64_t pbDimension, double weightTotal, double *weight)
 Constructor (for dataReduce)
 
virtual ~Data ()
 Desctructor.
 
virtual GaussianDatagetGaussianData ()
 
virtual BinaryDatagetBinaryData ()
 
void setWeightTotal (double weightTotal)
 Selector. More...
 
void setWeight (std::string weightFileName)
 setWeight
 
void setWeight (double *weight)
 setWeight
 
void setWeightDefault ()
 setWeightDefault
 
const std::string & getFileName () const
 
const Sample ** getData () const
 getMatrix
 
const SamplegetDataI (int64_t index) const
 getMatrix[i]
 
const double * getWeight () const
 getWeight
 
const double & getWeightI (int64_t index) const
 getWeight[i]
 
const std::string & getFileNameWeight () const
 get FilenameWeight
 
int64_t getPbDimension () const
 get dimension
 
int64_t getNbSample () const
 get Number of samples
 
bool hasDefaultWeight () const
 hasDefaultWeight
 

Detailed Description

Base class for Gaussian Data.

Author
F Langrognet

Member Function Documentation

Data * XEM::GaussianData::clone ( ) const
virtual

Selector.

Returns
A copy of data

Implements XEM::Data.

Here is the call graph for this function:

Here is the caller graph for this function:

Sample ** XEM::GaussianData::cloneMatrix ( )
virtual

Copy.

Returns
A copy data matrix

Implements XEM::Data.


The documentation for this class was generated from the following files: