Public Types | Public Member Functions | Protected Attributes
pbl::PDF Class Reference

#include <PDF.h>

Inheritance diagram for pbl::PDF:
Inheritance graph
[legend]

List of all members.

Public Types

enum  PDFType {
  GAUSSIAN, MIXTURE, UNIFORM, DISCRETE,
  EXACT, HYBRID, UNKNOWN
}

Public Member Functions

virtual PDFclone () const =0
int dimensions () const
virtual bool getExpectedValue (std::string &v) const
virtual bool getExpectedValue (arma::vec &v) const
virtual double getLikelihood (const PDF &pdf) const =0
virtual double getMaxDensity () const =0
 PDF (int dimensions, PDFType type)
 PDF (const PDF &orig)
virtual std::string toString (const std::string &indent="") const =0
PDFType type () const
virtual ~PDF ()

Protected Attributes

int dimensions_
PDFType type_

Detailed Description

Definition at line 47 of file include/problib/pdfs/PDF.h.


Member Enumeration Documentation

Enumerator:
GAUSSIAN 
MIXTURE 
UNIFORM 
DISCRETE 
EXACT 
HYBRID 
UNKNOWN 

Definition at line 51 of file include/problib/pdfs/PDF.h.


Constructor & Destructor Documentation

PDF::PDF ( int  dimensions,
PDFType  type 
)

Definition at line 41 of file PDF.cpp.

PDF::PDF ( const PDF orig)

Definition at line 45 of file PDF.cpp.

PDF::~PDF ( ) [virtual]

Definition at line 49 of file PDF.cpp.


Member Function Documentation

virtual PDF* pbl::PDF::clone ( ) const [pure virtual]
int PDF::dimensions ( ) const

Definition at line 52 of file PDF.cpp.

bool PDF::getExpectedValue ( std::string &  v) const [virtual]

Reimplemented in pbl::PMF.

Definition at line 60 of file PDF.cpp.

bool PDF::getExpectedValue ( arma::vec v) const [virtual]

Reimplemented in pbl::Gaussian.

Definition at line 64 of file PDF.cpp.

virtual double pbl::PDF::getLikelihood ( const PDF pdf) const [pure virtual]
virtual double pbl::PDF::getMaxDensity ( ) const [pure virtual]
virtual std::string pbl::PDF::toString ( const std::string &  indent = "") const [pure virtual]

Definition at line 56 of file PDF.cpp.


Member Data Documentation

int pbl::PDF::dimensions_ [protected]

Definition at line 87 of file include/problib/pdfs/PDF.h.

PDFType pbl::PDF::type_ [protected]

Definition at line 89 of file include/problib/pdfs/PDF.h.


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


problib
Author(s): Sjoerd van den Dries
autogenerated on Tue Jan 7 2014 11:42:42