MRPT  1.9.9
mrpt::slam::TDataAssociationResults Struct Reference

Detailed Description

The results from mrpt::slam::data_association.

Definition at line 62 of file data_association.h.

#include <mrpt/slam/data_association.h>

Public Member Functions

 TDataAssociationResults ()
 
void clear ()
 

Public Attributes

std::map< observation_index_t, prediction_index_tassociations
 For each observation (with row index IDX_obs in the input "Z_observations"), its association in the predictions, as the row index in the "Y_predictions_mean" input (or it's mapping to a custom ID, if it was provided). More...
 
double distance
 The Joint Mahalanobis distance or matching likelihood of the best associations found. More...
 
mrpt::math::CMatrixDouble indiv_distances
 Individual mahalanobis distances (or matching likelihood, depending on the selected metric) between predictions (row indices) & observations (column indices). More...
 
mrpt::math::CMatrixBool indiv_compatibility
 The result of a chi2 test for compatibility using mahalanobis distance - Indices are like in "indiv_distances". More...
 
std::vector< uint32_tindiv_compatibility_counts
 The sum of each column of indiv_compatibility, that is, the number of compatible pairings for each observation. More...
 
size_t nNodesExploredInJCBB
 Only for the JCBB method,the number of recursive calls expent in the algorithm. More...
 

Constructor & Destructor Documentation

◆ TDataAssociationResults()

mrpt::slam::TDataAssociationResults::TDataAssociationResults ( )
inline

Definition at line 64 of file data_association.h.

Member Function Documentation

◆ clear()

Member Data Documentation

◆ associations

std::map<observation_index_t, prediction_index_t> mrpt::slam::TDataAssociationResults::associations

For each observation (with row index IDX_obs in the input "Z_observations"), its association in the predictions, as the row index in the "Y_predictions_mean" input (or it's mapping to a custom ID, if it was provided).

Note that not all observations may have an associated prediction. An observation with index "IDX_obs" corresponds to the prediction number "associations[IDX_obs]", or it may not correspond to anyone if it's not present in the std::map (Tip: Use associations.find(IDX_obs)!=associations.end() )

Note
The types observation_index_t and prediction_index_t are just used for clarity, use normal size_t's.

Definition at line 97 of file data_association.h.

Referenced by clear(), mrpt::slam::CRangeBearingKFSLAM2D::OnGetObservationsAndDataAssociation(), mrpt::slam::CRangeBearingKFSLAM::OnGetObservationsAndDataAssociation(), and TEST().

◆ distance

double mrpt::slam::TDataAssociationResults::distance

The Joint Mahalanobis distance or matching likelihood of the best associations found.

Definition at line 100 of file data_association.h.

Referenced by clear().

◆ indiv_compatibility

mrpt::math::CMatrixBool mrpt::slam::TDataAssociationResults::indiv_compatibility

The result of a chi2 test for compatibility using mahalanobis distance - Indices are like in "indiv_distances".

Definition at line 111 of file data_association.h.

Referenced by clear().

◆ indiv_compatibility_counts

std::vector<uint32_t> mrpt::slam::TDataAssociationResults::indiv_compatibility_counts

The sum of each column of indiv_compatibility, that is, the number of compatible pairings for each observation.

Definition at line 114 of file data_association.h.

Referenced by clear().

◆ indiv_distances

mrpt::math::CMatrixDouble mrpt::slam::TDataAssociationResults::indiv_distances

Individual mahalanobis distances (or matching likelihood, depending on the selected metric) between predictions (row indices) & observations (column indices).

Indices are for the appearing order in the arguments "Y_predictions_mean" & "Z_observations", they are NOT landmark IDs.

Definition at line 108 of file data_association.h.

Referenced by clear().

◆ nNodesExploredInJCBB

size_t mrpt::slam::TDataAssociationResults::nNodesExploredInJCBB

Only for the JCBB method,the number of recursive calls expent in the algorithm.

Definition at line 118 of file data_association.h.

Referenced by clear().




Page generated by Doxygen 1.8.14 for MRPT 1.9.9 Git: 7d5e6d718 Fri Aug 24 01:51:28 2018 +0200 at lun nov 2 08:35:50 CET 2020