MipBaselib::GaussianMixtureJointId Class Reference
[Probability Density Functions (PDF) and Hypotesis Densities (PHD)]

Provides a class to represent the generic 2D GaussianMixture pdf. More...

#include <GaussianMixture.h>

List of all members.

Public Member Functions

bool normalized ()
 Gets if the pdf is normalized.
void normalize ()
 Normalizes the pdf.
 GaussianMixtureJointId ()
 Default constructor.
 GaussianMixtureJointId (stringstream &ss)
 Stringstream constructor.
 GaussianMixtureJointId (string &s)
 String constructor.
DCol expectedValue ()
 Returns the expected value.
Decimal covariance (int row, int col)
 Returns the (row-th, col-th) element of the covariance matrix.
Decimal evaluate (DCol p)
 Returns the the value of the pdf in the given position.
string print ()
 Prints all interesting data on a string.
string exportAsString ()
 Produces a string formatted for communication or constructor.


Detailed Description

Provides a class to represent the generic 2D GaussianMixture pdf.

Provides a class to represent the generic 2D GaussianMixture pdf, each component associated to none, one or more ids.

Author:
Paolo Stegagno

Constructor & Destructor Documentation

MipBaselib::GaussianMixtureJointId::GaussianMixtureJointId (  ) 

Default constructor.

MipBaselib::GaussianMixtureJointId::GaussianMixtureJointId ( stringstream &  ss  ) 

Stringstream constructor.

Parameters:
[in] & this string contains all the information to build a GaussianMixtureJointId. It can be the output of the method exportAsString.

MipBaselib::GaussianMixtureJointId::GaussianMixtureJointId ( string &  s  ) 

String constructor.

Parameters:
[in] & this string contains all the information to build a GaussianMixtureJointId. It can be the output of the method exportAsString.


Member Function Documentation

bool MipBaselib::GaussianMixtureJointId::normalized (  ) 

Gets if the pdf is normalized.

void MipBaselib::GaussianMixtureJointId::normalize (  ) 

Normalizes the pdf.

For the sake of simplicity and to avoid useless computations, the normalization of the pdf is left to the user. Always normalize the pdf before retreiving data from this pdf.

DCol MipBaselib::GaussianMixtureJointId::expectedValue (  ) 

Returns the expected value.

Decimal MipBaselib::GaussianMixtureJointId::covariance ( int  row,
int  col 
)

Returns the (row-th, col-th) element of the covariance matrix.

Parameters:
[in] row Requested row.
[in] col Requested column.

Decimal MipBaselib::GaussianMixtureJointId::evaluate ( DCol  p  ) 

Returns the the value of the pdf in the given position.

Parameters:
[in] col Requested position.

string MipBaselib::GaussianMixtureJointId::print (  ) 

Prints all interesting data on a string.

Returns:
a printable string.

string MipBaselib::GaussianMixtureJointId::exportAsString (  ) 

Produces a string formatted for communication or constructor.

Returns:
a string.


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

Generated on Mon Feb 20 07:01:11 2017 for MIP by  doxygen 1.5.6