Sophie

Sophie

distrib > Fedora > 16 > i386 > by-pkgid > 4bc66056a634db26a1f4d0845dc41ca6 > files > 11251

mrpt-doc-0.9.5-0.1.20110925svn2670.fc16.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>kmeans.h File 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.5 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'Search');
</script>
  <div id="navrow1" 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><a href="annotated.html"><span>Classes</span></a></li>
      <li class="current"><a href="files.html"><span>Files</span></a></li>
      <li>
        <div id="MSearchBox" class="MSearchBoxInactive">
          <div 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>
          </div><div class="right"></div>
        </div>
      </li>
    </ul>
  </div>
  <div id="navrow2" class="tabs2">
    <ul class="tablist">
      <li><a href="files.html"><span>File&#160;List</span></a></li>
      <li><a href="globals.html"><span>File&#160;Members</span></a></li>
    </ul>
  </div>
</div>
<div class="header">
  <div class="summary">
<a href="#namespaces">Namespaces</a> &#124;
<a href="#func-members">Functions</a>  </div>
  <div class="headertitle">
<div class="title">kmeans.h File Reference</div>  </div>
</div>
<div class="contents">
<div class="textblock"><code>#include &lt;<a class="el" href="_c_matrix_template_numeric_8h_source.html">mrpt/math/CMatrixTemplateNumeric.h</a>&gt;</code><br/>
<code>#include &lt;<a class="el" href="_c_matrix_fixed_numeric_8h_source.html">mrpt/math/CMatrixFixedNumeric.h</a>&gt;</code><br/>
</div><div class="textblock"><div class="dynheader">
Include dependency graph for kmeans.h:</div>
<div class="dyncontent">
<div class="center"><img src="kmeans_8h__incl.png" border="0" usemap="#kmeans_8h" alt=""/></div>
<map name="kmeans_8h" id="kmeans_8h">
<area shape="rect" id="node3" href="_c_matrix_template_numeric_8h.html" title="mrpt/math/CMatrixTemplateNumeric.h" alt="" coords="1961,80,2207,107"/><area shape="rect" id="node147" href="_c_matrix_fixed_numeric_8h.html" title="mrpt/math/CMatrixFixedNumeric.h" alt="" coords="2133,155,2355,181"/><area shape="rect" id="node5" href="_c_matrix_template_8h.html" title="mrpt/math/CMatrixTemplate.h" alt="" coords="1851,155,2047,181"/><area shape="rect" id="node11" href="os_8h.html" title="mrpt/system/os.h" alt="" coords="381,677,504,704"/><area shape="rect" id="node120" href="_c_serializable_8h.html" title="mrpt/utils/CSerializable.h" alt="" coords="1672,304,1840,331"/><area shape="rect" id="node7" href="utils__defs_8h.html" title="mrpt/utils/utils_defs.h" alt="" coords="1307,603,1453,629"/><area shape="rect" id="node47" href="math__frwds_8h.html" title="mrpt/math/math_frwds.h" alt="" coords="2113,827,2276,853"/><area shape="rect" id="node100" href="memory_8h.html" title="mrpt/system/memory.h" alt="" coords="1428,304,1585,331"/><area shape="rect" id="node103" href="datetime_8h.html" title="mrpt/system/datetime.h" alt="" coords="1132,229,1291,256"/><area shape="rect" id="node107" href="matrix__adaptors_8h.html" title="mrpt/math/matrix_adaptors.h" alt="" coords="2027,528,2216,555"/><area shape="rect" id="node111" href="_c_array_8h.html" title="mrpt/math/CArray.h" alt="" coords="2174,229,2311,256"/><area shape="rect" id="node24" href="base_2include_2mrpt_2base_2link__pragmas_8h.html" title="mrpt/base/link_pragmas.h" alt="" coords="170,901,341,928"/><area shape="rect" id="node27" href="boost__join_8h.html" title="mrpt/utils/boost_join.h" alt="" coords="130,976,280,1003"/><area shape="rect" id="node29" href="base_2include_2mrpt_2utils_2types_8h.html" title="mrpt/utils/types.h" alt="" coords="556,752,679,779"/><area shape="rect" id="node63" href="mrpt__macros_8h.html" title="mrpt/utils/mrpt_macros.h" alt="" coords="789,752,955,779"/><area shape="rect" id="node66" href="compiler__fixes_8h.html" title="mrpt/utils/compiler_fixes.h" alt="" coords="1215,677,1389,704"/><area shape="rect" id="node93" href="smart__ptr_8hpp.html" title="mrpt/otherlibs/stlplus/smart_ptr.hpp" alt="" coords="1132,752,1359,779"/><area shape="rect" id="node97" href="bits_8h.html" title="mrpt/utils/bits.h" alt="" coords="1875,677,1985,704"/><area shape="rect" id="node41" href="mrpt__stdint_8h.html" title="mrpt/utils/mrpt_stdint.h" alt="" coords="515,901,671,928"/><area shape="rect" id="node44" href="mrpt__inttypes_8h.html" title="mrpt/utils/mrpt_inttypes.h" alt="" coords="508,827,679,853"/><area shape="rect" id="node115" href="ops__containers_8h.html" title="This file implements several operations that operate element&#45;wise on individual or pairs of container..." alt="" coords="2373,752,2557,779"/><area shape="rect" id="node122" href="_c_object_8h.html" title="mrpt/utils/CObject.h" alt="" coords="1697,453,1836,480"/><area shape="rect" id="node125" href="safe__pointers_8h.html" title="mrpt/utils/safe_pointers.h" alt="" coords="1833,528,2001,555"/><area shape="rect" id="node129" href="_c_stream_8h.html" title="mrpt/utils/CStream.h" alt="" coords="1525,379,1667,405"/><area shape="rect" id="node132" href="_c_uncopiable_8h.html" title="mrpt/utils/CUncopiable.h" alt="" coords="1469,528,1635,555"/><area shape="rect" id="node136" href="exceptions_8h.html" title="mrpt/utils/exceptions.h" alt="" coords="1519,453,1672,480"/></map>
</div>
</div><div class="textblock"><div class="dynheader">
This graph shows which files directly or indirectly include this file:</div>
<div class="dyncontent">
<div class="center"><img src="kmeans_8h__dep__incl.png" border="0" usemap="#kmeans_8hdep" alt=""/></div>
<map name="kmeans_8hdep" id="kmeans_8hdep">
<area shape="rect" id="node3" href="math_8h.html" title="math.h" alt="" coords="389,80,451,107"/><area shape="rect" id="node5" href="base_8h.html" title="base.h" alt="" coords="173,155,235,181"/><area shape="rect" id="node11" href="cs_8h.html" title="cs.h" alt="" coords="259,155,305,181"/><area shape="rect" id="node22" href="math__mrpt_8h.html" title="math_mrpt.h" alt="" coords="330,155,424,181"/><area shape="rect" id="node24" href="_c_reactive_navigation_system_8h.html" title="CReactiveNavigationSystem.h" alt="" coords="500,155,703,181"/><area shape="rect" id="node28" href="scanmatching_2scan__matching_8h.html" title="scan_matching.h" alt="" coords="727,155,848,181"/><area shape="rect" id="node7" href="_c_image___s_s_e3_8cpp.html" title="CImage_SSE3.cpp" alt="" coords="5,229,139,256"/><area shape="rect" id="node9" href="_c_image___s_s_e2_8cpp.html" title="CImage_SSE2.cpp" alt="" coords="163,229,297,256"/><area shape="rect" id="node13" href="_c_sparse_matrix_8h.html" title="CSparseMatrix.h" alt="" coords="376,229,496,256"/><area shape="rect" id="node16" href="levmarq__impl_8h.html" title="levmarq_impl.h" alt="" coords="381,304,491,331"/><area shape="rect" id="node18" href="levmarq_8h.html" title="levmarq.h" alt="" coords="397,379,475,405"/><area shape="rect" id="node20" href="graphslam_8h.html" title="graphslam.h" alt="" coords="389,453,483,480"/><area shape="rect" id="node26" href="reactivenav_8h.html" title="reactivenav.h" alt="" coords="551,229,651,256"/><area shape="rect" id="node30" href="scanmatching_8h.html" title="scanmatching.h" alt="" coords="731,229,845,256"/><area shape="rect" id="node32" href="scan__matching_8h.html" title="scan_matching.h" alt="" coords="727,304,848,331"/></map>
</div>
</div>
<p><a href="kmeans_8h_source.html">Go to the source code of this file.</a></p>
<table class="memberdecls">
<tr><td colspan="2"><h2><a name="namespaces"></a>
Namespaces</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">namespace &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespacemrpt.html">mrpt</a></td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight"><p>This is the global namespace for all Mobile Robot Programming Toolkit (MRPT) libraries. </p>
<br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">namespace &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespacemrpt_1_1math.html">mrpt::math</a></td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight"><p>This base provides a set of functions for maths stuff. </p>
<br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">namespace &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespacemrpt_1_1math_1_1detail.html">mrpt::math::detail</a></td></tr>
<tr><td colspan="2"><h2><a name="func-members"></a>
Functions</h2></td></tr>
<tr><td class="memTemplParams" colspan="2">template&lt;typename SCALAR &gt; </td></tr>
<tr><td class="memTemplItemLeft" align="right" valign="top">double BASE_IMPEXP&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="namespacemrpt_1_1math_1_1detail.html#a555c07e79b3a50c0055069ba25b4a227">mrpt::math::detail::internal_kmeans</a> (const bool use_kmeansplusplus_method, const size_t nPoints, const size_t k, const size_t dims, const SCALAR *points, const size_t attempts, SCALAR *out_center, int *out_assignments)</td></tr>
<tr><td class="memTemplParams" colspan="2">template&lt;class LIST_OF_VECTORS1 , class LIST_OF_VECTORS2 &gt; </td></tr>
<tr><td class="memTemplItemLeft" align="right" valign="top">double&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="namespacemrpt_1_1math_1_1detail.html#a6d87cfbda3846e628fd7c84c4921232a">mrpt::math::detail::stub_kmeans</a> (const bool use_kmeansplusplus_method, const size_t k, const LIST_OF_VECTORS1 &amp;points, <a class="el" href="classstd_1_1vector.html">std::vector</a>&lt; int &gt; &amp;assignments, LIST_OF_VECTORS2 *out_centers, const size_t attempts)</td></tr>
<tr><td colspan="2"><div class="groupHeader">k-means algorithms</div></td></tr>
<tr><td class="memTemplParams" colspan="2">template&lt;class LIST_OF_VECTORS1 , class LIST_OF_VECTORS2 &gt; </td></tr>
<tr><td class="memTemplItemLeft" align="right" valign="top">double&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="namespacemrpt_1_1math.html#a962c37014b369b1dd1c7961e332c239d">mrpt::math::kmeans</a> (const size_t k, const LIST_OF_VECTORS1 &amp;points, <a class="el" href="classstd_1_1vector.html">std::vector</a>&lt; int &gt; &amp;assignments, LIST_OF_VECTORS2 *out_centers=NULL, const size_t attempts=3)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">k-means algorithm to cluster a list of N points of arbitrary dimensionality into exactly K clusters.  <a href="#a962c37014b369b1dd1c7961e332c239d"></a><br/></td></tr>
<tr><td class="memTemplParams" colspan="2">template&lt;class LIST_OF_VECTORS1 , class LIST_OF_VECTORS2 &gt; </td></tr>
<tr><td class="memTemplItemLeft" align="right" valign="top">double&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="namespacemrpt_1_1math.html#ad0c38dff586346d5f1cfe8a9bd8a13cf">mrpt::math::kmeanspp</a> (const size_t k, const LIST_OF_VECTORS1 &amp;points, <a class="el" href="classstd_1_1vector.html">std::vector</a>&lt; int &gt; &amp;assignments, LIST_OF_VECTORS2 *out_centers=NULL, const size_t attempts=3)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">k-means++ algorithm to cluster a list of N points of arbitrary dimensionality into exactly K clusters.  <a href="#ad0c38dff586346d5f1cfe8a9bd8a13cf"></a><br/></td></tr>
</table>
</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.5</a> for MRPT 0.9.5 SVN: at Sun Sep 25 17:20:18 UTC 2011</td><td></td> <td width="100"> </td> <td width="150">  </td></tr> </table>  </body></html>