
| T | The type of time. | |
| NT | Norm type. | |
| KT | Kernel type. | |
| ST | Partitioner type. |
For ease of use, KernelForwardBackwardSmoother handles proposal distribution sampling and sample propagations internally.
A number of significant optimisations may be triggered using Flags. The use of flags is entirely optional, and considered an advanced feature. Not using flags will trigger the most generally applicable algorithms, suitable in all situations. Using the right flags in the right situation will give significant performance improvements. Using flags in the wrong situation will give erronous results. Be sure to understand the assumptions implied by a flag, and be certain that those assumptions are suitable, before putting it to use.
Definition at line 59 of file KernelForwardBackwardSmoother.hpp.
Public Member Functions | |
| KernelForwardBackwardSmoother (KernelForwardBackwardSmootherModel< T > *model, const NT &N, const KT &K, const T tT, const indii::ml::aux::DiracMixturePdf &p_xT) | |
| Constructor. | |
| virtual | ~KernelForwardBackwardSmoother () |
| Destructor. | |
| virtual KernelForwardBackwardSmootherModel < T > * | getModel () |
| Get the model being estimated. | |
| void | smooth (const T tn, indii::ml::aux::DiracMixturePdf &p_xtn_ytn, indii::ml::aux::DiracMixturePdf &p_xtnp1_ytn, indii::ml::aux::Pdf &q_xtn, const unsigned int flags=0) |
| Step back in time and smooth. | |
| void | smooth (const T tn, indii::ml::aux::DiracMixturePdf &p_xtn_ytn, indii::ml::aux::DiracMixturePdf &p_xtnp1_ytn, const unsigned int flags=0) |
| Step back in time and smooth, using filter density as proposal distribution. | |
| virtual indii::ml::aux::DiracMixturePdf | smoothedMeasure () |
| Apply the measurement function to the current smoothed state to obtain an estimated measurement. | |
| indii::ml::aux::DiracMixturePdf & | getProposals () |
| Get last set of proposal samples. | |
| indii::ml::aux::DiracMixturePdf & | getPropagations () |
| Get last set of proposal sample propagations. | |
| void | smoothedResample (ParticleResampler *resampler) |
| Resample the smoothed state. | |
| KernelForwardBackwardSmoother | ( | KernelForwardBackwardSmootherModel< T > * | model, | |
| const NT & | N, | |||
| const KT & | K, | |||
| const T | tT, | |||
| const indii::ml::aux::DiracMixturePdf & | p_xT | |||
| ) | [inline] |
Constructor.
| model | Model to estimate. | |
| N | The kernel density norm. | |
| K | The kernel density kernel. | |
| tT | ; starting time. | |
| p_xT | ; prior over the state at time . |
Definition at line 203 of file KernelForwardBackwardSmoother.hpp.
| ~KernelForwardBackwardSmoother | ( | ) | [inline, virtual] |
| indii::ml::filter::KernelForwardBackwardSmootherModel< T > * getModel | ( | ) | [inline, virtual] |
Get the model being estimated.
Definition at line 222 of file KernelForwardBackwardSmoother.hpp.
| void smooth | ( | const T | tn, | |
| indii::ml::aux::DiracMixturePdf & | p_xtn_ytn, | |||
| indii::ml::aux::DiracMixturePdf & | p_xtnp1_ytn, | |||
| indii::ml::aux::Pdf & | q_xtn, | |||
| const unsigned int | flags = 0 | |||
| ) | [inline] |
Step back in time and smooth.
| tn | ; the time to which to rewind the system. This must be less than the current time . | |
| p_xtn_ytn | ; filter density at time . May be modified. | |
| p_xtnp1_ytn | ; uncorrected filter density at time . May be modified. | |
| q_xtn | ; proposal distribution. | |
| flags | Optimisation flags. |
Definition at line 227 of file KernelForwardBackwardSmoother.hpp.
| void smooth | ( | const T | tn, | |
| indii::ml::aux::DiracMixturePdf & | p_xtn_ytn, | |||
| indii::ml::aux::DiracMixturePdf & | p_xtnp1_ytn, | |||
| const unsigned int | flags = 0 | |||
| ) | [inline] |
Step back in time and smooth, using filter density as proposal distribution.
| tn | ; the time to which to rewind the system. This must be less than the current time . | |
| p_xtn_ytn | ; filter density at time . May be modified. | |
| p_xtnp1_ytn | ; uncorrected filter density at time . May be modified. | |
| flags | Optimisation flags. |
Definition at line 375 of file KernelForwardBackwardSmoother.hpp.
| indii::ml::aux::DiracMixturePdf smoothedMeasure | ( | ) | [inline, virtual] |
Apply the measurement function to the current smoothed state to obtain an estimated measurement.
Implements Smoother< T, indii::ml::aux::DiracMixturePdf >.
Definition at line 547 of file KernelForwardBackwardSmoother.hpp.
| indii::ml::aux::DiracMixturePdf & getProposals | ( | ) | [inline] |
Get last set of proposal samples.
Definition at line 535 of file KernelForwardBackwardSmoother.hpp.
| indii::ml::aux::DiracMixturePdf & getPropagations | ( | ) | [inline] |
Get last set of proposal sample propagations.
Definition at line 541 of file KernelForwardBackwardSmoother.hpp.
| void smoothedResample | ( | ParticleResampler * | resampler | ) | [inline] |
Resample the smoothed state.
Definition at line 564 of file KernelForwardBackwardSmoother.hpp.
1.5.3