Sophie

Sophie

distrib > Fedora > 14 > x86_64 > by-pkgid > e6f1a3debfddb2a6cccaab627266a0ea > files > 8572

mrpt-doc-0.9.0-0.5.fc14.x86_64.rpm

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1">
<title>The MRPT project: mrpt::slam::TDataAssociationResults Struct Reference</title>
<link href="doxygen.css" rel="stylesheet" type="text/css">
<link href="tabs.css" rel="stylesheet" type="text/css">
</head><body>
<div align="left"><a href="http://www.mrpt.org/">Main MRPT website</a> &gt; <b>C++ reference</b> </div>
<div align="right">
<a href="index.html"><img border="0" src="mrpt_logo.png" alt="MRPT logo"></a>
</div>
<!-- Generated by Doxygen 1.6.2-20100208 -->
<script type="text/javascript"><!--
var searchBox = new SearchBox("searchBox", "search",false,'Search');
--></script>
<div class="navigation" id="top">
  <div class="tabs">
    <ul>
      <li><a href="index.html"><span>Main&nbsp;Page</span></a></li>
      <li><a href="pages.html"><span>Related&nbsp;Pages</span></a></li>
      <li><a href="namespaces.html"><span>Namespaces</span></a></li>
      <li class="current"><a href="annotated.html"><span>Classes</span></a></li>
      <li><a href="files.html"><span>Files</span></a></li>
      <li>
        <div id="MSearchBox" class="MSearchBoxInactive">
        <img id="MSearchSelect" src="search/search.png"
             onmouseover="return searchBox.OnSearchSelectShow()"
             onmouseout="return searchBox.OnSearchSelectHide()"
             alt=""/>
        <input type="text" id="MSearchField" value="Search" accesskey="S"
             onfocus="searchBox.OnSearchFieldFocus(true)" 
             onblur="searchBox.OnSearchFieldFocus(false)" 
             onkeyup="searchBox.OnSearchFieldChange(event)"/>
        <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
        </div>
      </li>
    </ul>
  </div>
  <div class="tabs">
    <ul>
      <li><a href="annotated.html"><span>Class&nbsp;List</span></a></li>
      <li><a href="classes.html"><span>Class&nbsp;Index</span></a></li>
      <li><a href="hierarchy.html"><span>Class&nbsp;Hierarchy</span></a></li>
      <li><a href="functions.html"><span>Class&nbsp;Members</span></a></li>
    </ul>
  </div>
  <div class="navpath"><a class="el" href="namespacemrpt.html">mrpt</a>::<a class="el" href="namespacemrpt_1_1slam.html">slam</a>::<a class="el" href="structmrpt_1_1slam_1_1_t_data_association_results.html">TDataAssociationResults</a>
  </div>
</div>
<div class="contents">
<h1>mrpt::slam::TDataAssociationResults Struct Reference</h1><!-- doxytag: class="mrpt::slam::TDataAssociationResults" -->
<p>The results from mrpt::slam::data_association.  
<a href="#_details">More...</a></p>

<p><code>#include &lt;<a class="el" href="data__association_8h_source.html">mrpt/slam/data_association.h</a>&gt;</code></p>
<div class="dynheader">
Collaboration diagram for mrpt::slam::TDataAssociationResults:</div>
<div class="dynsection">
<div class="center"><img src="structmrpt_1_1slam_1_1_t_data_association_results__coll__graph.png" border="0" usemap="#mrpt_1_1slam_1_1_t_data_association_results_coll__map" alt="Collaboration graph"/></div>
<map name="mrpt_1_1slam_1_1_t_data_association_results_coll__map" id="mrpt_1_1slam_1_1_t_data_association_results_coll__map">
<area shape="rect" id="node2" href="classmrpt_1_1math_1_1_c_matrix_template_numeric.html" title="mrpt::math::CMatrixTemplateNumeric\&lt; double \&gt;" alt="" coords="465,5,769,35"/><area shape="rect" id="node4" href="classmrpt_1_1math_1_1_c_matrix_template.html" title="mrpt::math::CMatrixTemplate\&lt; double \&gt;" alt="" coords="148,5,401,35"/><area shape="rect" id="node6" href="structmrpt_1_1mrpt__base__vector.html" title="mrpt::mrpt_base_vector\&lt; uint32_t \&gt;" alt="" coords="503,59,732,88"/><area shape="rect" id="node8" title="STL class." alt="" coords="197,59,352,88"/><area shape="rect" id="node14" href="classmrpt_1_1math_1_1_c_matrix_template.html" title="mrpt::math::CMatrixTemplate\&lt; bool \&gt;" alt="" coords="497,165,737,195"/></map>
<center><span class="legend">[<a href="graph_legend.html">legend</a>]</span></center></div>

<p><a href="structmrpt_1_1slam_1_1_t_data_association_results-members.html">List of all members.</a></p>
<table border="0" cellpadding="0" cellspacing="0">
<tr><td colspan="2"><h2>Public Member Functions</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="structmrpt_1_1slam_1_1_t_data_association_results.html#ae6155e1d790b03ab2e2b2d3eedb9e00b">TDataAssociationResults</a> ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="structmrpt_1_1slam_1_1_t_data_association_results.html#a425f501efbf046e7d2ba773c82ce7a44">clear</a> ()</td></tr>
<tr><td colspan="2"><h2>Public Attributes</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">std::map&lt; <a class="el" href="namespacemrpt_1_1slam.html#a520476290900728ff7128ce1fba33ab5">observation_index_t</a>, <br class="typebreak"/>
<a class="el" href="namespacemrpt_1_1slam.html#a4869496c65ccee6078ffc64e8c855e8d">prediction_index_t</a> &gt;&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="structmrpt_1_1slam_1_1_t_data_association_results.html#a47727dc3a6bc9f88974b08d34f1c783d">associations</a></td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">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).  <a href="#a47727dc3a6bc9f88974b08d34f1c783d"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">double&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="structmrpt_1_1slam_1_1_t_data_association_results.html#a3f0cec95426056d1a536b22785078e9b">distance</a></td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">The Joint Mahalanobis distance or matching likelihood of the best associations found.  <a href="#a3f0cec95426056d1a536b22785078e9b"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="classmrpt_1_1math_1_1_c_matrix_template_numeric.html">mrpt::math::CMatrixDouble</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="structmrpt_1_1slam_1_1_t_data_association_results.html#a998a153a5ada602d484238e80c8b9530">indiv_distances</a></td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Individual mahalanobis distances (or matching likelihood, depending on the selected metric) between predictions (row indices) &amp; observations (column indices).  <a href="#a998a153a5ada602d484238e80c8b9530"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="classmrpt_1_1math_1_1_c_matrix_template.html">mrpt::math::CMatrixBool</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="structmrpt_1_1slam_1_1_t_data_association_results.html#a4ba3250f7177d2624c1b0192ec226fea">indiv_compatibility</a></td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">The result of a chi2 test for compatibility using mahalanobis distance - Indices are like in "indiv_distances".  <a href="#a4ba3250f7177d2624c1b0192ec226fea"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="structmrpt_1_1mrpt__base__vector.html">vector_uint</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="structmrpt_1_1slam_1_1_t_data_association_results.html#a6aa1c8c14c99f323e7d3c2932a58045e">indiv_compatibility_counts</a></td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">The sum of each column of indiv_compatibility, that is, the number of compatible pairings for each observation.  <a href="#a6aa1c8c14c99f323e7d3c2932a58045e"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">size_t&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="structmrpt_1_1slam_1_1_t_data_association_results.html#a9bc2b4d6b59e3a697f964cfe0fe5f5aa">nNodesExploredInJCBB</a></td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Only for the JCBB method,the number of recursive calls expent in the algorithm.  <a href="#a9bc2b4d6b59e3a697f964cfe0fe5f5aa"></a><br/></td></tr>
</table>
<hr/><a name="_details"></a><h2>Detailed Description</h2>
<p>The results from mrpt::slam::data_association. </p>

<p>Definition at line <a class="el" href="data__association_8h_source.html#l00066">66</a> of file <a class="el" href="data__association_8h_source.html">data_association.h</a>.</p>
<hr/><h2>Constructor &amp; Destructor Documentation</h2>
<a class="anchor" id="ae6155e1d790b03ab2e2b2d3eedb9e00b"></a><!-- doxytag: member="mrpt::slam::TDataAssociationResults::TDataAssociationResults" ref="ae6155e1d790b03ab2e2b2d3eedb9e00b" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">mrpt::slam::TDataAssociationResults::TDataAssociationResults </td>
          <td>(</td>
          <td class="paramname"></td>
          <td>&nbsp;)&nbsp;</td>
          <td><code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Definition at line <a class="el" href="data__association_8h_source.html#l00068">68</a> of file <a class="el" href="data__association_8h_source.html">data_association.h</a>.</p>

</div>
</div>
<hr/><h2>Member Function Documentation</h2>
<a class="anchor" id="a425f501efbf046e7d2ba773c82ce7a44"></a><!-- doxytag: member="mrpt::slam::TDataAssociationResults::clear" ref="a425f501efbf046e7d2ba773c82ce7a44" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void mrpt::slam::TDataAssociationResults::clear </td>
          <td>(</td>
          <td class="paramtype">void&nbsp;</td>
          <td class="paramname"></td>
          <td>&nbsp;)&nbsp;</td>
          <td><code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Definition at line <a class="el" href="data__association_8h_source.html#l00077">77</a> of file <a class="el" href="data__association_8h_source.html">data_association.h</a>.</p>

<p>References <a class="el" href="namespacemrpt_1_1math.html#a8c0a76e906f12560cfa49fcd269c8398">mrpt::math::distance()</a>.</p>

</div>
</div>
<hr/><h2>Member Data Documentation</h2>
<a class="anchor" id="a47727dc3a6bc9f88974b08d34f1c783d"></a><!-- doxytag: member="mrpt::slam::TDataAssociationResults::associations" ref="a47727dc3a6bc9f88974b08d34f1c783d" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">std::map&lt;<a class="el" href="namespacemrpt_1_1slam.html#a520476290900728ff7128ce1fba33ab5">observation_index_t</a>,<a class="el" href="namespacemrpt_1_1slam.html#a4869496c65ccee6078ffc64e8c855e8d">prediction_index_t</a>&gt; <a class="el" href="structmrpt_1_1slam_1_1_t_data_association_results.html#a47727dc3a6bc9f88974b08d34f1c783d">mrpt::slam::TDataAssociationResults::associations</a></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>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). </p>
<p>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() ) </p>
<dl class="note"><dt><b>Note:</b></dt><dd>The types observation_index_t and prediction_index_t are just used for clarity, use normal size_t's. </dd></dl>

<p>Definition at line <a class="el" href="data__association_8h_source.html#l00093">93</a> of file <a class="el" href="data__association_8h_source.html">data_association.h</a>.</p>

</div>
</div>
<a class="anchor" id="a3f0cec95426056d1a536b22785078e9b"></a><!-- doxytag: member="mrpt::slam::TDataAssociationResults::distance" ref="a3f0cec95426056d1a536b22785078e9b" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">double <a class="el" href="structmrpt_1_1slam_1_1_t_data_association_results.html#a3f0cec95426056d1a536b22785078e9b">mrpt::slam::TDataAssociationResults::distance</a></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>The Joint Mahalanobis distance or matching likelihood of the best associations found. </p>

<p>Definition at line <a class="el" href="data__association_8h_source.html#l00094">94</a> of file <a class="el" href="data__association_8h_source.html">data_association.h</a>.</p>

</div>
</div>
<a class="anchor" id="a4ba3250f7177d2624c1b0192ec226fea"></a><!-- doxytag: member="mrpt::slam::TDataAssociationResults::indiv_compatibility" ref="a4ba3250f7177d2624c1b0192ec226fea" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classmrpt_1_1math_1_1_c_matrix_template.html">mrpt::math::CMatrixBool</a> <a class="el" href="structmrpt_1_1slam_1_1_t_data_association_results.html#a4ba3250f7177d2624c1b0192ec226fea">mrpt::slam::TDataAssociationResults::indiv_compatibility</a></td>
        </tr>
      </table>
</div>
<div class="memdoc">

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

<p>Definition at line <a class="el" href="data__association_8h_source.html#l00100">100</a> of file <a class="el" href="data__association_8h_source.html">data_association.h</a>.</p>

</div>
</div>
<a class="anchor" id="a6aa1c8c14c99f323e7d3c2932a58045e"></a><!-- doxytag: member="mrpt::slam::TDataAssociationResults::indiv_compatibility_counts" ref="a6aa1c8c14c99f323e7d3c2932a58045e" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="structmrpt_1_1mrpt__base__vector.html">vector_uint</a> <a class="el" href="structmrpt_1_1slam_1_1_t_data_association_results.html#a6aa1c8c14c99f323e7d3c2932a58045e">mrpt::slam::TDataAssociationResults::indiv_compatibility_counts</a></td>
        </tr>
      </table>
</div>
<div class="memdoc">

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

<p>Definition at line <a class="el" href="data__association_8h_source.html#l00101">101</a> of file <a class="el" href="data__association_8h_source.html">data_association.h</a>.</p>

</div>
</div>
<a class="anchor" id="a998a153a5ada602d484238e80c8b9530"></a><!-- doxytag: member="mrpt::slam::TDataAssociationResults::indiv_distances" ref="a998a153a5ada602d484238e80c8b9530" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classmrpt_1_1math_1_1_c_matrix_template_numeric.html">mrpt::math::CMatrixDouble</a> <a class="el" href="structmrpt_1_1slam_1_1_t_data_association_results.html#a998a153a5ada602d484238e80c8b9530">mrpt::slam::TDataAssociationResults::indiv_distances</a></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Individual mahalanobis distances (or matching likelihood, depending on the selected metric) between predictions (row indices) &amp; observations (column indices). </p>
<p>Indices are for the appearing order in the arguments "Y_predictions_mean" &amp; "Z_observations", they are NOT landmark IDs. </p>

<p>Definition at line <a class="el" href="data__association_8h_source.html#l00099">99</a> of file <a class="el" href="data__association_8h_source.html">data_association.h</a>.</p>

</div>
</div>
<a class="anchor" id="a9bc2b4d6b59e3a697f964cfe0fe5f5aa"></a><!-- doxytag: member="mrpt::slam::TDataAssociationResults::nNodesExploredInJCBB" ref="a9bc2b4d6b59e3a697f964cfe0fe5f5aa" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">size_t <a class="el" href="structmrpt_1_1slam_1_1_t_data_association_results.html#a9bc2b4d6b59e3a697f964cfe0fe5f5aa">mrpt::slam::TDataAssociationResults::nNodesExploredInJCBB</a></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Only for the JCBB method,the number of recursive calls expent in the algorithm. </p>

<p>Definition at line <a class="el" href="data__association_8h_source.html#l00103">103</a> of file <a class="el" href="data__association_8h_source.html">data_association.h</a>.</p>

</div>
</div>
</div>
<!--- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
<a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(0)"><span class="SelectionMark">&nbsp;</span>All</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(1)"><span class="SelectionMark">&nbsp;</span>Classes</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(2)"><span class="SelectionMark">&nbsp;</span>Namespaces</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(3)"><span class="SelectionMark">&nbsp;</span>Files</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(4)"><span class="SelectionMark">&nbsp;</span>Functions</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(5)"><span class="SelectionMark">&nbsp;</span>Variables</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(6)"><span class="SelectionMark">&nbsp;</span>Typedefs</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(7)"><span class="SelectionMark">&nbsp;</span>Enumerations</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(8)"><span class="SelectionMark">&nbsp;</span>Enumerator</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(9)"><span class="SelectionMark">&nbsp;</span>Friends</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(10)"><span class="SelectionMark">&nbsp;</span>Defines</a></div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<br><hr><br> <table border="0" width="100%"> <tr> <td> Page generated by <a href="http://www.doxygen.org" target="_blank">Doxygen 1.6.2-20100208</a> for MRPT 0.9.0 SVN: at Wed Jul 14 12:48:09 UTC 2010</td><td></td> <td width="100"> </td> <td width="150">  </td></tr> </table> </body></html>