#include <RelPaFil.h>
Public Member Functions | |
RelParticleFilter () | |
Default constructor. | |
RelParticleFilter (RelPaFilParams in) | |
Complete constructor. | |
void | step (MutLocFilInput &input) |
RelParticle Filter step. | |
void | reset () |
Reset RelParticle Filter. | |
void | getInternalEstimate (MutLocFilInput &input, vector< RelParticle > &last_map) |
Launches the appropriate getInternalEstimate function. | |
void | getInternalEstimate_abs (MutLocFilInput &input, vector< RelParticle > &last_map) |
Compute the best available estimate of IxJ - ABS version. | |
void | getInternalEstimate_rel (MutLocFilInput &input, vector< RelParticle > &last_map) |
Compute the best available estimate of IxJ - REL version. | |
int | getEstimate (Pose *best) |
Provide the best available estimate. | |
int | getAllEstimates (vector< Pose > &all, vector< Decimal > &allMarks) |
Provide all the present estimates. | |
void | updateVar (MutLocFilInput &input, vector< RelParticle > &last_map, int &caso) |
Save filter status and prepare next iteration. | |
string | print () |
Print. | |
void | reset (RelPaFilParams inPar) |
Reset filter status. | |
int | getStep () |
Get the step (int) of the filter. | |
Pose | getIxi () |
Prendo i valori delle stime di i rispetto alla terna I all'interno del filtro. | |
Pose | getJxj () |
Prendo i valori delle stime di j rispetto alla terna I all'interno del filtro. | |
void | ComputeWeights (MutLocFilInput &input, int &caso) |
Launches the appropriate version of ComputeWeight function. | |
void | ComputeWeights_abs (MutLocFilInput &input, int &caso) |
Assign weight to each particle - version ABS. | |
void | ComputeWeights_rel (MutLocFilInput &input, int &caso) |
Assign weight to each particle - version REL. | |
vector< RelParticle > | Resample () |
Select particles randomly according to their weight. | |
void | OutputPerformance (MutLocFilInput &input) |
Output results writing them on text files. | |
Protected Attributes | |
RelPaFilParams | par |
Parameters. | |
RelPaFilVariables * | var |
Variables. |
MipAlgorithms::RelParticleFilter::RelParticleFilter | ( | ) | [inline] |
Default constructor.