Template Class ImportanceResamplingWE
Defined in File Resampling.hpp
Inheritance Relationships
Base Type
public particle_filter::ImportanceResampling< StateType >
Class Documentation
-
template<class StateType>
class bitbots_localization::ImportanceResamplingWE : public particle_filter::ImportanceResampling<StateType> Public Functions
The constructor of this base class inits some members.
-
void resample(const ParticleList &source, const ParticleList &destination) const
This is the main method of ImportanceResampling. It takes two references to particle lists. The first reference refers to the old particle list, the second to the new one.
- Parameters
source – the source list to draw new particles from.
destination – the destination list where to put the copies.
-
void setExplorerCount(int explorer_count)
Sets the Random Number Generator to use in resample() to generate uniformly distributed random numbers.
-
int getExplorerCount()
Private Types