$search

pbl Namespace Reference

Classes

class  Gaussian
 This class represents a multi-variate Gaussian (Normal) distribution. More...
class  Hybrid
class  Matrix3
class  Matrix4
class  Mixture
 This class represents the weighted sum of a finite set of probability density functions. More...
class  PDF
class  PMF
 This class represents a discrete probability distribution (or probability mass function). Currently, this PMF can only take strings as values. More...
class  Scalar
class  Uniform
 This class represents a hyper-cube shaped uniform distribution. More...
class  Vector3
class  Vector4

Typedefs

typedef arma::mat Matrix
typedef arma::vec Vector

Functions

PDFdeserialize (const problib::PDF &msg, int type, int &i_data)
PMFdeserialize_discrete (const problib::PDF &msg)
PDFdeserialize_exact (const problib::PDF &msg)
Gaussiandeserialize_gaussian (const problib::PDF &msg, int &i_data)
Hybriddeserialize_hybrid (const problib::PDF &msg, int &i_data)
Mixturedeserialize_mixture (const problib::PDF &msg, int &i_data)
Uniformdeserialize_uniform (const problib::PDF &msg, int &i_data)
GaussianmsgToGaussian (const problib::PDF &msg)
 Converts a PDF ROS message to a Gaussian object if the message represents a Gaussian.
MixturemsgToMixture (const problib::PDF &msg)
 Converts a PDF ROS message to a Mixture object if the message represents a Mixture.
PDFmsgToPDF (const problib::PDF &msg)
 Converts a PDF ROS message to a PDF object.
PMFmsgToPMF (const problib::PDF &msg)
 Converts a PDF ROS message to a PMF object if the message represents a PMF.
const GaussianPDFtoGaussian (const PDF &pdf)
 Casts a PDF object to a Gaussian if the PDF represents a Gaussian.
const HybridPDFtoHybrid (const PDF &pdf)
const MixturePDFtoMixture (const PDF &pdf)
 Casts a PDF object to a Mixture if the PDF represents a Mixture.
problib::PDF PDFtoMsg (const PDF &pdf)
 Converts a PDF object to a ROS message.
void PDFtoMsg (const PDF &pdf, problib::PDF &msg)
 Converts a PDF object to a ROS message.
const PMFPDFtoPMF (const PDF &pdf)
 Casts a PDF object to a PMF if the PDF represents a PMF.
const UniformPDFtoUniform (const PDF &pdf)
 Casts a PDF object to a Uniform distribution if the PDF represents a Uniform distribution.
void serialize (const PDF &gauss, problib::PDF &msg)
void serialize_discrete (const PMF &pmf, problib::PDF &msg)
void serialize_gaussian (const Gaussian &gauss, problib::PDF &msg)
void serialize_hybrid (const Hybrid &hybrid, problib::PDF &msg)
void serialize_mixture (const Mixture &mix, problib::PDF &msg)
void serialize_uniform (const Uniform &uniform, problib::PDF &msg)
std::string typeToName (PDF::PDFType type)

Typedef Documentation

Definition at line 46 of file datatypes.h.

Definition at line 44 of file datatypes.h.


Function Documentation

PDF * pbl::deserialize ( const problib::PDF msg,
int  type,
int &  i_data 
)

Definition at line 159 of file conversions.cpp.

PMF * pbl::deserialize_discrete ( const problib::PDF msg  ) 

Definition at line 267 of file conversions.cpp.

PDF * pbl::deserialize_exact ( const problib::PDF msg  ) 

Definition at line 316 of file conversions.cpp.

Gaussian * pbl::deserialize_gaussian ( const problib::PDF msg,
int &  i_data 
)

Definition at line 198 of file conversions.cpp.

Hybrid * pbl::deserialize_hybrid ( const problib::PDF msg,
int &  i_data 
)

Definition at line 300 of file conversions.cpp.

Mixture * pbl::deserialize_mixture ( const problib::PDF msg,
int &  i_data 
)

Definition at line 231 of file conversions.cpp.

Uniform * pbl::deserialize_uniform ( const problib::PDF msg,
int &  i_data 
)

Definition at line 255 of file conversions.cpp.

Gaussian * pbl::msgToGaussian ( const problib::PDF msg  ) 

Converts a PDF ROS message to a Gaussian object if the message represents a Gaussian.

Parameters:
msg The PDF ROS message
Returns:
Pointer to the PDF object if conversion was successful (only if the message represents a Gaussian); 0 otherwise

Definition at line 63 of file conversions.cpp.

Mixture * pbl::msgToMixture ( const problib::PDF msg  ) 

Converts a PDF ROS message to a Mixture object if the message represents a Mixture.

Parameters:
msg The PDF ROS message
Returns:
Pointer to the PDF object if conversion was successful (only if the message represents a Mixture); 0 otherwise

Definition at line 71 of file conversions.cpp.

PDF * pbl::msgToPDF ( const problib::PDF msg  ) 

Converts a PDF ROS message to a PDF object.

Parameters:
msg The PDF ROS message
Returns:
Pointer to the PDF object if conversion was successful; 0 otherwise

Definition at line 58 of file conversions.cpp.

PMF * pbl::msgToPMF ( const problib::PDF msg  ) 

Converts a PDF ROS message to a PMF object if the message represents a PMF.

Parameters:
msg The PDF ROS message
Returns:
Pointer to the PDF object if conversion was successful (only if the message represents a PMF); 0 otherwise

Definition at line 79 of file conversions.cpp.

const Gaussian * pbl::PDFtoGaussian ( const PDF &  pdf  ) 

Casts a PDF object to a Gaussian if the PDF represents a Gaussian.

Parameters:
msg The PDF object
Returns:
Pointer to the PDF object if casting was successful; 0 otherwise

Definition at line 93 of file conversions.cpp.

const Hybrid* pbl::PDFtoHybrid ( const PDF &  pdf  ) 

Definition at line 116 of file conversions.cpp.

const Mixture * pbl::PDFtoMixture ( const PDF &  pdf  ) 

Casts a PDF object to a Mixture if the PDF represents a Mixture.

Parameters:
msg The PDF object
Returns:
Pointer to the PDF object if casting was successful; 0 otherwise

Definition at line 86 of file conversions.cpp.

problib::PDF pbl::PDFtoMsg ( const PDF &  pdf  ) 

Converts a PDF object to a ROS message.

Parameters:
pdf The PDF to be converter
Returns:
The PDF ROS Message

Definition at line 52 of file conversions.cpp.

void pbl::PDFtoMsg ( const PDF &  pdf,
problib::PDF msg 
)

Converts a PDF object to a ROS message.

Parameters:
pdf The PDF to be converter
msg Reference to the message that will be filled with the PDF information

Definition at line 41 of file conversions.cpp.

const PMF * pbl::PDFtoPMF ( const PDF &  pdf  ) 

Casts a PDF object to a PMF if the PDF represents a PMF.

Parameters:
msg The PDF object
Returns:
Pointer to the PDF object if casting was successful; 0 otherwise

Definition at line 109 of file conversions.cpp.

const Uniform * pbl::PDFtoUniform ( const PDF &  pdf  ) 

Casts a PDF object to a Uniform distribution if the PDF represents a Uniform distribution.

Parameters:
msg The PDF object
Returns:
Pointer to the PDF object if casting was successful; 0 otherwise

Definition at line 101 of file conversions.cpp.

void pbl::serialize ( const PDF &  gauss,
problib::PDF msg 
)

Definition at line 140 of file conversions.cpp.

void pbl::serialize_discrete ( const PMF &  pmf,
problib::PDF msg 
)

Definition at line 261 of file conversions.cpp.

void pbl::serialize_gaussian ( const Gaussian &  gauss,
problib::PDF msg 
)

Definition at line 176 of file conversions.cpp.

void pbl::serialize_hybrid ( const Hybrid &  hybrid,
problib::PDF msg 
)

Definition at line 278 of file conversions.cpp.

void pbl::serialize_mixture ( const Mixture &  mix,
problib::PDF msg 
)

Definition at line 216 of file conversions.cpp.

void pbl::serialize_uniform ( const Uniform &  uniform,
problib::PDF msg 
)

Definition at line 250 of file conversions.cpp.

std::string pbl::typeToName ( PDF::PDFType  type  ) 

Definition at line 123 of file conversions.cpp.

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Defines


problib
Author(s): Sjoerd van den Dries
autogenerated on Tue Mar 5 12:28:32 2013