Sophie

Sophie

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

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::base::GoalRegion Class 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_1base.html">base</a>      </li>
      <li class="navelem"><a class="el" href="classompl_1_1base_1_1GoalRegion.html">GoalRegion</a>      </li>
    </ul>
  </div>
</div>
<div class="header">
  <div class="summary">
<a href="#pub-methods">Public Member Functions</a> &#124;
<a href="#pro-attribs">Protected Attributes</a>  </div>
  <div class="headertitle">
<div class="title">ompl::base::GoalRegion Class Reference</div>  </div>
</div>
<div class="contents">
<!-- doxytag: class="ompl::base::GoalRegion" --><!-- doxytag: inherits="ompl::base::Goal" -->
<p>Definition of a goal region.  
 <a href="classompl_1_1base_1_1GoalRegion.html#details">More...</a></p>

<p><code>#include &lt;<a class="el" href="GoalRegion_8h_source.html">GoalRegion.h</a>&gt;</code></p>
<div class="dynheader">
Inheritance diagram for ompl::base::GoalRegion:</div>
<div class="dyncontent">
<div class="center"><img src="classompl_1_1base_1_1GoalRegion__inherit__graph.png" border="0" usemap="#ompl_1_1base_1_1GoalRegion_inherit__map" alt="Inheritance graph"/></div>
<map name="ompl_1_1base_1_1GoalRegion_inherit__map" id="ompl_1_1base_1_1GoalRegion_inherit__map">
<area shape="rect" id="node5" href="classompl_1_1base_1_1GoalSampleableRegion.html" title="Abstract definition of a goal region that can be sampled." alt="" coords="56,160,285,189"/><area shape="rect" id="node2" href="classompl_1_1base_1_1Goal.html" title="Abstract definition of goals. Will contain solutions, if found." alt="" coords="111,5,231,35"/><area shape="rect" id="node7" href="classompl_1_1base_1_1GoalState.html" title="Definition of a goal state." alt="" coords="5,237,157,267"/><area shape="rect" id="node9" href="classompl_1_1base_1_1GoalStates.html" title="Definition of a set of goal states." alt="" coords="181,237,339,267"/><area shape="rect" id="node11" href="classompl_1_1base_1_1GoalLazySamples.html" title="Definition of a goal region that can be sampled, but the sampling process can be slow. This class allows sampling the happen in a separate thread, and the number of goals may increase, as the planner is running, in a thread&#45;safe manner." alt="" coords="160,315,360,344"/></map>
<center><span class="legend">[<a href="graph_legend.html">legend</a>]</span></center></div>

<p><a href="classompl_1_1base_1_1GoalRegion-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="a8582e4a9183af6341efeec3a3d52e91b"></a><!-- doxytag: member="ompl::base::GoalRegion::GoalRegion" ref="a8582e4a9183af6341efeec3a3d52e91b" args="(const SpaceInformationPtr &amp;si)" -->
&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classompl_1_1base_1_1GoalRegion.html#a8582e4a9183af6341efeec3a3d52e91b">GoalRegion</a> (const <a class="el" href="classompl_1_1base_1_1SpaceInformationPtr.html">SpaceInformationPtr</a> &amp;si)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Create a goal region. <br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a63180f3c2e53eb6feedae905cb858f39"></a><!-- doxytag: member="ompl::base::GoalRegion::isSatisfied" ref="a63180f3c2e53eb6feedae905cb858f39" args="(const State *st) const " -->
virtual bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classompl_1_1base_1_1GoalRegion.html#a63180f3c2e53eb6feedae905cb858f39">isSatisfied</a> (const <a class="el" href="classompl_1_1base_1_1State.html">State</a> *st) const </td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Equivalent to calling isSatisfied(const State *, double *) with a NULL second argument. <br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a7d6ee3fbc03fe16a55da3b4b4c07dbca"></a><!-- doxytag: member="ompl::base::GoalRegion::isSatisfied" ref="a7d6ee3fbc03fe16a55da3b4b4c07dbca" args="(const State *st, double *distance) const " -->
virtual bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classompl_1_1base_1_1GoalRegion.html#a7d6ee3fbc03fe16a55da3b4b4c07dbca">isSatisfied</a> (const <a class="el" href="classompl_1_1base_1_1State.html">State</a> *st, double *distance) const </td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Decide whether a given state is part of the goal region. Returns true if the distance to goal is less than the threshold (using <a class="el" href="classompl_1_1base_1_1GoalRegion.html#a4c7a9ab388d762c76711790af0ba53ea" title="Compute the distance to the goal (heuristic). This function is the one used in computing the distance...">distanceGoal()</a>) <br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a4c7a9ab388d762c76711790af0ba53ea"></a><!-- doxytag: member="ompl::base::GoalRegion::distanceGoal" ref="a4c7a9ab388d762c76711790af0ba53ea" args="(const State *st) const =0" -->
virtual double&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classompl_1_1base_1_1GoalRegion.html#a4c7a9ab388d762c76711790af0ba53ea">distanceGoal</a> (const <a class="el" href="classompl_1_1base_1_1State.html">State</a> *st) const =0</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Compute the distance to the goal (heuristic). This function is the one used in computing the distance to the goal in a call to <a class="el" href="classompl_1_1base_1_1GoalRegion.html#a63180f3c2e53eb6feedae905cb858f39" title="Equivalent to calling isSatisfied(const State *, double *) with a NULL second argument.">isSatisfied()</a> <br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a270e456a2c866bb7fd1e3583607a9687"></a><!-- doxytag: member="ompl::base::GoalRegion::print" ref="a270e456a2c866bb7fd1e3583607a9687" args="(std::ostream &amp;out=std::cout) const " -->
virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classompl_1_1base_1_1GoalRegion.html#a270e456a2c866bb7fd1e3583607a9687">print</a> (std::ostream &amp;out=std::cout) const </td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Print information about the goal data structure to a stream. <br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a66faea81767a0772924082816b88e63f"></a><!-- doxytag: member="ompl::base::GoalRegion::setThreshold" ref="a66faea81767a0772924082816b88e63f" args="(double threshold)" -->
void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classompl_1_1base_1_1GoalRegion.html#a66faea81767a0772924082816b88e63f">setThreshold</a> (double threshold)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Set the distance to the goal that is allowed for a state to be considered in the goal region. <br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ab68968d615daa3e191409fa58080269a"></a><!-- doxytag: member="ompl::base::GoalRegion::getThreshold" ref="ab68968d615daa3e191409fa58080269a" args="(void) const " -->
double&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classompl_1_1base_1_1GoalRegion.html#ab68968d615daa3e191409fa58080269a">getThreshold</a> (void) const </td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Get the distance to the goal that is allowed for a state to be considered in the goal region. <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="anchor" id="a2f7fad7260906a91d4f59f39b1d96199"></a><!-- doxytag: member="ompl::base::GoalRegion::threshold_" ref="a2f7fad7260906a91d4f59f39b1d96199" args="" -->
double&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classompl_1_1base_1_1GoalRegion.html#a2f7fad7260906a91d4f59f39b1d96199">threshold_</a></td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">The maximum distance that is allowed to the goal. By default, this is initialized to the minimum epsilon value a double can represent. <br/></td></tr>
</table>
<hr/><a name="details" id="details"></a><h2>Detailed Description</h2>
<div class="textblock"><p>Definition of a goal region. </p>

<p>Definition at line <a class="el" href="GoalRegion_8h_source.html#l00050">50</a> of file <a class="el" href="GoalRegion_8h_source.html">GoalRegion.h</a>.</p>
</div><hr/>The documentation for this class was generated from the following files:<ul>
<li>src/ompl/base/<a class="el" href="GoalRegion_8h_source.html">GoalRegion.h</a></li>
<li>src/ompl/base/src/<a class="el" href="GoalRegion_8cpp_source.html">GoalRegion.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>