Sophie

Sophie

distrib > Fedora > 14 > x86_64 > by-pkgid > 1099e73f16f15ba3cf656e619f52a447 > files > 1860

ompl-devel-0.9.5-1.fc14.x86_64.rpm

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml; charset=UTF-8"/>
<title>OMPL: ompl::control::KPIECE1::CloseSamples Struct Reference</title>
<meta name="author" content="Ioan A. Șucan, Mark Moll, Lydia E. Kavraki">
<link rel="stylesheet" href="../css/screen.css" type="text/css" media="screen, projection">
<link rel="stylesheet" href="../css/print.css" type="text/css" media="print">
<!--[if lt IE 7]>
<script type="text/javascript" src="../js/jquery/jquery.js"></script>
<script type="text/javascript" src="../js/jquery/jquery.dropdown.js"></script>
<![endif]-->
<script type="text/javaScript" src="search/search.js"></script>
<script type="text/javascript">
  var _gaq = _gaq || [];
  _gaq.push(['_setAccount', 'UA-9156598-2']);
  _gaq.push(['_trackPageview']);
  (function() {
    var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
    ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
    var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
  })();
</script>
</head>
<body onload='searchBox.OnSelectItem(0);'>
<script type="text/javascript"><!--
var searchBox = new SearchBox("searchBox", "search",false,'Search API');
--></script>
<div class="navigation" id="top">
  <div class="tabs" id="ompltitle">
    <ul class="tablist">
      <li>The Open Motion Planning Library</li>
      <li id="searchli">
        <div id="MSearchBox" class="MSearchBoxInactive">
        <span class="left">
          <img id="MSearchSelect" src="search/mag_sel.png"
               onmouseover="return searchBox.OnSearchSelectShow()"
               onmouseout="return searchBox.OnSearchSelectHide()"
               alt=""/>
          <input type="text" id="MSearchField" value="Search API" accesskey="S"
               onfocus="searchBox.OnSearchFieldFocus(true)"
               onblur="searchBox.OnSearchFieldFocus(false)"
               onkeyup="searchBox.OnSearchFieldChange(event)"/>
          </span><span class="right">
            <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
          </span>
        </div>
      </li>
    </ul>
  </div>

  <ul id="nav" class="dropdown">
    <li class="first"><a href="index.html">Home</a></li>
    <li><a href="download.html">Download</a></li>
    <li><a href="documentation.html">Documentation</a></li>
    <li><span class="dir">Code API</span>
      <ul>
        <li><a href="api_overview.html">API Overview</a></li>
        <li><a href="namespaces.html">Namespaces</a></li>
        <li><a href="annotated.html">Classes</a></li>
        <li><a href="files.html">Files</a></li>
        <li><a href="dirs.html">Directories</a></li>
      </ul>
    </li>
    <li><span class="dir">Community</span>
      <ul>
        <li><a href="developers.html">Developers</a></li>
        <li><a href="thirdparty.html">Contributions</a></li>
        <li><a href="education.html">Education</a></li>
        <li><a href="gallery.html">Gallery</a></li>
      </ul>
    </li>
    <li><span class="dir">About</span>
      <ul>
        <li><a href="license.html">License</a></li>
        <li><a href="citations.html">Citations</a></li>
        <li><a href="acknowledgements.html">Acknowledgments</a></li>
        <li><a href="contact.html">Contact Us</a></li>
      </ul>
    </li>
  </ul>
</div>

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

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

<div class="container">
  <div class="span-22 push-2 first last">
  <div>
<!-- Generated by Doxygen 1.7.4 -->
<script type="text/javascript"><!--
var searchBox = new SearchBox("searchBox", "search",false,'Search');
--></script>
  <div id="nav-path" class="navpath">
    <ul>
      <li class="navelem"><a class="el" href="namespaceompl.html">ompl</a>      </li>
      <li class="navelem"><a class="el" href="namespaceompl_1_1control.html">control</a>      </li>
      <li class="navelem"><a class="el" href="classompl_1_1control_1_1KPIECE1.html">KPIECE1</a>      </li>
      <li class="navelem"><a class="el" href="structompl_1_1control_1_1KPIECE1_1_1CloseSamples.html">CloseSamples</a>      </li>
    </ul>
  </div>
</div>
<div class="header">
  <div class="summary">
<a href="#pub-methods">Public Member Functions</a> &#124;
<a href="#pub-attribs">Public Attributes</a>  </div>
  <div class="headertitle">
<div class="title">ompl::control::KPIECE1::CloseSamples Struct Reference</div>  </div>
</div>
<div class="contents">
<!-- doxytag: class="ompl::control::KPIECE1::CloseSamples" -->
<p>Bounded set of good samples.  
 <a href="structompl_1_1control_1_1KPIECE1_1_1CloseSamples.html#details">More...</a></p>

<p><code>#include &lt;<a class="el" href="control_2planners_2kpiece_2KPIECE1_8h_source.html">KPIECE1.h</a>&gt;</code></p>

<p><a href="structompl_1_1control_1_1KPIECE1_1_1CloseSamples-members.html">List of all members.</a></p>
<table class="memberdecls">
<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="anchor" id="a00b4a458d197bcfe828f77e8fecda9f5"></a><!-- doxytag: member="ompl::control::KPIECE1::CloseSamples::CloseSamples" ref="a00b4a458d197bcfe828f77e8fecda9f5" args="(unsigned int size)" -->
&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structompl_1_1control_1_1KPIECE1_1_1CloseSamples.html#a00b4a458d197bcfe828f77e8fecda9f5">CloseSamples</a> (unsigned int size)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Construct an object to maintain a set of at most <em>size</em> samples. <br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a66405fda7ce9ca4c06eb1f9e12b5589b"></a><!-- doxytag: member="ompl::control::KPIECE1::CloseSamples::consider" ref="a66405fda7ce9ca4c06eb1f9e12b5589b" args="(Grid::Cell *cell, Motion *motion, double distance)" -->
bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structompl_1_1control_1_1KPIECE1_1_1CloseSamples.html#a66405fda7ce9ca4c06eb1f9e12b5589b">consider</a> (<a class="el" href="classompl_1_1GridB.html#a7fd1b48d2b5451f40c57f4e3fba4e4c3">Grid::Cell</a> *cell, <a class="el" href="structompl_1_1control_1_1KPIECE1_1_1Motion.html">Motion</a> *motion, double distance)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Evaluate whether motion <em>motion</em>, part of cell <em>cell</em> is good enough to be part of the set of samples closest to the goal, given its distance to the goal is <em>distance</em>. If so, add it to the set and return true. Otherwise, return false. <br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a9b909ea64b900cf5ee3dea7aece7ecde"></a><!-- doxytag: member="ompl::control::KPIECE1::CloseSamples::selectMotion" ref="a9b909ea64b900cf5ee3dea7aece7ecde" args="(Motion *&amp;smotion, Grid::Cell *&amp;scell)" -->
bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structompl_1_1control_1_1KPIECE1_1_1CloseSamples.html#a9b909ea64b900cf5ee3dea7aece7ecde">selectMotion</a> (<a class="el" href="structompl_1_1control_1_1KPIECE1_1_1Motion.html">Motion</a> *&amp;smotion, <a class="el" href="classompl_1_1GridB.html#a7fd1b48d2b5451f40c57f4e3fba4e4c3">Grid::Cell</a> *&amp;scell)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Select the top sample (closest to the goal) and update its position in the set subsequently (pretend the distance to the goal is larger). Returns true if the sample selection is successful. <br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ac5b1825c72167c9007d5d36246a4c7c3"></a><!-- doxytag: member="ompl::control::KPIECE1::CloseSamples::canSample" ref="ac5b1825c72167c9007d5d36246a4c7c3" args="(void) const " -->
bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structompl_1_1control_1_1KPIECE1_1_1CloseSamples.html#ac5b1825c72167c9007d5d36246a4c7c3">canSample</a> (void) const </td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Return true if samples can be selected from this set. <br/></td></tr>
<tr><td colspan="2"><h2><a name="pub-attribs"></a>
Public Attributes</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a3114c01101069dcddc15aff3d62d344e"></a><!-- doxytag: member="ompl::control::KPIECE1::CloseSamples::maxSize" ref="a3114c01101069dcddc15aff3d62d344e" args="" -->
unsigned int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structompl_1_1control_1_1KPIECE1_1_1CloseSamples.html#a3114c01101069dcddc15aff3d62d344e">maxSize</a></td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Maximum number of samples to maintain. <br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ab7c97105a696566d4ed22bf429eadffa"></a><!-- doxytag: member="ompl::control::KPIECE1::CloseSamples::samples" ref="ab7c97105a696566d4ed22bf429eadffa" args="" -->
std::set&lt; <a class="el" href="structompl_1_1control_1_1KPIECE1_1_1CloseSample.html">CloseSample</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structompl_1_1control_1_1KPIECE1_1_1CloseSamples.html#ab7c97105a696566d4ed22bf429eadffa">samples</a></td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">The maintained samples. <br/></td></tr>
</table>
<hr/><a name="details" id="details"></a><h2>Detailed Description</h2>
<div class="textblock"><p>Bounded set of good samples. </p>

<p>Definition at line <a class="el" href="control_2planners_2kpiece_2KPIECE1_8h_source.html#l00296">296</a> of file <a class="el" href="control_2planners_2kpiece_2KPIECE1_8h_source.html">KPIECE1.h</a>.</p>
</div><hr/>The documentation for this struct was generated from the following files:<ul>
<li>src/ompl/control/planners/kpiece/<a class="el" href="control_2planners_2kpiece_2KPIECE1_8h_source.html">KPIECE1.h</a></li>
<li>src/ompl/control/planners/kpiece/src/<a class="el" href="control_2planners_2kpiece_2src_2KPIECE1_8cpp_source.html">KPIECE1.cpp</a></li>
</ul>
</div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
<a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(0)"><span class="SelectionMark">&#160;</span>All</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(1)"><span class="SelectionMark">&#160;</span>Classes</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(2)"><span class="SelectionMark">&#160;</span>Namespaces</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(3)"><span class="SelectionMark">&#160;</span>Functions</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(4)"><span class="SelectionMark">&#160;</span>Variables</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(5)"><span class="SelectionMark">&#160;</span>Typedefs</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(6)"><span class="SelectionMark">&#160;</span>Enumerations</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(7)"><span class="SelectionMark">&#160;</span>Enumerator</a></div>

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

</div>

<div class="footer span-22 push-2 last">
  <a href="http://www.kavrakilab.org">Physical and Biological Computing Group</a> &bull;
  <a href="http://www.cs.rice.edu">Department of Computer Science</a> &bull;
  <a href="http://www.rice.edu">Rice University</a><br>
  <div class="gray">Generated on Sun Oct 9 2011 23:04:31 by&#160;<a href="http://www.doxygen.org/index.html">doxygen</a> 1.7.4</div>
</div>
</div>
</body>
</html>