#include <measurementmodel.h>
Public Member Functions | |
MeasurementModel (ConditionalPdf< MeasVar, StateVar > *Measurementpdf=NULL) | |
Constructor. | |
virtual | ~MeasurementModel () |
Destructor. | |
int | MeasurementSizeGet () const |
Get Measurement Size. | |
bool | SystemWithoutSensorParams () const |
Number of Conditional Arguments. | |
ConditionalPdf< MeasVar, StateVar > * | MeasurementPdfGet () |
Get the MeasurementPDF. | |
void | MeasurementPdfSet (ConditionalPdf< MeasVar, StateVar > *pdf) |
Set the MeasurementPDF. | |
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). | |
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. | |
Protected Attributes | |
ConditionalPdf< MeasVar, StateVar > * | _MeasurementPdf |
ConditionalPdf representing ![]() | |
bool | _systemWithoutSensorParams |
System with no sensor params?? |
Definition at line 53 of file measurementmodel.h.
MeasurementModel | ( | ConditionalPdf< MeasVar, StateVar > * | Measurementpdf = NULL |
) | [inline] |
Constructor.
Measurementpdf | ConditionalPdf<MeasVar,StateVar> representing ![]() |
Definition at line 162 of file measurementmodel.h.
void MeasurementPdfSet | ( | ConditionalPdf< MeasVar, StateVar > * | ) | [inline] |
Set the MeasurementPDF.
a pointer to the measurement pdf |
Definition at line 231 of file measurementmodel.h.
Probability ProbabilityGet | ( | const MeasVar & | z, | |
const StateVar & | x | |||
) | [inline] |
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 297 of file measurementmodel.h.
Probability ProbabilityGet | ( | const MeasVar & | z, | |
const StateVar & | x, | |||
const StateVar & | s | |||
) | [inline] |
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 286 of file measurementmodel.h.
MeasVar Simulate | ( | const StateVar & | x, | |
int | sampling_method = DEFAULT , |
|||
void * | sampling_args = NULL | |||
) | [inline] |
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 273 of file measurementmodel.h.
MeasVar Simulate | ( | const StateVar & | x, | |
const StateVar & | s, | |||
int | sampling_method = DEFAULT , |
|||
void * | sampling_args = NULL | |||
) | [inline] |
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 257 of file measurementmodel.h.