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

Public Member Functions

 CompositeData (const CompositeData *)
 
 CompositeData (Data *, Data *)
 
virtual CompositeDataclone () const
 Selector. More...
 
virtual void input (std::ifstream &)
 Read data from data file Data file to read.
 
virtual void input (const DataDescription &)
 Read data from XEMDataDescription.
 
virtual void output (std::ostream &)
 Write data in output file Output file to write into.
 
virtual Sample ** cloneMatrix ()
 
 operator GaussianData * ()
 
 operator BinaryData * ()
 
virtual GaussianDatagetGaussianData ()
 
virtual BinaryDatagetBinaryData ()
 
virtual ~CompositeData ()
 
- 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.
 
void setWeightTotal (double weightTotal)
 Selector. More...
 
void setWeight (std::string weightFileName)
 setWeight
 
void setWeight (double *weight)
 setWeight
 
void setWeightDefault ()
 setWeightDefault
 
virtual bool verify () const
 
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
 

Constructor & Destructor Documentation

XEM::CompositeData::~CompositeData ( )
virtual

Virtual Destructor

Member Function Documentation

CompositeData * XEM::CompositeData::clone ( ) const
virtual

Selector.

Returns
A copy of data

Implements XEM::Data.

Here is the caller graph for this function:

virtual BinaryData* XEM::CompositeData::getBinaryData ( )
inlinevirtual

get Gaussian data

Reimplemented from XEM::Data.

Here is the caller graph for this function:

virtual GaussianData* XEM::CompositeData::getGaussianData ( )
inlinevirtual

get Gaussian data

Reimplemented from XEM::Data.

Here is the caller graph for this function:

XEM::CompositeData::operator BinaryData * ( )
inline

type-cast overloading to return CompositeData::_dataComponent[0]

XEM::CompositeData::operator GaussianData * ( )
inline

type-cast overloading to return CompositeData::_dataComponent[1]


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