Framework for the implementation of particle filters using the data type float. More...
#include <ParticleFilterFrameworkFloat.h>
Public Member Functions | |
double | CalculateProbabilityForConfiguration (const float *pConfiguration) |
CParticleFilterFrameworkFloat (int nParticles, int nDimension) | |
virtual void | GetBestConfiguration (float *pBestConfiguration) |
virtual void | GetConfiguration (float *pBestConfiguration, float fMeanFactor) |
virtual void | GetMeanConfiguration (float *pMeanConfiguration) |
virtual void | GetPredictedConfiguration (float *pPredictedConfiguration) |
double | ParticleFilter (float *pResultMeanConfiguration, float fSigmaFactor=1.0f) |
~CParticleFilterFrameworkFloat () | |
Protected Member Functions | |
virtual void | CalculateFinalProbabilities () |
void | CalculateMean () |
virtual double | CalculateProbability (bool bSeparateCall=true)=0 |
int | PickBaseSample () |
virtual void | PredictNewBases (float fSigmaFactor)=0 |
virtual void | UpdateModel (int nParticle)=0 |
Protected Attributes | |
double * | c |
double | c_total |
float * | last_configuration |
float * | lower_limit |
int | m_nDimension |
int | m_nParticles |
float * | mean_configuration |
double * | pi |
float ** | s |
float ** | s_temp |
float * | sigma |
float * | temp |
float * | upper_limit |
Framework for the implementation of particle filters using the data type float.
Definition at line 55 of file ParticleFilterFrameworkFloat.h.
CParticleFilterFrameworkFloat::CParticleFilterFrameworkFloat | ( | int | nParticles, |
int | nDimension | ||
) |
Definition at line 62 of file ParticleFilterFrameworkFloat.cpp.
Definition at line 97 of file ParticleFilterFrameworkFloat.cpp.
virtual void CParticleFilterFrameworkFloat::CalculateFinalProbabilities | ( | ) | [inline, protected, virtual] |
Definition at line 83 of file ParticleFilterFrameworkFloat.h.
void CParticleFilterFrameworkFloat::CalculateMean | ( | ) | [protected] |
Definition at line 242 of file ParticleFilterFrameworkFloat.cpp.
virtual double CParticleFilterFrameworkFloat::CalculateProbability | ( | bool | bSeparateCall = true | ) | [protected, pure virtual] |
double CParticleFilterFrameworkFloat::CalculateProbabilityForConfiguration | ( | const float * | pConfiguration | ) |
Definition at line 259 of file ParticleFilterFrameworkFloat.cpp.
void CParticleFilterFrameworkFloat::GetBestConfiguration | ( | float * | pBestConfiguration | ) | [virtual] |
Definition at line 155 of file ParticleFilterFrameworkFloat.cpp.
void CParticleFilterFrameworkFloat::GetConfiguration | ( | float * | pBestConfiguration, |
float | fMeanFactor | ||
) | [virtual] |
Definition at line 126 of file ParticleFilterFrameworkFloat.cpp.
void CParticleFilterFrameworkFloat::GetMeanConfiguration | ( | float * | pMeanConfiguration | ) | [virtual] |
Definition at line 172 of file ParticleFilterFrameworkFloat.cpp.
void CParticleFilterFrameworkFloat::GetPredictedConfiguration | ( | float * | pPredictedConfiguration | ) | [virtual] |
Definition at line 178 of file ParticleFilterFrameworkFloat.cpp.
double CParticleFilterFrameworkFloat::ParticleFilter | ( | float * | pResultMeanConfiguration, |
float | fSigmaFactor = 1.0f |
||
) |
Definition at line 204 of file ParticleFilterFrameworkFloat.cpp.
int CParticleFilterFrameworkFloat::PickBaseSample | ( | ) | [protected] |
Definition at line 184 of file ParticleFilterFrameworkFloat.cpp.
virtual void CParticleFilterFrameworkFloat::PredictNewBases | ( | float | fSigmaFactor | ) | [protected, pure virtual] |
virtual void CParticleFilterFrameworkFloat::UpdateModel | ( | int | nParticle | ) | [protected, pure virtual] |
double* CParticleFilterFrameworkFloat::c [protected] |
Definition at line 100 of file ParticleFilterFrameworkFloat.h.
double CParticleFilterFrameworkFloat::c_total [protected] |
Definition at line 97 of file ParticleFilterFrameworkFloat.h.
float* CParticleFilterFrameworkFloat::last_configuration [protected] |
Definition at line 88 of file ParticleFilterFrameworkFloat.h.
float* CParticleFilterFrameworkFloat::lower_limit [protected] |
Definition at line 91 of file ParticleFilterFrameworkFloat.h.
int CParticleFilterFrameworkFloat::m_nDimension [protected] |
Definition at line 95 of file ParticleFilterFrameworkFloat.h.
int CParticleFilterFrameworkFloat::m_nParticles [protected] |
Definition at line 96 of file ParticleFilterFrameworkFloat.h.
float* CParticleFilterFrameworkFloat::mean_configuration [protected] |
Definition at line 87 of file ParticleFilterFrameworkFloat.h.
double* CParticleFilterFrameworkFloat::pi [protected] |
Definition at line 101 of file ParticleFilterFrameworkFloat.h.
float** CParticleFilterFrameworkFloat::s [protected] |
Definition at line 98 of file ParticleFilterFrameworkFloat.h.
float** CParticleFilterFrameworkFloat::s_temp [protected] |
Definition at line 99 of file ParticleFilterFrameworkFloat.h.
float* CParticleFilterFrameworkFloat::sigma [protected] |
Definition at line 90 of file ParticleFilterFrameworkFloat.h.
float* CParticleFilterFrameworkFloat::temp [protected] |
Definition at line 102 of file ParticleFilterFrameworkFloat.h.
float* CParticleFilterFrameworkFloat::upper_limit [protected] |
Definition at line 92 of file ParticleFilterFrameworkFloat.h.