Public Types | Public Member Functions | Protected Attributes | List of all members
pbl::PDF Class Referenceabstract

#include <PDF.h>

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

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 PDF.h.

Member Enumeration Documentation

Enumerator
GAUSSIAN 
MIXTURE 
UNIFORM 
DISCRETE 
EXACT 
HYBRID 
UNKNOWN 

Definition at line 51 of file 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
PDF::PDFType PDF::type ( ) const

Definition at line 56 of file PDF.cpp.

Member Data Documentation

int pbl::PDF::dimensions_
protected

Definition at line 87 of file PDF.h.

PDFType pbl::PDF::type_
protected

Definition at line 89 of file PDF.h.


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


problib
Author(s): Sjoerd van den Dries, Jos Elfring
autogenerated on Fri Apr 16 2021 02:32:19