Abstract Class representing conditional Pdfs P(x | ...) More...
#include <conditionalpdf.h>
Public Member Functions | |
virtual ConditionalPdf< Var, CondArg > * | Clone () const |
Clone function. | |
const CondArg & | ConditionalArgumentGet (unsigned int n_argument) const |
Get the n-th argument of the list. | |
virtual void | ConditionalArgumentSet (unsigned int n_argument, const CondArg &argument) |
Set the n-th argument of the list. | |
const std::vector< CondArg > & | ConditionalArgumentsGet () const |
Get the whole list of conditional arguments. | |
virtual void | ConditionalArgumentsSet (std::vector< CondArg > ConditionalArguments) |
Set the whole list of conditional arguments. | |
ConditionalPdf (int dimension=0, unsigned int num_conditional_arguments=0) | |
Constructor. | |
unsigned int | NumConditionalArgumentsGet () const |
Get the Number of conditional arguments. | |
virtual void | NumConditionalArgumentsSet (unsigned int numconditionalarguments) |
Set the Number of conditional arguments. | |
virtual | ~ConditionalPdf () |
Destructor. | |
Private Attributes | |
std::vector< CondArg > | _ConditionalArguments |
vector containing the values of the conditional args | |
unsigned int | _NumConditionalArguments |
# of conditional arguments (# of args after the | sign) |
Abstract Class representing conditional Pdfs P(x | ...)
This class inherits from Pdf Virtual public because of the multiple inheritance that follows Two templates are here to allow a mixture of discrete and continu variables in the Pdf!
Definition at line 49 of file conditionalpdf.h.
BFL::ConditionalPdf< Var, CondArg >::ConditionalPdf | ( | int | dimension = 0 , |
unsigned int | num_conditional_arguments = 0 |
||
) |
Constructor.
dimension | int representing the number of rows of the state vector |
num_conditional_arguments | the number of arguments behind the | |
Definition at line 116 of file conditionalpdf.h.
BFL::ConditionalPdf< Var, CondArg >::~ConditionalPdf | ( | ) | [virtual] |
Destructor.
Definition at line 124 of file conditionalpdf.h.
ConditionalPdf< Var, CondArg > * BFL::ConditionalPdf< Var, CondArg >::Clone | ( | ) | const [virtual] |
Clone function.
Implements BFL::BFL::Pdf< Var >.
Reimplemented in BFL::DiscreteConditionalPdf, BFL::LinearAnalyticConditionalGaussian, and BFL::ConditionalGaussian.
Definition at line 129 of file conditionalpdf.h.
const CondArg & BFL::ConditionalPdf< Var, CondArg >::ConditionalArgumentGet | ( | unsigned int | n_argument | ) | const |
Get the n-th argument of the list.
Definition at line 165 of file conditionalpdf.h.
void BFL::ConditionalPdf< Var, CondArg >::ConditionalArgumentSet | ( | unsigned int | n_argument, |
const CondArg & | argument | ||
) | [virtual] |
Set the n-th argument of the list.
n_argument | which one of the conditional arguments |
argument | value of the n-th argument |
Definition at line 173 of file conditionalpdf.h.
const std::vector< CondArg > & BFL::ConditionalPdf< Var, CondArg >::ConditionalArgumentsGet | ( | ) | const |
Get the whole list of conditional arguments.
Definition at line 152 of file conditionalpdf.h.
void BFL::ConditionalPdf< Var, CondArg >::ConditionalArgumentsSet | ( | std::vector< CondArg > | ConditionalArguments | ) | [virtual] |
Set the whole list of conditional arguments.
ConditionalArguments | an STL-vector of type Tcontaining the condtional arguments |
Definition at line 158 of file conditionalpdf.h.
unsigned int BFL::ConditionalPdf< Var, CondArg >::NumConditionalArgumentsGet | ( | ) | const [inline] |
Get the Number of conditional arguments.
Definition at line 135 of file conditionalpdf.h.
void BFL::ConditionalPdf< Var, CondArg >::NumConditionalArgumentsSet | ( | unsigned int | numconditionalarguments | ) | [inline, virtual] |
Set the Number of conditional arguments.
numconditionalarguments | the number of conditionalarguments |
Reimplemented in BFL::LinearAnalyticConditionalGaussian.
Definition at line 141 of file conditionalpdf.h.
std::vector<CondArg> BFL::ConditionalPdf< Var, CondArg >::_ConditionalArguments [private] |
vector containing the values of the conditional args
Definition at line 110 of file conditionalpdf.h.
unsigned int BFL::ConditionalPdf< Var, CondArg >::_NumConditionalArguments [private] |
# of conditional arguments (# of args after the | sign)
Definition at line 108 of file conditionalpdf.h.