Sophie

Sophie

distrib > Fedora > 15 > i386 > by-pkgid > 2f6559b7006594cad03af173263c219e > files > 3361

mrpt-doc-0.9.4-0.1.20110110svn2383.fc15.i686.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::hmtslam::CHierarchicalMapMHPartition Class 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.7.2 -->
<script type="text/javascript"><!--
var searchBox = new SearchBox("searchBox", "search",false,'Search');
--></script>
<div class="navigation" id="top">
  <div class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>Main&#160;Page</span></a></li>
      <li><a href="pages.html"><span>Related&#160;Pages</span></a></li>
      <li><a href="modules.html"><span>Modules</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 id="searchli">
        <div id="MSearchBox" class="MSearchBoxInactive">
          <span class="left">
            <form id="FSearchBox" action="search.php" method="get">
              <img id="MSearchSelect" src="search/mag.png" alt=""/>
              <input type="text" id="MSearchField" name="query" value="Search" size="20" accesskey="S" 
                     onfocus="searchBox.OnSearchFieldFocus(true)" 
                     onblur="searchBox.OnSearchFieldFocus(false)"/>
            </form>
          </span><span class="right"></span>
        </div>
      </li>
    </ul>
  </div>
  <div class="tabs2">
    <ul class="tablist">
      <li><a href="annotated.html"><span>Class&#160;List</span></a></li>
      <li><a href="classes.html"><span>Class&#160;Index</span></a></li>
      <li><a href="hierarchy.html"><span>Class&#160;Hierarchy</span></a></li>
      <li><a href="functions.html"><span>Class&#160;Members</span></a></li>
    </ul>
  </div>
  <div class="navpath">
    <ul>
      <li><a class="el" href="namespacemrpt.html">mrpt</a>      </li>
      <li><a class="el" href="namespacemrpt_1_1hmtslam.html">hmtslam</a>      </li>
      <li><a class="el" href="classmrpt_1_1hmtslam_1_1_c_hierarchical_map_m_h_partition.html">CHierarchicalMapMHPartition</a>      </li>
    </ul>
  </div>
</div>
<div class="header">
  <div class="summary">
<a href="#pub-types">Public Types</a> &#124;
<a href="#pub-methods">Public Member Functions</a> &#124;
<a href="#pro-attribs">Protected Attributes</a>  </div>
  <div class="headertitle">
<h1>mrpt::hmtslam::CHierarchicalMapMHPartition Class Reference</h1>  </div>
</div>
<div class="contents">
<!-- doxytag: class="mrpt::hmtslam::CHierarchicalMapMHPartition" --><!-- doxytag: inherits="mrpt::utils::CDebugOutputCapable" --><hr/><a name="_details"></a><h2>Detailed Description</h2>
<p>Represents a set of nodes and arcs, posibly only a part of the whole hierarchical, multi-hypothesis map. </p>
<p>A usar will never create an instance of this class, rather it will employ <a class="el" href="classmrpt_1_1hmtslam_1_1_c_hierarchical_m_h_map.html" title="The most high level class for storing hybrid, multi-hypothesis maps in a graph-based model...">CHierarchicalMHMap</a>. </p>
<dl class="see"><dt><b>See also:</b></dt><dd><a class="el" href="classmrpt_1_1hmtslam_1_1_c_hierarchical_m_h_map.html" title="The most high level class for storing hybrid, multi-hypothesis maps in a graph-based model...">CHierarchicalMHMap</a>, <a class="el" href="classmrpt_1_1hmtslam_1_1_c_h_m_h_map_arc.html" title="A class for representing an arc between two nodes in a hierarchical, multi-hypothesis map...">CHMHMapArc</a>, <a class="el" href="classmrpt_1_1hmtslam_1_1_c_h_m_h_map_node.html" title="A class for representing a node in a hierarchical, multi-hypothesis map.">CHMHMapNode</a> </dd></dl>

<p>Definition at line <a class="el" href="_c_hierarchical_map_m_h_partition_8h_source.html#l00053">53</a> of file <a class="el" href="_c_hierarchical_map_m_h_partition_8h_source.html">CHierarchicalMapMHPartition.h</a>.</p>

<p><code>#include &lt;<a class="el" href="_c_hierarchical_map_m_h_partition_8h_source.html">mrpt/hmtslam/CHierarchicalMapMHPartition.h</a>&gt;</code></p>
<!-- startSectionHeader --><div class="dynheader">
Inheritance diagram for mrpt::hmtslam::CHierarchicalMapMHPartition:<!-- endSectionHeader --></div>
<!-- startSectionSummary --><!-- endSectionSummary --><!-- startSectionContent --><div class="dyncontent">
<div class="center"><img src="classmrpt_1_1hmtslam_1_1_c_hierarchical_map_m_h_partition__inherit__graph.png" border="0" usemap="#mrpt_1_1hmtslam_1_1_c_hierarchical_map_m_h_partition_inherit__map" alt="Inheritance graph"/></div>
<map name="mrpt_1_1hmtslam_1_1_c_hierarchical_map_m_h_partition_inherit__map" id="mrpt_1_1hmtslam_1_1_c_hierarchical_map_m_h_partition_inherit__map">
</map>
<center><span class="legend">[<a href="graph_legend.html">legend</a>]</span></center><!-- endSectionContent --></div>

<p><a href="classmrpt_1_1hmtslam_1_1_c_hierarchical_map_m_h_partition-members.html">List of all members.</a></p>
<table class="memberdecls">
<tr><td colspan="2"><h2><a name="pub-types"></a>
Public Types</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">typedef <a class="el" href="eigen__plugins_8h.html#a39c5d6430ea9395ae7ae729dd0c3f18c">TNodeList::iterator</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classmrpt_1_1hmtslam_1_1_c_hierarchical_map_m_h_partition.html#abda92fb19cccffd38ecd7ec9c48adcda">iterator</a></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">typedef <a class="el" href="eigen__plugins_8h.html#a8dbda719917732693c56cee228465ed9">TNodeList::const_iterator</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classmrpt_1_1hmtslam_1_1_c_hierarchical_map_m_h_partition.html#a7cb6ba1d89b2ead39c44de1d063bbd88">const_iterator</a></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">typedef std::vector<br class="typebreak"/>
&lt; <a class="el" href="classmrpt_1_1hmtslam_1_1_c_h_m_h_map_node.html#a4320fd5748b07f6fdb6dd1bdc5b3920e">CHMHMapNode::TNodeID</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classmrpt_1_1hmtslam_1_1_c_hierarchical_map_m_h_partition.html#af915c2c6abe58d01a68140a58e01e9ac">TNodeIDsList</a></td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">A type that reprensents a sequence of node IDs.  <a href="#af915c2c6abe58d01a68140a58e01e9ac"></a><br/></td></tr>
<tr><td colspan="2"><h2><a name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="classmrpt_1_1hmtslam_1_1_c_hierarchical_map_m_h_partition.html#a7cb6ba1d89b2ead39c44de1d063bbd88">const_iterator</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classmrpt_1_1hmtslam_1_1_c_hierarchical_map_m_h_partition.html#a40e2b001643129d01a918a93ac9c0342">begin</a> () const </td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns an iterator to the first node in the graph.  <a href="#a40e2b001643129d01a918a93ac9c0342"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="classmrpt_1_1hmtslam_1_1_c_hierarchical_map_m_h_partition.html#abda92fb19cccffd38ecd7ec9c48adcda">iterator</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classmrpt_1_1hmtslam_1_1_c_hierarchical_map_m_h_partition.html#a081345afbc77fd978d81f92a6fbddd14">begin</a> ()</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns an iterator to the first node in the graph.  <a href="#a081345afbc77fd978d81f92a6fbddd14"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="classmrpt_1_1hmtslam_1_1_c_hierarchical_map_m_h_partition.html#a7cb6ba1d89b2ead39c44de1d063bbd88">const_iterator</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classmrpt_1_1hmtslam_1_1_c_hierarchical_map_m_h_partition.html#a621f610599770cf97997b96e311ce5bb">end</a> () const </td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns an iterator to the end of the list of nodes in the graph.  <a href="#a621f610599770cf97997b96e311ce5bb"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="classmrpt_1_1hmtslam_1_1_c_hierarchical_map_m_h_partition.html#abda92fb19cccffd38ecd7ec9c48adcda">iterator</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classmrpt_1_1hmtslam_1_1_c_hierarchical_map_m_h_partition.html#a1766a6c49ac6d6b2cf75d2763f906a4c">end</a> ()</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns an iterator to the end of the list of nodes in the graph.  <a href="#a1766a6c49ac6d6b2cf75d2763f906a4c"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classmrpt_1_1hmtslam_1_1_c_hierarchical_map_m_h_partition.html#ada400d868d635ea522eb03184c467be0">CHierarchicalMapMHPartition</a> ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">size_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classmrpt_1_1hmtslam_1_1_c_hierarchical_map_m_h_partition.html#a8ad9ae257bfffa0b4480e8e7e582be98">nodeCount</a> () const </td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns the number of nodes in the partition:  <a href="#a8ad9ae257bfffa0b4480e8e7e582be98"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">size_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classmrpt_1_1hmtslam_1_1_c_hierarchical_map_m_h_partition.html#ae111b0cfd886b1c601b616308244c648">arcCount</a> () const </td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns the number of arcs in the partition:  <a href="#ae111b0cfd886b1c601b616308244c648"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="structmrpt_1_1hmtslam_1_1_c_h_m_h_map_node_ptr.html">CHMHMapNodePtr</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classmrpt_1_1hmtslam_1_1_c_hierarchical_map_m_h_partition.html#abb85d2fe6f1f36acf759666e90390d8b">getFirstNode</a> ()</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns the first node in the graph, or NULL if it does not exist.  <a href="#abb85d2fe6f1f36acf759666e90390d8b"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="structmrpt_1_1hmtslam_1_1_c_h_m_h_map_node_ptr.html">CHMHMapNodePtr</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classmrpt_1_1hmtslam_1_1_c_hierarchical_map_m_h_partition.html#ac35e34a2a0a8de369a539fc23558734d">getNodeByID</a> (<a class="el" href="classmrpt_1_1hmtslam_1_1_c_h_m_h_map_node.html#a4320fd5748b07f6fdb6dd1bdc5b3920e">CHMHMapNode::TNodeID</a> id)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns the node with the given ID, or NULL if it does not exist.  <a href="#ac35e34a2a0a8de369a539fc23558734d"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">const <a class="el" href="structmrpt_1_1hmtslam_1_1_c_h_m_h_map_node_ptr.html">CHMHMapNodePtr</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classmrpt_1_1hmtslam_1_1_c_hierarchical_map_m_h_partition.html#ac14b20f6060d646f46c67fa146f21ea3">getNodeByID</a> (<a class="el" href="classmrpt_1_1hmtslam_1_1_c_h_m_h_map_node.html#a4320fd5748b07f6fdb6dd1bdc5b3920e">CHMHMapNode::TNodeID</a> id) const </td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns the node with the given ID, or NULL if it does not exist.  <a href="#ac14b20f6060d646f46c67fa146f21ea3"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="structmrpt_1_1hmtslam_1_1_c_h_m_h_map_node_ptr.html">CHMHMapNodePtr</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classmrpt_1_1hmtslam_1_1_c_hierarchical_map_m_h_partition.html#ae16eb650167aa11f31b8acc160b56189">getNodeByLabel</a> (const std::string &amp;label, const <a class="el" href="namespacemrpt_1_1hmtslam.html#a6a8c7a5cb874400f4df9d1fd6b6ff9ee">THypothesisID</a> &amp;hypothesisID)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns the node with the given label (case insensitive) for some given hypothesis ID, or NULL if it does not exist.  <a href="#ae16eb650167aa11f31b8acc160b56189"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">const <a class="el" href="structmrpt_1_1hmtslam_1_1_c_h_m_h_map_node_ptr.html">CHMHMapNodePtr</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classmrpt_1_1hmtslam_1_1_c_hierarchical_map_m_h_partition.html#a714e041606bd3d736b8de58e38a0a22e">getNodeByLabel</a> (const std::string &amp;label, const <a class="el" href="namespacemrpt_1_1hmtslam.html#a6a8c7a5cb874400f4df9d1fd6b6ff9ee">THypothesisID</a> &amp;hypothesisID) const </td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns the node with the given label (case insensitive) for some given hypothesis ID, or NULL if it does not exist.  <a href="#a714e041606bd3d736b8de58e38a0a22e"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classmrpt_1_1hmtslam_1_1_c_hierarchical_map_m_h_partition.html#aeb3f86d2dd3643b64c7cdfd4c85ff38b">saveAreasDiagramForMATLAB</a> (const std::string &amp;filName, const <a class="el" href="classmrpt_1_1hmtslam_1_1_c_h_m_h_map_node.html#a4320fd5748b07f6fdb6dd1bdc5b3920e">CHMHMapNode::TNodeID</a> &amp;idReferenceNode, const <a class="el" href="namespacemrpt_1_1hmtslam.html#a6a8c7a5cb874400f4df9d1fd6b6ff9ee">THypothesisID</a> &amp;hypothesisID) const </td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns a partition of this graph only with nodes at a given level in the hierarchy (0=ground level,1=parent level,etc)</p>
<ul>
<li>The partition may be empty if no node fulfills the condition. </li>
</ul>
 <a href="#aeb3f86d2dd3643b64c7cdfd4c85ff38b"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classmrpt_1_1hmtslam_1_1_c_hierarchical_map_m_h_partition.html#a825aa85677c14e9f9c31fbed4b599a70">saveAreasDiagramWithEllipsedForMATLAB</a> (const std::string &amp;filName, const <a class="el" href="classmrpt_1_1hmtslam_1_1_c_h_m_h_map_node.html#a4320fd5748b07f6fdb6dd1bdc5b3920e">CHMHMapNode::TNodeID</a> &amp;idReferenceNode, const <a class="el" href="namespacemrpt_1_1hmtslam.html#a6a8c7a5cb874400f4df9d1fd6b6ff9ee">THypothesisID</a> &amp;hypothesisID, float uncertaintyExagerationFactor=1.0f, bool drawArcs=false, unsigned int numberOfIterationsForOptimalGlobalPoses=4) const </td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Saves a MATLAB script that represents graphically the nodes with <em>type</em>="Area" in this hierarchical-map(partition), using the stated node as global coordinates reference, and drawing the ellipses of the localization uncertainty for each node.  <a href="#a825aa85677c14e9f9c31fbed4b599a70"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classmrpt_1_1hmtslam_1_1_c_hierarchical_map_m_h_partition.html#a3b376eb4f52475d4524596b894ed2a8d">saveGlobalMapForMATLAB</a> (const std::string &amp;filName, const <a class="el" href="namespacemrpt_1_1hmtslam.html#a6a8c7a5cb874400f4df9d1fd6b6ff9ee">THypothesisID</a> &amp;hypothesisID, const <a class="el" href="classmrpt_1_1hmtslam_1_1_c_h_m_h_map_node.html#a4320fd5748b07f6fdb6dd1bdc5b3920e">CHMHMapNode::TNodeID</a> &amp;idReferenceNode) const </td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Saves a MATLAB script that represents graphically the reconstructed "global map" ADDITIONAL NOTES:</p>
<ul>
<li>Coordinates are computed simply as the mean value of the first arc with an annotation "RelativePose", added to the pose of the original node. </li>
</ul>
 <a href="#a3b376eb4f52475d4524596b894ed2a8d"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classmrpt_1_1hmtslam_1_1_c_hierarchical_map_m_h_partition.html#a64d5f61fd990f3cc0cddd7fd851dd387">findPathBetweenNodes</a> (const <a class="el" href="classmrpt_1_1hmtslam_1_1_c_h_m_h_map_node.html#a4320fd5748b07f6fdb6dd1bdc5b3920e">CHMHMapNode::TNodeID</a> &amp;nodeFrom, const <a class="el" href="classmrpt_1_1hmtslam_1_1_c_h_m_h_map_node.html#a4320fd5748b07f6fdb6dd1bdc5b3920e">CHMHMapNode::TNodeID</a> &amp;nodeTo, const <a class="el" href="namespacemrpt_1_1hmtslam.html#a6a8c7a5cb874400f4df9d1fd6b6ff9ee">THypothesisID</a> &amp;hypothesisID, <a class="el" href="classmrpt_1_1hmtslam_1_1_t_arc_list.html">TArcList</a> &amp;out_path, bool direction=false) const </td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">The Dijkstra algorithm for finding the shortest path between a pair of nodes.  <a href="#a64d5f61fd990f3cc0cddd7fd851dd387"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classmrpt_1_1hmtslam_1_1_c_hierarchical_map_m_h_partition.html#adf905ff685dbc4177a63e8a923051d88">computeCoordinatesTransformationBetweenNodes</a> (const <a class="el" href="classmrpt_1_1hmtslam_1_1_c_h_m_h_map_node.html#a4320fd5748b07f6fdb6dd1bdc5b3920e">CHMHMapNode::TNodeID</a> &amp;nodeFrom, const <a class="el" href="classmrpt_1_1hmtslam_1_1_c_h_m_h_map_node.html#a4320fd5748b07f6fdb6dd1bdc5b3920e">CHMHMapNode::TNodeID</a> &amp;nodeTo, <a class="el" href="classmrpt_1_1poses_1_1_c_pose3_d_p_d_f_particles.html">CPose3DPDFParticles</a> &amp;posePDF, const <a class="el" href="namespacemrpt_1_1hmtslam.html#a6a8c7a5cb874400f4df9d1fd6b6ff9ee">THypothesisID</a> &amp;hypothesisID, unsigned int particlesCount=100, float additionalNoiseXYratio=0.02, float additionalNoisePhiRad=DEG2RAD(0.1)) const </td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Draw a number of samples according to the PDF of the coordinates transformation between a pair of "Area"'s nodes.  <a href="#adf905ff685dbc4177a63e8a923051d88"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">float&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classmrpt_1_1hmtslam_1_1_c_hierarchical_map_m_h_partition.html#a569d9bccc3e72fed75a8a7fc8151cc2c">computeMatchProbabilityBetweenNodes</a> (const <a class="el" href="classmrpt_1_1hmtslam_1_1_c_h_m_h_map_node.html#a4320fd5748b07f6fdb6dd1bdc5b3920e">CHMHMapNode::TNodeID</a> &amp;nodeFrom, const <a class="el" href="classmrpt_1_1hmtslam_1_1_c_h_m_h_map_node.html#a4320fd5748b07f6fdb6dd1bdc5b3920e">CHMHMapNode::TNodeID</a> &amp;nodeTo, float &amp;maxMatchProb, <a class="el" href="classmrpt_1_1poses_1_1_c_pose3_d_p_d_f_s_o_g.html">CPose3DPDFSOG</a> &amp;estimatedRelativePose, const <a class="el" href="namespacemrpt_1_1hmtslam.html#a6a8c7a5cb874400f4df9d1fd6b6ff9ee">THypothesisID</a> &amp;hypothesisID, unsigned int monteCarloSamplesPose=300)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Computes the probability [0,1] of two areas' gridmaps to "match" (loop closure), according to the grid maps and pose uncertainty from information in arcs (uses a Monte Carlo aproximation) If there is not enough information or a robust estimation cannot be found, there will not be particles in "estimatedRelativePose".  <a href="#a569d9bccc3e72fed75a8a7fc8151cc2c"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classmrpt_1_1hmtslam_1_1_c_hierarchical_map_m_h_partition.html#ad7d883bab5660c9e5f189236ac3d1db8">findArcsBetweenNodes</a> (const <a class="el" href="classmrpt_1_1hmtslam_1_1_c_h_m_h_map_node.html#a4320fd5748b07f6fdb6dd1bdc5b3920e">CHMHMapNode::TNodeID</a> &amp;node1, const <a class="el" href="classmrpt_1_1hmtslam_1_1_c_h_m_h_map_node.html#a4320fd5748b07f6fdb6dd1bdc5b3920e">CHMHMapNode::TNodeID</a> &amp;node2, const <a class="el" href="namespacemrpt_1_1hmtslam.html#a6a8c7a5cb874400f4df9d1fd6b6ff9ee">THypothesisID</a> &amp;hypothesisID, <a class="el" href="classmrpt_1_1hmtslam_1_1_t_arc_list.html">TArcList</a> &amp;out_listArcs) const </td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns all the arcs between a pair of nodes:  <a href="#ad7d883bab5660c9e5f189236ac3d1db8"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classmrpt_1_1hmtslam_1_1_c_hierarchical_map_m_h_partition.html#a6e0c7c1686b06c081327c848ec175772">findArcsOfTypeBetweenNodes</a> (const <a class="el" href="classmrpt_1_1hmtslam_1_1_c_h_m_h_map_node.html#a4320fd5748b07f6fdb6dd1bdc5b3920e">CHMHMapNode::TNodeID</a> &amp;node1id, const <a class="el" href="classmrpt_1_1hmtslam_1_1_c_h_m_h_map_node.html#a4320fd5748b07f6fdb6dd1bdc5b3920e">CHMHMapNode::TNodeID</a> &amp;node2id, const <a class="el" href="namespacemrpt_1_1hmtslam.html#a6a8c7a5cb874400f4df9d1fd6b6ff9ee">THypothesisID</a> &amp;hypothesisID, const std::string &amp;arcType, <a class="el" href="classmrpt_1_1hmtslam_1_1_t_arc_list.html">TArcList</a> &amp;ret) const </td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns the arcs between a pair of nodes of a given type.  <a href="#a6e0c7c1686b06c081327c848ec175772"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="structmrpt_1_1hmtslam_1_1_c_h_m_h_map_arc_ptr.html">CHMHMapArcPtr</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classmrpt_1_1hmtslam_1_1_c_hierarchical_map_m_h_partition.html#a64d6801fdcd9a1199378ea84a8aeed7a">findArcOfTypeBetweenNodes</a> (const <a class="el" href="classmrpt_1_1hmtslam_1_1_c_h_m_h_map_node.html#a4320fd5748b07f6fdb6dd1bdc5b3920e">CHMHMapNode::TNodeID</a> &amp;node1id, const <a class="el" href="classmrpt_1_1hmtslam_1_1_c_h_m_h_map_node.html#a4320fd5748b07f6fdb6dd1bdc5b3920e">CHMHMapNode::TNodeID</a> &amp;node2id, const <a class="el" href="namespacemrpt_1_1hmtslam.html#a6a8c7a5cb874400f4df9d1fd6b6ff9ee">THypothesisID</a> &amp;hypothesisID, const std::string &amp;arcType, bool &amp;isInverted) const </td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns the first arc between a pair of nodes of a given type, and if it is in the opposite direction.  <a href="#a64d6801fdcd9a1199378ea84a8aeed7a"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classmrpt_1_1hmtslam_1_1_c_hierarchical_map_m_h_partition.html#a88be14a1b9d11aa5cd06c7fe2bd662ab">areNodesNeightbour</a> (const <a class="el" href="classmrpt_1_1hmtslam_1_1_c_h_m_h_map_node.html#a4320fd5748b07f6fdb6dd1bdc5b3920e">CHMHMapNode::TNodeID</a> &amp;node1, const <a class="el" href="classmrpt_1_1hmtslam_1_1_c_h_m_h_map_node.html#a4320fd5748b07f6fdb6dd1bdc5b3920e">CHMHMapNode::TNodeID</a> &amp;node2, const <a class="el" href="namespacemrpt_1_1hmtslam.html#a6a8c7a5cb874400f4df9d1fd6b6ff9ee">THypothesisID</a> &amp;hypothesisID, const char *requiredAnnotation=NULL) const </td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns wether two nodes are "neightbour", i.e.  <a href="#a88be14a1b9d11aa5cd06c7fe2bd662ab"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classmrpt_1_1hmtslam_1_1_c_hierarchical_map_m_h_partition.html#a622ea641da767f7544f16ea0ccb4b76a">computeGloballyConsistentNodeCoordinates</a> (std::map&lt; <a class="el" href="classmrpt_1_1hmtslam_1_1_c_h_m_h_map_node.html#a4320fd5748b07f6fdb6dd1bdc5b3920e">CHMHMapNode::TNodeID</a>, <a class="el" href="classmrpt_1_1poses_1_1_c_pose3_d_p_d_f_gaussian.html">CPose3DPDFGaussian</a>, std::less&lt; <a class="el" href="classmrpt_1_1hmtslam_1_1_c_h_m_h_map_node.html#a4320fd5748b07f6fdb6dd1bdc5b3920e">CHMHMapNode::TNodeID</a> &gt;, Eigen::aligned_allocator&lt; std::pair&lt; const <a class="el" href="classmrpt_1_1hmtslam_1_1_c_h_m_h_map_node.html#a4320fd5748b07f6fdb6dd1bdc5b3920e">CHMHMapNode::TNodeID</a>, <a class="el" href="classmrpt_1_1poses_1_1_c_pose3_d_p_d_f_gaussian.html">CPose3DPDFGaussian</a> &gt; &gt; &gt; &amp;nodePoses, const <a class="el" href="classmrpt_1_1hmtslam_1_1_c_h_m_h_map_node.html#a4320fd5748b07f6fdb6dd1bdc5b3920e">CHMHMapNode::TNodeID</a> &amp;idReferenceNode, const <a class="el" href="namespacemrpt_1_1hmtslam.html#a6a8c7a5cb874400f4df9d1fd6b6ff9ee">THypothesisID</a> &amp;hypothesisID, const unsigned int &amp;numberOfIterations=2) const </td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">This methods implements a Lu&amp;Milios-like globally optimal estimation for the global coordinates of all the nodes in the graph according to all available arcs with relative pose information.  <a href="#a622ea641da767f7544f16ea0ccb4b76a"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classmrpt_1_1hmtslam_1_1_c_hierarchical_map_m_h_partition.html#a876cb478925b974e591a54e26c07b3b1">getAs3DScene</a> (<a class="el" href="classmrpt_1_1opengl_1_1_c_open_g_l_scene.html">COpenGLScene</a> &amp;outScene, const <a class="el" href="classmrpt_1_1hmtslam_1_1_c_h_m_h_map_node.html#a4320fd5748b07f6fdb6dd1bdc5b3920e">CHMHMapNode::TNodeID</a> &amp;idReferenceNode, const <a class="el" href="namespacemrpt_1_1hmtslam.html#a6a8c7a5cb874400f4df9d1fd6b6ff9ee">THypothesisID</a> &amp;hypothesisID, const unsigned int &amp;numberOfIterationsForOptimalGlobalPoses=5, const bool &amp;showRobotPoseIDs=true) const </td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns a 3D scene reconstruction of the hierarchical map.  <a href="#a876cb478925b974e591a54e26c07b3b1"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classmrpt_1_1hmtslam_1_1_c_hierarchical_map_m_h_partition.html#aaba93975aa999001ba5207012416d89f">dumpAsText</a> (<a class="el" href="classmrpt_1_1utils_1_1_c_string_list.html">utils::CStringList</a> &amp;s) const </td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Return a textual description of the whole graph.  <a href="#aaba93975aa999001ba5207012416d89f"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">double&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classmrpt_1_1hmtslam_1_1_c_hierarchical_map_m_h_partition.html#a73c0e99573d38acb6dc8cb081ffca2b3">computeOverlapProbabilityBetweenNodes</a> (const <a class="el" href="classmrpt_1_1hmtslam_1_1_c_h_m_h_map_node.html#a4320fd5748b07f6fdb6dd1bdc5b3920e">CHMHMapNode::TNodeID</a> &amp;nodeFrom, const <a class="el" href="classmrpt_1_1hmtslam_1_1_c_h_m_h_map_node.html#a4320fd5748b07f6fdb6dd1bdc5b3920e">CHMHMapNode::TNodeID</a> &amp;nodeTo, const <a class="el" href="namespacemrpt_1_1hmtslam.html#a6a8c7a5cb874400f4df9d1fd6b6ff9ee">THypothesisID</a> &amp;hypothesisID, const size_t &amp;monteCarloSamples=100, const float margin_to_substract=6) const </td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Computes the probability [0,1] of two areas' gridmaps to overlap, via a Monte Carlo aproximation.  <a href="#a73c0e99573d38acb6dc8cb081ffca2b3"></a><br/></td></tr>
<tr><td colspan="2"><h2><a name="pro-attribs"></a>
Protected Attributes</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="namespacemrpt_1_1hmtslam.html#a04795d80cac41d58249a613e7f3c4f40">TNodeList</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classmrpt_1_1hmtslam_1_1_c_hierarchical_map_m_h_partition.html#a97f44ac662f858ab9a8cd33c128713a9">m_nodes</a></td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">The internal list of nodes and arcs in the whole hierarchical model.  <a href="#a97f44ac662f858ab9a8cd33c128713a9"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="classmrpt_1_1hmtslam_1_1_t_arc_list.html">TArcList</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classmrpt_1_1hmtslam_1_1_c_hierarchical_map_m_h_partition.html#a98c8bce19fc619cc1501c8609aa02b19">m_arcs</a></td></tr>
</table>
<hr/><h2>Member Typedef Documentation</h2>
<a class="anchor" id="a7cb6ba1d89b2ead39c44de1d063bbd88"></a><!-- doxytag: member="mrpt::hmtslam::CHierarchicalMapMHPartition::const_iterator" ref="a7cb6ba1d89b2ead39c44de1d063bbd88" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">typedef <a class="el" href="eigen__plugins_8h.html#a8dbda719917732693c56cee228465ed9">TNodeList::const_iterator</a> <a class="el" href="classmrpt_1_1hmtslam_1_1_c_hierarchical_map_m_h_partition.html#a7cb6ba1d89b2ead39c44de1d063bbd88">mrpt::hmtslam::CHierarchicalMapMHPartition::const_iterator</a></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Definition at line <a class="el" href="_c_hierarchical_map_m_h_partition_8h_source.html#l00065">65</a> of file <a class="el" href="_c_hierarchical_map_m_h_partition_8h_source.html">CHierarchicalMapMHPartition.h</a>.</p>

</div>
</div>
<a class="anchor" id="abda92fb19cccffd38ecd7ec9c48adcda"></a><!-- doxytag: member="mrpt::hmtslam::CHierarchicalMapMHPartition::iterator" ref="abda92fb19cccffd38ecd7ec9c48adcda" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">typedef <a class="el" href="eigen__plugins_8h.html#a39c5d6430ea9395ae7ae729dd0c3f18c">TNodeList::iterator</a> <a class="el" href="classmrpt_1_1hmtslam_1_1_c_hierarchical_map_m_h_partition.html#abda92fb19cccffd38ecd7ec9c48adcda">mrpt::hmtslam::CHierarchicalMapMHPartition::iterator</a></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Definition at line <a class="el" href="_c_hierarchical_map_m_h_partition_8h_source.html#l00064">64</a> of file <a class="el" href="_c_hierarchical_map_m_h_partition_8h_source.html">CHierarchicalMapMHPartition.h</a>.</p>

</div>
</div>
<a class="anchor" id="af915c2c6abe58d01a68140a58e01e9ac"></a><!-- doxytag: member="mrpt::hmtslam::CHierarchicalMapMHPartition::TNodeIDsList" ref="af915c2c6abe58d01a68140a58e01e9ac" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">typedef std::vector&lt;<a class="el" href="classmrpt_1_1hmtslam_1_1_c_h_m_h_map_node.html#a4320fd5748b07f6fdb6dd1bdc5b3920e">CHMHMapNode::TNodeID</a>&gt; <a class="el" href="classmrpt_1_1hmtslam_1_1_c_hierarchical_map_m_h_partition.html#af915c2c6abe58d01a68140a58e01e9ac">mrpt::hmtslam::CHierarchicalMapMHPartition::TNodeIDsList</a></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>A type that reprensents a sequence of node IDs. </p>

<p>Definition at line <a class="el" href="_c_hierarchical_map_m_h_partition_8h_source.html#l00085">85</a> of file <a class="el" href="_c_hierarchical_map_m_h_partition_8h_source.html">CHierarchicalMapMHPartition.h</a>.</p>

</div>
</div>
<hr/><h2>Constructor &amp; Destructor Documentation</h2>
<a class="anchor" id="ada400d868d635ea522eb03184c467be0"></a><!-- doxytag: member="mrpt::hmtslam::CHierarchicalMapMHPartition::CHierarchicalMapMHPartition" ref="ada400d868d635ea522eb03184c467be0" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">mrpt::hmtslam::CHierarchicalMapMHPartition::CHierarchicalMapMHPartition </td>
          <td>(</td>
          <td class="paramname">&#160;)</td>
          <td><code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Definition at line <a class="el" href="_c_hierarchical_map_m_h_partition_8h_source.html#l00080">80</a> of file <a class="el" href="_c_hierarchical_map_m_h_partition_8h_source.html">CHierarchicalMapMHPartition.h</a>.</p>

</div>
</div>
<hr/><h2>Member Function Documentation</h2>
<a class="anchor" id="ae111b0cfd886b1c601b616308244c648"></a><!-- doxytag: member="mrpt::hmtslam::CHierarchicalMapMHPartition::arcCount" ref="ae111b0cfd886b1c601b616308244c648" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">size_t mrpt::hmtslam::CHierarchicalMapMHPartition::arcCount </td>
          <td>(</td>
          <td class="paramname">&#160;)</td>
          <td> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Returns the number of arcs in the partition: </p>

</div>
</div>
<a class="anchor" id="a88be14a1b9d11aa5cd06c7fe2bd662ab"></a><!-- doxytag: member="mrpt::hmtslam::CHierarchicalMapMHPartition::areNodesNeightbour" ref="a88be14a1b9d11aa5cd06c7fe2bd662ab" args="(const CHMHMapNode::TNodeID &amp;node1, const CHMHMapNode::TNodeID &amp;node2, const THypothesisID &amp;hypothesisID, const char *requiredAnnotation=NULL) const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool mrpt::hmtslam::CHierarchicalMapMHPartition::areNodesNeightbour </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classmrpt_1_1hmtslam_1_1_c_h_m_h_map_node.html#a4320fd5748b07f6fdb6dd1bdc5b3920e">CHMHMapNode::TNodeID</a> &amp;&#160;</td>
          <td class="paramname"> <em>node1</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="classmrpt_1_1hmtslam_1_1_c_h_m_h_map_node.html#a4320fd5748b07f6fdb6dd1bdc5b3920e">CHMHMapNode::TNodeID</a> &amp;&#160;</td>
          <td class="paramname"> <em>node2</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="namespacemrpt_1_1hmtslam.html#a6a8c7a5cb874400f4df9d1fd6b6ff9ee">THypothesisID</a> &amp;&#160;</td>
          <td class="paramname"> <em>hypothesisID</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const char *&#160;</td>
          <td class="paramname"> <em>requiredAnnotation</em> = <code>NULL</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Returns wether two nodes are "neightbour", i.e. </p>
<p>have a direct arc between them </p>

</div>
</div>
<a class="anchor" id="a081345afbc77fd978d81f92a6fbddd14"></a><!-- doxytag: member="mrpt::hmtslam::CHierarchicalMapMHPartition::begin" ref="a081345afbc77fd978d81f92a6fbddd14" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classmrpt_1_1hmtslam_1_1_c_hierarchical_map_m_h_partition.html#abda92fb19cccffd38ecd7ec9c48adcda">iterator</a> mrpt::hmtslam::CHierarchicalMapMHPartition::begin </td>
          <td>(</td>
          <td class="paramname">&#160;)</td>
          <td><code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Returns an iterator to the first node in the graph. </p>

<p>Definition at line <a class="el" href="_c_hierarchical_map_m_h_partition_8h_source.html#l00071">71</a> of file <a class="el" href="_c_hierarchical_map_m_h_partition_8h_source.html">CHierarchicalMapMHPartition.h</a>.</p>

</div>
</div>
<a class="anchor" id="a40e2b001643129d01a918a93ac9c0342"></a><!-- doxytag: member="mrpt::hmtslam::CHierarchicalMapMHPartition::begin" ref="a40e2b001643129d01a918a93ac9c0342" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classmrpt_1_1hmtslam_1_1_c_hierarchical_map_m_h_partition.html#a7cb6ba1d89b2ead39c44de1d063bbd88">const_iterator</a> mrpt::hmtslam::CHierarchicalMapMHPartition::begin </td>
          <td>(</td>
          <td class="paramname">&#160;)</td>
          <td> const<code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Returns an iterator to the first node in the graph. </p>

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

</div>
</div>
<a class="anchor" id="adf905ff685dbc4177a63e8a923051d88"></a><!-- doxytag: member="mrpt::hmtslam::CHierarchicalMapMHPartition::computeCoordinatesTransformationBetweenNodes" ref="adf905ff685dbc4177a63e8a923051d88" args="(const CHMHMapNode::TNodeID &amp;nodeFrom, const CHMHMapNode::TNodeID &amp;nodeTo, CPose3DPDFParticles &amp;posePDF, const THypothesisID &amp;hypothesisID, unsigned int particlesCount=100, float additionalNoiseXYratio=0.02, float additionalNoisePhiRad=DEG2RAD(0.1)) const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void mrpt::hmtslam::CHierarchicalMapMHPartition::computeCoordinatesTransformationBetweenNodes </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classmrpt_1_1hmtslam_1_1_c_h_m_h_map_node.html#a4320fd5748b07f6fdb6dd1bdc5b3920e">CHMHMapNode::TNodeID</a> &amp;&#160;</td>
          <td class="paramname"> <em>nodeFrom</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="classmrpt_1_1hmtslam_1_1_c_h_m_h_map_node.html#a4320fd5748b07f6fdb6dd1bdc5b3920e">CHMHMapNode::TNodeID</a> &amp;&#160;</td>
          <td class="paramname"> <em>nodeTo</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="classmrpt_1_1poses_1_1_c_pose3_d_p_d_f_particles.html">CPose3DPDFParticles</a> &amp;&#160;</td>
          <td class="paramname"> <em>posePDF</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="namespacemrpt_1_1hmtslam.html#a6a8c7a5cb874400f4df9d1fd6b6ff9ee">THypothesisID</a> &amp;&#160;</td>
          <td class="paramname"> <em>hypothesisID</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">unsigned int&#160;</td>
          <td class="paramname"> <em>particlesCount</em> = <code>100</code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">float&#160;</td>
          <td class="paramname"> <em>additionalNoiseXYratio</em> = <code>0.02</code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">float&#160;</td>
          <td class="paramname"> <em>additionalNoisePhiRad</em> = <code>DEG2RAD(0.1)</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Draw a number of samples according to the PDF of the coordinates transformation between a pair of "Area"'s nodes. </p>
<dl><dt><b>Exceptions:</b></dt><dd>
  <table class="exception">
    <tr><td class="paramname">std::exception</td><td>If there is not enought information in arcs to compute the PDF </td></tr>
  </table>
  </dd>
</dl>
<dl class="see"><dt><b>See also:</b></dt><dd><a class="el" href="classmrpt_1_1hmtslam_1_1_c_hierarchical_map_m_h_partition.html#a622ea641da767f7544f16ea0ccb4b76a" title="This methods implements a Lu&amp;Milios-like globally optimal estimation for the global coordinates o...">computeGloballyConsistentNodeCoordinates</a> </dd></dl>

</div>
</div>
<a class="anchor" id="a622ea641da767f7544f16ea0ccb4b76a"></a><!-- doxytag: member="mrpt::hmtslam::CHierarchicalMapMHPartition::computeGloballyConsistentNodeCoordinates" ref="a622ea641da767f7544f16ea0ccb4b76a" args="(std::map&lt; CHMHMapNode::TNodeID, CPose3DPDFGaussian, std::less&lt; CHMHMapNode::TNodeID &gt;, Eigen::aligned_allocator&lt; std::pair&lt; const CHMHMapNode::TNodeID, CPose3DPDFGaussian &gt; &gt; &gt; &amp;nodePoses, const CHMHMapNode::TNodeID &amp;idReferenceNode, const THypothesisID &amp;hypothesisID, const unsigned int &amp;numberOfIterations=2) const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void mrpt::hmtslam::CHierarchicalMapMHPartition::computeGloballyConsistentNodeCoordinates </td>
          <td>(</td>
          <td class="paramtype">std::map&lt; <a class="el" href="classmrpt_1_1hmtslam_1_1_c_h_m_h_map_node.html#a4320fd5748b07f6fdb6dd1bdc5b3920e">CHMHMapNode::TNodeID</a>, <a class="el" href="classmrpt_1_1poses_1_1_c_pose3_d_p_d_f_gaussian.html">CPose3DPDFGaussian</a>, std::less&lt; <a class="el" href="classmrpt_1_1hmtslam_1_1_c_h_m_h_map_node.html#a4320fd5748b07f6fdb6dd1bdc5b3920e">CHMHMapNode::TNodeID</a> &gt;, Eigen::aligned_allocator&lt; std::pair&lt; const <a class="el" href="classmrpt_1_1hmtslam_1_1_c_h_m_h_map_node.html#a4320fd5748b07f6fdb6dd1bdc5b3920e">CHMHMapNode::TNodeID</a>, <a class="el" href="classmrpt_1_1poses_1_1_c_pose3_d_p_d_f_gaussian.html">CPose3DPDFGaussian</a> &gt; &gt; &gt; &amp;&#160;</td>
          <td class="paramname"> <em>nodePoses</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="classmrpt_1_1hmtslam_1_1_c_h_m_h_map_node.html#a4320fd5748b07f6fdb6dd1bdc5b3920e">CHMHMapNode::TNodeID</a> &amp;&#160;</td>
          <td class="paramname"> <em>idReferenceNode</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="namespacemrpt_1_1hmtslam.html#a6a8c7a5cb874400f4df9d1fd6b6ff9ee">THypothesisID</a> &amp;&#160;</td>
          <td class="paramname"> <em>hypothesisID</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const unsigned int &amp;&#160;</td>
          <td class="paramname"> <em>numberOfIterations</em> = <code>2</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>This methods implements a Lu&amp;Milios-like globally optimal estimation for the global coordinates of all the nodes in the graph according to all available arcs with relative pose information. </p>
<p>Global coordinates will be computed relative to the node "idReferenceNode". </p>
<dl><dt><b>Exceptions:</b></dt><dd>
  <table class="exception">
    <tr><td class="paramname">std::exception</td><td>If there is any node without a pose arc, invalid (non invertible) matrixes, etc... </td></tr>
  </table>
  </dd>
</dl>
<dl class="see"><dt><b>See also:</b></dt><dd><a class="el" href="classmrpt_1_1hmtslam_1_1_c_hierarchical_map_m_h_partition.html#adf905ff685dbc4177a63e8a923051d88" title="Draw a number of samples according to the PDF of the coordinates transformation between a pair of &qu...">computeCoordinatesTransformationBetweenNodes</a> </dd></dl>

</div>
</div>
<a class="anchor" id="a569d9bccc3e72fed75a8a7fc8151cc2c"></a><!-- doxytag: member="mrpt::hmtslam::CHierarchicalMapMHPartition::computeMatchProbabilityBetweenNodes" ref="a569d9bccc3e72fed75a8a7fc8151cc2c" args="(const CHMHMapNode::TNodeID &amp;nodeFrom, const CHMHMapNode::TNodeID &amp;nodeTo, float &amp;maxMatchProb, CPose3DPDFSOG &amp;estimatedRelativePose, const THypothesisID &amp;hypothesisID, unsigned int monteCarloSamplesPose=300)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">float mrpt::hmtslam::CHierarchicalMapMHPartition::computeMatchProbabilityBetweenNodes </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classmrpt_1_1hmtslam_1_1_c_h_m_h_map_node.html#a4320fd5748b07f6fdb6dd1bdc5b3920e">CHMHMapNode::TNodeID</a> &amp;&#160;</td>
          <td class="paramname"> <em>nodeFrom</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="classmrpt_1_1hmtslam_1_1_c_h_m_h_map_node.html#a4320fd5748b07f6fdb6dd1bdc5b3920e">CHMHMapNode::TNodeID</a> &amp;&#160;</td>
          <td class="paramname"> <em>nodeTo</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">float &amp;&#160;</td>
          <td class="paramname"> <em>maxMatchProb</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="classmrpt_1_1poses_1_1_c_pose3_d_p_d_f_s_o_g.html">CPose3DPDFSOG</a> &amp;&#160;</td>
          <td class="paramname"> <em>estimatedRelativePose</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="namespacemrpt_1_1hmtslam.html#a6a8c7a5cb874400f4df9d1fd6b6ff9ee">THypothesisID</a> &amp;&#160;</td>
          <td class="paramname"> <em>hypothesisID</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">unsigned int&#160;</td>
          <td class="paramname"> <em>monteCarloSamplesPose</em> = <code>300</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Computes the probability [0,1] of two areas' gridmaps to "match" (loop closure), according to the grid maps and pose uncertainty from information in arcs (uses a Monte Carlo aproximation) If there is not enough information or a robust estimation cannot be found, there will not be particles in "estimatedRelativePose". </p>

</div>
</div>
<a class="anchor" id="a73c0e99573d38acb6dc8cb081ffca2b3"></a><!-- doxytag: member="mrpt::hmtslam::CHierarchicalMapMHPartition::computeOverlapProbabilityBetweenNodes" ref="a73c0e99573d38acb6dc8cb081ffca2b3" args="(const CHMHMapNode::TNodeID &amp;nodeFrom, const CHMHMapNode::TNodeID &amp;nodeTo, const THypothesisID &amp;hypothesisID, const size_t &amp;monteCarloSamples=100, const float margin_to_substract=6) const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">double mrpt::hmtslam::CHierarchicalMapMHPartition::computeOverlapProbabilityBetweenNodes </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classmrpt_1_1hmtslam_1_1_c_h_m_h_map_node.html#a4320fd5748b07f6fdb6dd1bdc5b3920e">CHMHMapNode::TNodeID</a> &amp;&#160;</td>
          <td class="paramname"> <em>nodeFrom</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="classmrpt_1_1hmtslam_1_1_c_h_m_h_map_node.html#a4320fd5748b07f6fdb6dd1bdc5b3920e">CHMHMapNode::TNodeID</a> &amp;&#160;</td>
          <td class="paramname"> <em>nodeTo</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="namespacemrpt_1_1hmtslam.html#a6a8c7a5cb874400f4df9d1fd6b6ff9ee">THypothesisID</a> &amp;&#160;</td>
          <td class="paramname"> <em>hypothesisID</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const size_t &amp;&#160;</td>
          <td class="paramname"> <em>monteCarloSamples</em> = <code>100</code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const float&#160;</td>
          <td class="paramname"> <em>margin_to_substract</em> = <code>6</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Computes the probability [0,1] of two areas' gridmaps to overlap, via a Monte Carlo aproximation. </p>
<dl><dt><b>Exceptions:</b></dt><dd>
  <table class="exception">
    <tr><td class="paramname">std::exception</td><td>If there is not enought information in arcs, etc... </td></tr>
  </table>
  </dd>
</dl>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">margin_to_substract</td><td>In meters, the area of each gridmap is "eroded" this amount to compensate the area in excess usually found in gridmaps. </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="aaba93975aa999001ba5207012416d89f"></a><!-- doxytag: member="mrpt::hmtslam::CHierarchicalMapMHPartition::dumpAsText" ref="aaba93975aa999001ba5207012416d89f" args="(utils::CStringList &amp;s) const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void mrpt::hmtslam::CHierarchicalMapMHPartition::dumpAsText </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classmrpt_1_1utils_1_1_c_string_list.html">utils::CStringList</a> &amp;&#160;</td>
          <td class="paramname"> <em>s</em>&#160;)</td>
          <td> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Return a textual description of the whole graph. </p>

</div>
</div>
<a class="anchor" id="a1766a6c49ac6d6b2cf75d2763f906a4c"></a><!-- doxytag: member="mrpt::hmtslam::CHierarchicalMapMHPartition::end" ref="a1766a6c49ac6d6b2cf75d2763f906a4c" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classmrpt_1_1hmtslam_1_1_c_hierarchical_map_m_h_partition.html#abda92fb19cccffd38ecd7ec9c48adcda">iterator</a> mrpt::hmtslam::CHierarchicalMapMHPartition::end </td>
          <td>(</td>
          <td class="paramname">&#160;)</td>
          <td><code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Returns an iterator to the end of the list of nodes in the graph. </p>

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

</div>
</div>
<a class="anchor" id="a621f610599770cf97997b96e311ce5bb"></a><!-- doxytag: member="mrpt::hmtslam::CHierarchicalMapMHPartition::end" ref="a621f610599770cf97997b96e311ce5bb" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classmrpt_1_1hmtslam_1_1_c_hierarchical_map_m_h_partition.html#a7cb6ba1d89b2ead39c44de1d063bbd88">const_iterator</a> mrpt::hmtslam::CHierarchicalMapMHPartition::end </td>
          <td>(</td>
          <td class="paramname">&#160;)</td>
          <td> const<code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Returns an iterator to the end of the list of nodes in the graph. </p>

<p>Definition at line <a class="el" href="_c_hierarchical_map_m_h_partition_8h_source.html#l00074">74</a> of file <a class="el" href="_c_hierarchical_map_m_h_partition_8h_source.html">CHierarchicalMapMHPartition.h</a>.</p>

</div>
</div>
<a class="anchor" id="a64d6801fdcd9a1199378ea84a8aeed7a"></a><!-- doxytag: member="mrpt::hmtslam::CHierarchicalMapMHPartition::findArcOfTypeBetweenNodes" ref="a64d6801fdcd9a1199378ea84a8aeed7a" args="(const CHMHMapNode::TNodeID &amp;node1id, const CHMHMapNode::TNodeID &amp;node2id, const THypothesisID &amp;hypothesisID, const std::string &amp;arcType, bool &amp;isInverted) const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="structmrpt_1_1hmtslam_1_1_c_h_m_h_map_arc_ptr.html">CHMHMapArcPtr</a> mrpt::hmtslam::CHierarchicalMapMHPartition::findArcOfTypeBetweenNodes </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classmrpt_1_1hmtslam_1_1_c_h_m_h_map_node.html#a4320fd5748b07f6fdb6dd1bdc5b3920e">CHMHMapNode::TNodeID</a> &amp;&#160;</td>
          <td class="paramname"> <em>node1id</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="classmrpt_1_1hmtslam_1_1_c_h_m_h_map_node.html#a4320fd5748b07f6fdb6dd1bdc5b3920e">CHMHMapNode::TNodeID</a> &amp;&#160;</td>
          <td class="paramname"> <em>node2id</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="namespacemrpt_1_1hmtslam.html#a6a8c7a5cb874400f4df9d1fd6b6ff9ee">THypothesisID</a> &amp;&#160;</td>
          <td class="paramname"> <em>hypothesisID</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const std::string &amp;&#160;</td>
          <td class="paramname"> <em>arcType</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">bool &amp;&#160;</td>
          <td class="paramname"> <em>isInverted</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Returns the first arc between a pair of nodes of a given type, and if it is in the opposite direction. </p>
<dl class="return"><dt><b>Returns:</b></dt><dd>The arc, or NULL if not found. </dd></dl>

</div>
</div>
<a class="anchor" id="ad7d883bab5660c9e5f189236ac3d1db8"></a><!-- doxytag: member="mrpt::hmtslam::CHierarchicalMapMHPartition::findArcsBetweenNodes" ref="ad7d883bab5660c9e5f189236ac3d1db8" args="(const CHMHMapNode::TNodeID &amp;node1, const CHMHMapNode::TNodeID &amp;node2, const THypothesisID &amp;hypothesisID, TArcList &amp;out_listArcs) const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void mrpt::hmtslam::CHierarchicalMapMHPartition::findArcsBetweenNodes </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classmrpt_1_1hmtslam_1_1_c_h_m_h_map_node.html#a4320fd5748b07f6fdb6dd1bdc5b3920e">CHMHMapNode::TNodeID</a> &amp;&#160;</td>
          <td class="paramname"> <em>node1</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="classmrpt_1_1hmtslam_1_1_c_h_m_h_map_node.html#a4320fd5748b07f6fdb6dd1bdc5b3920e">CHMHMapNode::TNodeID</a> &amp;&#160;</td>
          <td class="paramname"> <em>node2</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="namespacemrpt_1_1hmtslam.html#a6a8c7a5cb874400f4df9d1fd6b6ff9ee">THypothesisID</a> &amp;&#160;</td>
          <td class="paramname"> <em>hypothesisID</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="classmrpt_1_1hmtslam_1_1_t_arc_list.html">TArcList</a> &amp;&#160;</td>
          <td class="paramname"> <em>out_listArcs</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Returns all the arcs between a pair of nodes: </p>

</div>
</div>
<a class="anchor" id="a6e0c7c1686b06c081327c848ec175772"></a><!-- doxytag: member="mrpt::hmtslam::CHierarchicalMapMHPartition::findArcsOfTypeBetweenNodes" ref="a6e0c7c1686b06c081327c848ec175772" args="(const CHMHMapNode::TNodeID &amp;node1id, const CHMHMapNode::TNodeID &amp;node2id, const THypothesisID &amp;hypothesisID, const std::string &amp;arcType, TArcList &amp;ret) const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void mrpt::hmtslam::CHierarchicalMapMHPartition::findArcsOfTypeBetweenNodes </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classmrpt_1_1hmtslam_1_1_c_h_m_h_map_node.html#a4320fd5748b07f6fdb6dd1bdc5b3920e">CHMHMapNode::TNodeID</a> &amp;&#160;</td>
          <td class="paramname"> <em>node1id</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="classmrpt_1_1hmtslam_1_1_c_h_m_h_map_node.html#a4320fd5748b07f6fdb6dd1bdc5b3920e">CHMHMapNode::TNodeID</a> &amp;&#160;</td>
          <td class="paramname"> <em>node2id</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="namespacemrpt_1_1hmtslam.html#a6a8c7a5cb874400f4df9d1fd6b6ff9ee">THypothesisID</a> &amp;&#160;</td>
          <td class="paramname"> <em>hypothesisID</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const std::string &amp;&#160;</td>
          <td class="paramname"> <em>arcType</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="classmrpt_1_1hmtslam_1_1_t_arc_list.html">TArcList</a> &amp;&#160;</td>
          <td class="paramname"> <em>ret</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Returns the arcs between a pair of nodes of a given type. </p>

</div>
</div>
<a class="anchor" id="a64d5f61fd990f3cc0cddd7fd851dd387"></a><!-- doxytag: member="mrpt::hmtslam::CHierarchicalMapMHPartition::findPathBetweenNodes" ref="a64d5f61fd990f3cc0cddd7fd851dd387" args="(const CHMHMapNode::TNodeID &amp;nodeFrom, const CHMHMapNode::TNodeID &amp;nodeTo, const THypothesisID &amp;hypothesisID, TArcList &amp;out_path, bool direction=false) const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void mrpt::hmtslam::CHierarchicalMapMHPartition::findPathBetweenNodes </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classmrpt_1_1hmtslam_1_1_c_h_m_h_map_node.html#a4320fd5748b07f6fdb6dd1bdc5b3920e">CHMHMapNode::TNodeID</a> &amp;&#160;</td>
          <td class="paramname"> <em>nodeFrom</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="classmrpt_1_1hmtslam_1_1_c_h_m_h_map_node.html#a4320fd5748b07f6fdb6dd1bdc5b3920e">CHMHMapNode::TNodeID</a> &amp;&#160;</td>
          <td class="paramname"> <em>nodeTo</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="namespacemrpt_1_1hmtslam.html#a6a8c7a5cb874400f4df9d1fd6b6ff9ee">THypothesisID</a> &amp;&#160;</td>
          <td class="paramname"> <em>hypothesisID</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="classmrpt_1_1hmtslam_1_1_t_arc_list.html">TArcList</a> &amp;&#160;</td>
          <td class="paramname"> <em>out_path</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">bool&#160;</td>
          <td class="paramname"> <em>direction</em> = <code>false</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>The Dijkstra algorithm for finding the shortest path between a pair of nodes. </p>
<dl class="return"><dt><b>Returns:</b></dt><dd>The sequence of arcs connecting the nodes.It will be empty if no path is found or when the starting and ending node coincide. </dd></dl>

</div>
</div>
<a class="anchor" id="a876cb478925b974e591a54e26c07b3b1"></a><!-- doxytag: member="mrpt::hmtslam::CHierarchicalMapMHPartition::getAs3DScene" ref="a876cb478925b974e591a54e26c07b3b1" args="(COpenGLScene &amp;outScene, const CHMHMapNode::TNodeID &amp;idReferenceNode, const THypothesisID &amp;hypothesisID, const unsigned int &amp;numberOfIterationsForOptimalGlobalPoses=5, const bool &amp;showRobotPoseIDs=true) const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void mrpt::hmtslam::CHierarchicalMapMHPartition::getAs3DScene </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classmrpt_1_1opengl_1_1_c_open_g_l_scene.html">COpenGLScene</a> &amp;&#160;</td>
          <td class="paramname"> <em>outScene</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="classmrpt_1_1hmtslam_1_1_c_h_m_h_map_node.html#a4320fd5748b07f6fdb6dd1bdc5b3920e">CHMHMapNode::TNodeID</a> &amp;&#160;</td>
          <td class="paramname"> <em>idReferenceNode</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="namespacemrpt_1_1hmtslam.html#a6a8c7a5cb874400f4df9d1fd6b6ff9ee">THypothesisID</a> &amp;&#160;</td>
          <td class="paramname"> <em>hypothesisID</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const unsigned int &amp;&#160;</td>
          <td class="paramname"> <em>numberOfIterationsForOptimalGlobalPoses</em> = <code>5</code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const bool &amp;&#160;</td>
          <td class="paramname"> <em>showRobotPoseIDs</em> = <code>true</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Returns a 3D scene reconstruction of the hierarchical map. </p>
<p>See "computeGloballyConsistentNodeCoordinates" for the meaning of "numberOfIterationsForOptimalGlobalPoses" </p>

</div>
</div>
<a class="anchor" id="abb85d2fe6f1f36acf759666e90390d8b"></a><!-- doxytag: member="mrpt::hmtslam::CHierarchicalMapMHPartition::getFirstNode" ref="abb85d2fe6f1f36acf759666e90390d8b" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="structmrpt_1_1hmtslam_1_1_c_h_m_h_map_node_ptr.html">CHMHMapNodePtr</a> mrpt::hmtslam::CHierarchicalMapMHPartition::getFirstNode </td>
          <td>(</td>
          <td class="paramname">&#160;)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Returns the first node in the graph, or NULL if it does not exist. </p>
<dl class="return"><dt><b>Returns:</b></dt><dd>A pointer to the object. DO NOT DELETE this object, if you want to modify it in someway, first obtain a copy by invoking "CSerializable::duplicate" </dd></dl>

</div>
</div>
<a class="anchor" id="ac35e34a2a0a8de369a539fc23558734d"></a><!-- doxytag: member="mrpt::hmtslam::CHierarchicalMapMHPartition::getNodeByID" ref="ac35e34a2a0a8de369a539fc23558734d" args="(CHMHMapNode::TNodeID id)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="structmrpt_1_1hmtslam_1_1_c_h_m_h_map_node_ptr.html">CHMHMapNodePtr</a> mrpt::hmtslam::CHierarchicalMapMHPartition::getNodeByID </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classmrpt_1_1hmtslam_1_1_c_h_m_h_map_node.html#a4320fd5748b07f6fdb6dd1bdc5b3920e">CHMHMapNode::TNodeID</a>&#160;</td>
          <td class="paramname"> <em>id</em>&#160;)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Returns the node with the given ID, or NULL if it does not exist. </p>
<dl class="return"><dt><b>Returns:</b></dt><dd>A pointer to the object. DO NOT DELETE this object, if you want to modify it in someway, first obtain a copy by invoking "CSerializable::duplicate" </dd></dl>

</div>
</div>
<a class="anchor" id="ac14b20f6060d646f46c67fa146f21ea3"></a><!-- doxytag: member="mrpt::hmtslam::CHierarchicalMapMHPartition::getNodeByID" ref="ac14b20f6060d646f46c67fa146f21ea3" args="(CHMHMapNode::TNodeID id) const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">const <a class="el" href="structmrpt_1_1hmtslam_1_1_c_h_m_h_map_node_ptr.html">CHMHMapNodePtr</a> mrpt::hmtslam::CHierarchicalMapMHPartition::getNodeByID </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classmrpt_1_1hmtslam_1_1_c_h_m_h_map_node.html#a4320fd5748b07f6fdb6dd1bdc5b3920e">CHMHMapNode::TNodeID</a>&#160;</td>
          <td class="paramname"> <em>id</em>&#160;)</td>
          <td> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Returns the node with the given ID, or NULL if it does not exist. </p>
<dl class="return"><dt><b>Returns:</b></dt><dd>A pointer to the object. DO NOT DELETE this object, if you want to modify it in someway, first obtain a copy by invoking "CSerializable::duplicate" </dd></dl>

</div>
</div>
<a class="anchor" id="ae16eb650167aa11f31b8acc160b56189"></a><!-- doxytag: member="mrpt::hmtslam::CHierarchicalMapMHPartition::getNodeByLabel" ref="ae16eb650167aa11f31b8acc160b56189" args="(const std::string &amp;label, const THypothesisID &amp;hypothesisID)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="structmrpt_1_1hmtslam_1_1_c_h_m_h_map_node_ptr.html">CHMHMapNodePtr</a> mrpt::hmtslam::CHierarchicalMapMHPartition::getNodeByLabel </td>
          <td>(</td>
          <td class="paramtype">const std::string &amp;&#160;</td>
          <td class="paramname"> <em>label</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="namespacemrpt_1_1hmtslam.html#a6a8c7a5cb874400f4df9d1fd6b6ff9ee">THypothesisID</a> &amp;&#160;</td>
          <td class="paramname"> <em>hypothesisID</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Returns the node with the given label (case insensitive) for some given hypothesis ID, or NULL if it does not exist. </p>
<dl class="return"><dt><b>Returns:</b></dt><dd>A pointer to the object. DO NOT DELETE this object, if you want to modify it in someway, first obtain a copy by invoking "CSerializable::duplicate" </dd></dl>

</div>
</div>
<a class="anchor" id="a714e041606bd3d736b8de58e38a0a22e"></a><!-- doxytag: member="mrpt::hmtslam::CHierarchicalMapMHPartition::getNodeByLabel" ref="a714e041606bd3d736b8de58e38a0a22e" args="(const std::string &amp;label, const THypothesisID &amp;hypothesisID) const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">const <a class="el" href="structmrpt_1_1hmtslam_1_1_c_h_m_h_map_node_ptr.html">CHMHMapNodePtr</a> mrpt::hmtslam::CHierarchicalMapMHPartition::getNodeByLabel </td>
          <td>(</td>
          <td class="paramtype">const std::string &amp;&#160;</td>
          <td class="paramname"> <em>label</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="namespacemrpt_1_1hmtslam.html#a6a8c7a5cb874400f4df9d1fd6b6ff9ee">THypothesisID</a> &amp;&#160;</td>
          <td class="paramname"> <em>hypothesisID</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Returns the node with the given label (case insensitive) for some given hypothesis ID, or NULL if it does not exist. </p>
<dl class="return"><dt><b>Returns:</b></dt><dd>A pointer to the object. DO NOT DELETE this object, if you want to modify it in someway, first obtain a copy by invoking "CSerializable::duplicate" </dd></dl>

</div>
</div>
<a class="anchor" id="a8ad9ae257bfffa0b4480e8e7e582be98"></a><!-- doxytag: member="mrpt::hmtslam::CHierarchicalMapMHPartition::nodeCount" ref="a8ad9ae257bfffa0b4480e8e7e582be98" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">size_t mrpt::hmtslam::CHierarchicalMapMHPartition::nodeCount </td>
          <td>(</td>
          <td class="paramname">&#160;)</td>
          <td> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Returns the number of nodes in the partition: </p>

</div>
</div>
<a class="anchor" id="aeb3f86d2dd3643b64c7cdfd4c85ff38b"></a><!-- doxytag: member="mrpt::hmtslam::CHierarchicalMapMHPartition::saveAreasDiagramForMATLAB" ref="aeb3f86d2dd3643b64c7cdfd4c85ff38b" args="(const std::string &amp;filName, const CHMHMapNode::TNodeID &amp;idReferenceNode, const THypothesisID &amp;hypothesisID) const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void mrpt::hmtslam::CHierarchicalMapMHPartition::saveAreasDiagramForMATLAB </td>
          <td>(</td>
          <td class="paramtype">const std::string &amp;&#160;</td>
          <td class="paramname"> <em>filName</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="classmrpt_1_1hmtslam_1_1_c_h_m_h_map_node.html#a4320fd5748b07f6fdb6dd1bdc5b3920e">CHMHMapNode::TNodeID</a> &amp;&#160;</td>
          <td class="paramname"> <em>idReferenceNode</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="namespacemrpt_1_1hmtslam.html#a6a8c7a5cb874400f4df9d1fd6b6ff9ee">THypothesisID</a> &amp;&#160;</td>
          <td class="paramname"> <em>hypothesisID</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Returns a partition of this graph only with nodes at a given level in the hierarchy (0=ground level,1=parent level,etc)</p>
<ul>
<li>The partition may be empty if no node fulfills the condition. </li>
</ul>
</p>
<ul>
<li>All arcs STARTING at each node from the partition will be added to the partition as well.</li>
<li>Levels in the hierarchy here stands for arcs of type "arcType_Belongs" only. <dl class="see"><dt><b>See also:</b></dt><dd><a class="el" href="classmrpt_1_1hmtslam_1_1_c_h_m_h_map_arc.html" title="A class for representing an arc between two nodes in a hierarchical, multi-hypothesis map...">CHMHMapArc</a> Saves a MATLAB script that represents graphically the nodes with <em>type</em>="Area" in this hierarchical-map(partition), using the stated node as global coordinates reference. ADDITIONAL NOTES:</dd></dl>
</li>
<li>Coordinates are computed simply as the mean value of the first arc with an annotation "RelativePose", added to the pose of the original node.</li>
<li>If the coordinates of any node can not be computed (no arcs,...), an exception will be raised. </li>
</ul>

</div>
</div>
<a class="anchor" id="a825aa85677c14e9f9c31fbed4b599a70"></a><!-- doxytag: member="mrpt::hmtslam::CHierarchicalMapMHPartition::saveAreasDiagramWithEllipsedForMATLAB" ref="a825aa85677c14e9f9c31fbed4b599a70" args="(const std::string &amp;filName, const CHMHMapNode::TNodeID &amp;idReferenceNode, const THypothesisID &amp;hypothesisID, float uncertaintyExagerationFactor=1.0f, bool drawArcs=false, unsigned int numberOfIterationsForOptimalGlobalPoses=4) const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void mrpt::hmtslam::CHierarchicalMapMHPartition::saveAreasDiagramWithEllipsedForMATLAB </td>
          <td>(</td>
          <td class="paramtype">const std::string &amp;&#160;</td>
          <td class="paramname"> <em>filName</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="classmrpt_1_1hmtslam_1_1_c_h_m_h_map_node.html#a4320fd5748b07f6fdb6dd1bdc5b3920e">CHMHMapNode::TNodeID</a> &amp;&#160;</td>
          <td class="paramname"> <em>idReferenceNode</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="namespacemrpt_1_1hmtslam.html#a6a8c7a5cb874400f4df9d1fd6b6ff9ee">THypothesisID</a> &amp;&#160;</td>
          <td class="paramname"> <em>hypothesisID</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">float&#160;</td>
          <td class="paramname"> <em>uncertaintyExagerationFactor</em> = <code>1.0f</code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">bool&#160;</td>
          <td class="paramname"> <em>drawArcs</em> = <code>false</code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">unsigned int&#160;</td>
          <td class="paramname"> <em>numberOfIterationsForOptimalGlobalPoses</em> = <code>4</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Saves a MATLAB script that represents graphically the nodes with <em>type</em>="Area" in this hierarchical-map(partition), using the stated node as global coordinates reference, and drawing the ellipses of the localization uncertainty for each node. </p>
<p>ADDITIONAL NOTES:</p>
<ul>
<li>Coordinates are computed simply as the mean value of the first arc with an annotation "RelativePose", added to the pose of the original node.</li>
<li>If the coordinates of any node can not be computed (no arcs,...), an exception will be raised. </li>
</ul>

</div>
</div>
<a class="anchor" id="a3b376eb4f52475d4524596b894ed2a8d"></a><!-- doxytag: member="mrpt::hmtslam::CHierarchicalMapMHPartition::saveGlobalMapForMATLAB" ref="a3b376eb4f52475d4524596b894ed2a8d" args="(const std::string &amp;filName, const THypothesisID &amp;hypothesisID, const CHMHMapNode::TNodeID &amp;idReferenceNode) const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void mrpt::hmtslam::CHierarchicalMapMHPartition::saveGlobalMapForMATLAB </td>
          <td>(</td>
          <td class="paramtype">const std::string &amp;&#160;</td>
          <td class="paramname"> <em>filName</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="namespacemrpt_1_1hmtslam.html#a6a8c7a5cb874400f4df9d1fd6b6ff9ee">THypothesisID</a> &amp;&#160;</td>
          <td class="paramname"> <em>hypothesisID</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="classmrpt_1_1hmtslam_1_1_c_h_m_h_map_node.html#a4320fd5748b07f6fdb6dd1bdc5b3920e">CHMHMapNode::TNodeID</a> &amp;&#160;</td>
          <td class="paramname"> <em>idReferenceNode</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Saves a MATLAB script that represents graphically the reconstructed "global map" ADDITIONAL NOTES:</p>
<ul>
<li>Coordinates are computed simply as the mean value of the first arc with an annotation "RelativePose", added to the pose of the original node. </li>
</ul>
</p>
<ul>
<li>If the coordinates of any node can not be computed (no arcs,...), an exception will be raised. </li>
</ul>

</div>
</div>
<hr/><h2>Member Data Documentation</h2>
<a class="anchor" id="a98c8bce19fc619cc1501c8609aa02b19"></a><!-- doxytag: member="mrpt::hmtslam::CHierarchicalMapMHPartition::m_arcs" ref="a98c8bce19fc619cc1501c8609aa02b19" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classmrpt_1_1hmtslam_1_1_t_arc_list.html">TArcList</a> <a class="el" href="classmrpt_1_1hmtslam_1_1_c_hierarchical_map_m_h_partition.html#a98c8bce19fc619cc1501c8609aa02b19">mrpt::hmtslam::CHierarchicalMapMHPartition::m_arcs</a><code> [protected]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Definition at line <a class="el" href="_c_hierarchical_map_m_h_partition_8h_source.html#l00060">60</a> of file <a class="el" href="_c_hierarchical_map_m_h_partition_8h_source.html">CHierarchicalMapMHPartition.h</a>.</p>

</div>
</div>
<a class="anchor" id="a97f44ac662f858ab9a8cd33c128713a9"></a><!-- doxytag: member="mrpt::hmtslam::CHierarchicalMapMHPartition::m_nodes" ref="a97f44ac662f858ab9a8cd33c128713a9" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="namespacemrpt_1_1hmtslam.html#a04795d80cac41d58249a613e7f3c4f40">TNodeList</a> <a class="el" href="classmrpt_1_1hmtslam_1_1_c_hierarchical_map_m_h_partition.html#a97f44ac662f858ab9a8cd33c128713a9">mrpt::hmtslam::CHierarchicalMapMHPartition::m_nodes</a><code> [protected]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>The internal list of nodes and arcs in the whole hierarchical model. </p>
<p>The objects must be deleted only in the CHierarchicalMap class, not in partitions only objects. </p>

<p>Definition at line <a class="el" href="_c_hierarchical_map_m_h_partition_8h_source.html#l00059">59</a> of file <a class="el" href="_c_hierarchical_map_m_h_partition_8h_source.html">CHierarchicalMapMHPartition.h</a>.</p>

</div>
</div>
</div>
<br><hr><br> <table border="0" width="100%"> <tr> <td> Page generated by <a href="http://www.doxygen.org" target="_blank">Doxygen 1.7.2</a> for MRPT 0.9.4 SVN: at Mon Jan 10 22:30:30 UTC 2011</td><td></td> <td width="100"> </td> <td width="150">  </td></tr> </table> </body></html>