#include <measurementmodel.h>
Public Member Functions | |
MeasurementModel (ConditionalPdf< MeasVar, StateVar > *Measurementpdf=NULL) | |
Constructor. More... | |
ConditionalPdf< MeasVar, StateVar > * | MeasurementPdfGet () |
Get the MeasurementPDF. More... | |
void | MeasurementPdfSet (ConditionalPdf< MeasVar, StateVar > *pdf) |
Set the MeasurementPDF. More... | |
int | MeasurementSizeGet () const |
Get Measurement Size. More... | |
Probability | ProbabilityGet (const MeasVar &z, const StateVar &x, const StateVar &s) |
Get the probability of a certain measurement. More... | |
Probability | ProbabilityGet (const MeasVar &z, const StateVar &x) |
Get the probability of a certain measurement. More... | |
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. More... | |
MeasVar | Simulate (const StateVar &x, int sampling_method=DEFAULT, void *sampling_args=NULL) |
Simulate the system (no input system) More... | |
bool | SystemWithoutSensorParams () const |
Number of Conditional Arguments. More... | |
virtual | ~MeasurementModel () |
Destructor. More... | |
Protected Attributes | |
ConditionalPdf< MeasVar, StateVar > * | _MeasurementPdf |
ConditionalPdf representing . More... | |
bool | _systemWithoutSensorParams |
System with no sensor params?? More... | |
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.
|
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.
|
protected |
ConditionalPdf representing .
Definition at line 62 of file measurementmodel.h.
|
protected |
System with no sensor params??
Definition at line 65 of file measurementmodel.h.