
| T | The type of time. |
Definition at line 32 of file ParticleFilter.hpp.
Public Member Functions | |
| ParticleFilter (ParticleFilterModel< T > *model, indii::ml::aux::DiracMixturePdf &p_x0) | |
| Create new particle filter. | |
| virtual | ~ParticleFilter () |
| Destructor. | |
| virtual ParticleFilterModel < T > * | getModel () |
| Get the model being estimated. | |
| virtual void | filter (const T tnp1) |
| Advance system. | |
| virtual void | filter (const indii::ml::aux::vector &ytn) |
| Update with measurement. | |
| virtual void | filter (const T tnp1, const indii::ml::aux::vector &ytnp1) |
| Advance system to time of next measurement. | |
| virtual indii::ml::aux::DiracMixturePdf | measure () |
| Apply the measurement function to the current filtered state to obtain an estimated measurement. | |
| void | resample (ParticleResampler *resampler) |
| Resample the filtered state. | |
| ParticleFilter | ( | ParticleFilterModel< T > * | model, | |
| indii::ml::aux::DiracMixturePdf & | p_x0 | |||
| ) | [inline] |
Create new particle filter.
| model | Model to estimate. | |
| p_x0 | ; prior over the initial state . |
Definition at line 107 of file ParticleFilter.hpp.
| ~ParticleFilter | ( | ) | [inline, virtual] |
| indii::ml::filter::ParticleFilterModel< T > * getModel | ( | ) | [inline, virtual] |
Get the model being estimated.
Definition at line 121 of file ParticleFilter.hpp.
| void filter | ( | const T | tnp1 | ) | [inline, virtual] |
Advance system.
| tnp1 | ; the time to which to advance the system. This must be greater than the current time . |
Definition at line 126 of file ParticleFilter.hpp.
| void filter | ( | const indii::ml::aux::vector & | ytn | ) | [inline, virtual] |
Update with measurement.
| ytn | ; measurement at the current time. |
Definition at line 152 of file ParticleFilter.hpp.
| void filter | ( | const T | tnp1, | |
| const indii::ml::aux::vector & | ytnp1 | |||
| ) | [inline, virtual] |
Advance system to time of next measurement.
| tnp1 | ; the time to which to advance the system. This must be greater than the current time . | |
| ytnp1 | ; measurement at time . |
Implements Filter< T, indii::ml::aux::DiracMixturePdf >.
Definition at line 168 of file ParticleFilter.hpp.
| indii::ml::aux::DiracMixturePdf measure | ( | ) | [inline, virtual] |
Apply the measurement function to the current filtered state to obtain an estimated measurement.
Implements Filter< T, indii::ml::aux::DiracMixturePdf >.
Definition at line 196 of file ParticleFilter.hpp.
| void resample | ( | ParticleResampler * | resampler | ) | [inline] |
Resample the filtered state.
| resampler | A particle resampler. |
Calling this method and passing in the resampler (visitor pattern) is preferred to separate calls to getFilteredState(), ParticleResampler::resample() and setFilteredState().
Definition at line 213 of file ParticleFilter.hpp.
1.5.3