MipAlgorithms::MutLocFilter Class Reference

Represents a generic filter for the mutual localization. More...

#include <MutLoc.h>

Inheritance diagram for MipAlgorithms::MutLocFilter:

MipAlgorithms::DAEKFilter MipAlgorithms::PaFilBFL MipAlgorithms::ParticleFilter MipAlgorithms::RelParticleFilter MipAlgorithms::PaFilBFLAbsRel MipAlgorithms::PaFilBFLRelRel MipAlgorithms::PaFilBFLRelRelBearOnly MipAlgorithms::PaFilBFLRelRelNoMR

List of all members.

Public Member Functions

virtual void step (MutLocFilInput &input)=0
 Generic step function.
virtual void reset ()=0
 Reset function: reset the filter.
virtual int getEstimate (Pose *best)=0
 Get the estimate with the highest value.
virtual int getCovariance (MIPMatrix *cov)
 Get the covariance of the estimate.
virtual int getAllEstimates (vector< Pose > &all, vector< Decimal > &allMarks)=0
 Get the cluster with the highest value.
virtual string print ()=0
 Print function.
 MutLocFilter ()
 Default constructor.
 ~MutLocFilter ()
 Destructor.
void init ()
 Set true initialized bool.
void uninit ()
 Set false initialize bool.
bool initialized ()
 Return if initialized.
bool firstPosteriorComputed ()
 Says if the first Posterior density function has been computed.
void setFirstPosteriorComputed ()
 Sets that the first Posterior density function has been computed.


Detailed Description

Represents a generic filter for the mutual localization.

Author:
Antonio Franchi and Paolo Stegagno

Constructor & Destructor Documentation

MipAlgorithms::MutLocFilter::MutLocFilter (  ) 

Default constructor.

MipAlgorithms::MutLocFilter::~MutLocFilter (  ) 

Destructor.


Member Function Documentation

virtual void MipAlgorithms::MutLocFilter::step ( MutLocFilInput input  )  [pure virtual]

virtual void MipAlgorithms::MutLocFilter::reset (  )  [pure virtual]

virtual int MipAlgorithms::MutLocFilter::getEstimate ( Pose best  )  [pure virtual]

Get the estimate with the highest value.

Parameters:
[out] *best Pointer to Pose in which is written the best estimate.
Returns:
Number (int) of the cluster with the highest value (not reliable).

Implemented in MipAlgorithms::DAEKFilter, MipAlgorithms::ParticleFilter, MipAlgorithms::PaFilBFL, and MipAlgorithms::RelParticleFilter.

virtual int MipAlgorithms::MutLocFilter::getCovariance ( MIPMatrix cov  )  [inline, virtual]

Get the covariance of the estimate.

Parameters:
[out] *best Pointer to MIPMatrix in which is written the covariance.
Returns:
0.

Reimplemented in MipAlgorithms::PaFilBFL.

virtual int MipAlgorithms::MutLocFilter::getAllEstimates ( vector< Pose > &  all,
vector< Decimal > &  allMarks 
) [pure virtual]

Get the cluster with the highest value.

Parameters:
[out] &best Vector of Poses in which all the estimates of the filter are written.
Returns:
Number (int) of the cluster with the highest value.

Implemented in MipAlgorithms::DAEKFilter, MipAlgorithms::ParticleFilter, MipAlgorithms::PaFilBFL, and MipAlgorithms::RelParticleFilter.

virtual string MipAlgorithms::MutLocFilter::print (  )  [pure virtual]

void MipAlgorithms::MutLocFilter::init (  ) 

Set true initialized bool.

void MipAlgorithms::MutLocFilter::uninit (  ) 

Set false initialize bool.

bool MipAlgorithms::MutLocFilter::initialized (  ) 

Return if initialized.

bool MipAlgorithms::MutLocFilter::firstPosteriorComputed (  )  [inline]

Says if the first Posterior density function has been computed.

void MipAlgorithms::MutLocFilter::setFirstPosteriorComputed (  )  [inline]

Sets that the first Posterior density function has been computed.


The documentation for this class was generated from the following files:

Generated on Mon Feb 20 07:01:11 2017 for MIP by  doxygen 1.5.6