LTI-Lib latest version v1.9 - last update 10 Apr 2010

lti::hiddenMarkovModel::singleDensity Class Reference

This class represents a single multivariate (ie multidimensional ) score density function within a state of a hidden markov model. More...

#include <ltiHiddenMarkovModel.h>

Inheritance diagram for lti::hiddenMarkovModel::singleDensity:
Inheritance graph
[legend]
Collaboration diagram for lti::hiddenMarkovModel::singleDensity:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 singleDensity ()
 singleDensity (const singleDensity &other)
virtual ~singleDensity ()
singleDensitycopy (const singleDensity &other)
singleDensityoperator= (const singleDensity &other)
const char * getTypeName () const
virtual bool write (ioHandler &handler, const bool complete=true) const
virtual bool read (ioHandler &handler, const bool complete=true)

Public Attributes

double weightScore
dvector mean
dvector scalingFactor

Detailed Description

This class represents a single multivariate (ie multidimensional ) score density function within a state of a hidden markov model.

The dimensions of the density function are assumed to be independent of each other.


Constructor & Destructor Documentation

lti::hiddenMarkovModel::singleDensity::singleDensity (  ) 

default constructor

lti::hiddenMarkovModel::singleDensity::singleDensity ( const singleDensity other  ) 

copy constructor

Parameters:
other the object to be copied
virtual lti::hiddenMarkovModel::singleDensity::~singleDensity (  )  [virtual]

destructor


Member Function Documentation

singleDensity& lti::hiddenMarkovModel::singleDensity::copy ( const singleDensity other  ) 

copy data of "other" singleDensity.

Please note that the status string will _NOT_ be copied!

Reimplemented from lti::ioObject.

const char* lti::hiddenMarkovModel::singleDensity::getTypeName (  )  const [virtual]

returns name of this type

Reimplemented from lti::ioObject.

singleDensity& lti::hiddenMarkovModel::singleDensity::operator= ( const singleDensity other  ) 

assigment operator (alias for copy(other)).

Parameters:
other the singleDensity to be copied
Returns:
a reference to the actual ioObject

Reimplemented from lti::ioObject.

virtual bool lti::hiddenMarkovModel::singleDensity::read ( ioHandler handler,
const bool  complete = true 
) [virtual]

read the parameters from the given ioHandler

Parameters:
handler the ioHandler to be used
complete if true (the default) the enclosing begin/end will be also written, otherwise only the data block will be written.
Returns:
true if write was successful

Reimplemented from lti::ioObject.

virtual bool lti::hiddenMarkovModel::singleDensity::write ( ioHandler handler,
const bool  complete = true 
) const [virtual]

write the parameters in the given ioHandler

Parameters:
handler the ioHandler to be used
complete if true (the default) the enclosing begin/end will be also written, otherwise only the data block will be written.
Returns:
true if write was successful

Reimplemented from lti::ioObject.


Member Data Documentation

The mean vector.

In other words the center of this density function.

Scaling factor vector.

The scaling factor is a generic term for the spread of a density function. For example in gaussian functions it is known as the standard deviation.

The densities weight expressed as score.

The weight score is -ln(w), where w would be the corresponding probability associated with this single density.

The weights are required in mixture densities, which consist of several single densities, to rate the contribution of each single density. The sum over all weights w in a mixture density must be one.


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

Generated on Sat Apr 10 15:28:24 2010 for LTI-Lib by Doxygen 1.6.1