
| T | The type of time. |
by performing a one step lookahead, favouring those particles more likely to have higher weights at time
. Combined with ParticleFilter, this produces the Auxiliary Particle Filter.Definition at line 28 of file AuxiliaryParticleResampler.hpp.
Public Member Functions | |
| AuxiliaryParticleResampler (ParticleFilter< T > *filter, const unsigned int P=0) | |
| Constructor. | |
| virtual | ~AuxiliaryParticleResampler () |
| Destructor. | |
| void | setNumParticles (const unsigned int P=0) |
| Set the number of particles to resample. | |
| void | setLookAhead (const T tnp1, const indii::ml::aux::vector &ytnp1) |
| Set lookahead parameters for next resampling. | |
| virtual indii::ml::aux::DiracMixturePdf | resample (indii::ml::aux::DiracMixturePdf &p) |
| Resample particle set. | |
| AuxiliaryParticleResampler | ( | ParticleFilter< T > * | filter, | |
| const unsigned int | P = 0 | |||
| ) | [inline] |
Constructor.
| filter | Particle filter to which to couple the resampler. | |
| P | Number of particles to resample from each distribution supplied to resample(). If zero, will resample the same number of particles as the distribution supplied. |
Definition at line 147 of file AuxiliaryParticleResampler.hpp.
| ~AuxiliaryParticleResampler | ( | ) | [inline, virtual] |
| void setNumParticles | ( | const unsigned int | P = 0 |
) | [inline] |
Set the number of particles to resample.
| P | Number of particles to resample from each distribution supplied to resample(). If zero, will resample the same number of particles as the distribution supplied. |
Definition at line 158 of file AuxiliaryParticleResampler.hpp.
| void setLookAhead | ( | const T | tnp1, | |
| const indii::ml::aux::vector & | ytnp1 | |||
| ) | [inline] |
Set lookahead parameters for next resampling.
| tnp1 | ; the time at which the next measurement will be available. | |
| ytnp1 | ; the next measurement, at time . |
on which to base the resampling of particles at the current time
.
Definition at line 164 of file AuxiliaryParticleResampler.hpp.
| indii::ml::aux::DiracMixturePdf resample | ( | indii::ml::aux::DiracMixturePdf & | p | ) | [inline, virtual] |
Resample particle set.
| p | Particle set to resample. |
Implements ParticleResampler.
Definition at line 173 of file AuxiliaryParticleResampler.hpp.
1.5.3