#include <measurementmodel.h>
Public Member Functions | |
MeasurementModel (ConditionalPdf< MeasVar, StateVar > *Measurementpdf=NULL) | |
Constructor. | |
ConditionalPdf< MeasVar, StateVar > * | MeasurementPdfGet () |
Get the MeasurementPDF. | |
void | MeasurementPdfSet (ConditionalPdf< MeasVar, StateVar > *pdf) |
Set the MeasurementPDF. | |
int | MeasurementSizeGet () const |
Get Measurement Size. | |
Probability | ProbabilityGet (const MeasVar &z, const StateVar &x, const StateVar &s) |
Get the probability of a certain measurement. | |
Probability | ProbabilityGet (const MeasVar &z, const StateVar &x) |
Get the probability of a certain measurement. | |
MeasVar | Simulate (const StateVar &x, const StateVar &s, int sampling_method=DEFAULT, void *sampling_args=NULL) |
Simulate the Measurement, given a certain state, and an input. | |
MeasVar | Simulate (const StateVar &x, int sampling_method=DEFAULT, void *sampling_args=NULL) |
Simulate the system (no input system) | |
bool | SystemWithoutSensorParams () const |
Number of Conditional Arguments. | |
virtual | ~MeasurementModel () |
Destructor. | |
Protected Attributes | |
ConditionalPdf< MeasVar, StateVar > * | _MeasurementPdf |
ConditionalPdf representing . | |
bool | _systemWithoutSensorParams |
System with no sensor params?? |
Template class representing all possible (continu and discrete) Measurement Models
Definition at line 53 of file measurementmodel.h.
BFL::MeasurementModel< MeasVar, StateVar >::MeasurementModel | ( | ConditionalPdf< MeasVar, StateVar > * | Measurementpdf = NULL | ) |
Constructor.
Measurementpdf | ConditionalPdf<MeasVar,StateVar> representing |
Definition at line 26 of file measurementmodel.cpp.
BFL::MeasurementModel< MeasVar, StateVar >::~MeasurementModel | ( | ) | [virtual] |
Destructor.
Definition at line 57 of file measurementmodel.cpp.
ConditionalPdf< MeasVar, StateVar > * BFL::MeasurementModel< MeasVar, StateVar >::MeasurementPdfGet | ( | ) |
Get the MeasurementPDF.
Definition at line 88 of file measurementmodel.cpp.
void BFL::MeasurementModel< MeasVar, StateVar >::MeasurementPdfSet | ( | ConditionalPdf< MeasVar, StateVar > * | ) |
Set the MeasurementPDF.
a pointer to the measurement pdf |
Definition at line 95 of file measurementmodel.cpp.
int BFL::MeasurementModel< MeasVar, StateVar >::MeasurementSizeGet | ( | ) | const |
Get Measurement Size.
Definition at line 75 of file measurementmodel.cpp.
Probability BFL::MeasurementModel< MeasVar, StateVar >::ProbabilityGet | ( | const MeasVar & | z, |
const StateVar & | x, | ||
const StateVar & | s | ||
) |
Get the probability of a certain measurement.
given a certain state and input
z | the measurement value |
x | current state of the system |
s | the sensor param value |
Definition at line 150 of file measurementmodel.cpp.
Probability BFL::MeasurementModel< MeasVar, StateVar >::ProbabilityGet | ( | const MeasVar & | z, |
const StateVar & | x | ||
) |
Get the probability of a certain measurement.
(measurement independent of input) gived a certain state and input
z | the measurement value |
x | x current state of the system |
Definition at line 161 of file measurementmodel.cpp.
MeasVar BFL::MeasurementModel< MeasVar, StateVar >::Simulate | ( | const StateVar & | x, |
const StateVar & | s, | ||
int | sampling_method = DEFAULT , |
||
void * | sampling_args = NULL |
||
) |
Simulate the Measurement, given a certain state, and an input.
x | current state of the system |
s | sensor parameter |
sampling_method | the sampling method to be used while sampling from the Conditional Pdf describing the system (if not specified = DEFAULT) |
sampling_args | Sometimes a sampling method can have some extra parameters (eg mcmc sampling) |
Definition at line 122 of file measurementmodel.h.
MeasVar BFL::MeasurementModel< MeasVar, StateVar >::Simulate | ( | const StateVar & | x, |
int | sampling_method = DEFAULT , |
||
void * | sampling_args = NULL |
||
) |
Simulate the system (no input system)
x | current state of the system |
sampling_method | the sampling method to be used while sampling from the Conditional Pdf describing the system (if not specified = DEFAULT) |
sampling_args | Sometimes a sampling method can have some extra parameters (eg mcmc sampling) |
Definition at line 138 of file measurementmodel.h.
bool BFL::MeasurementModel< MeasVar, StateVar >::SystemWithoutSensorParams | ( | ) | const |
Number of Conditional Arguments.
Definition at line 81 of file measurementmodel.cpp.
ConditionalPdf<MeasVar,StateVar>* BFL::MeasurementModel< MeasVar, StateVar >::_MeasurementPdf [protected] |
ConditionalPdf representing .
Definition at line 62 of file measurementmodel.h.
bool BFL::MeasurementModel< MeasVar, StateVar >::_systemWithoutSensorParams [protected] |
System with no sensor params??
Definition at line 65 of file measurementmodel.h.