Sophie

Sophie

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

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::geometric::RRT 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_1geometric.html">geometric</a>      </li>
      <li class="navelem"><a class="el" href="classompl_1_1geometric_1_1RRT.html">RRT</a>      </li>
    </ul>
  </div>
</div>
<div class="header">
  <div class="summary">
<a href="#nested-classes">Classes</a> &#124;
<a href="#pub-methods">Public Member Functions</a> &#124;
<a href="#pro-methods">Protected Member Functions</a> &#124;
<a href="#pro-attribs">Protected Attributes</a>  </div>
  <div class="headertitle">
<div class="title">ompl::geometric::RRT Class Reference</div>  </div>
</div>
<div class="contents">
<!-- doxytag: class="ompl::geometric::RRT" --><!-- doxytag: inherits="ompl::base::Planner" -->
<p>Rapidly-exploring Random Trees.  
 <a href="classompl_1_1geometric_1_1RRT.html#details">More...</a></p>

<p><code>#include &lt;<a class="el" href="geometric_2planners_2rrt_2RRT_8h_source.html">RRT.h</a>&gt;</code></p>
<div class="dynheader">
Inheritance diagram for ompl::geometric::RRT:</div>
<div class="dyncontent">
<div class="center"><img src="classompl_1_1geometric_1_1RRT__inherit__graph.png" border="0" usemap="#ompl_1_1geometric_1_1RRT_inherit__map" alt="Inheritance graph"/></div>
<map name="ompl_1_1geometric_1_1RRT_inherit__map" id="ompl_1_1geometric_1_1RRT_inherit__map">
<area shape="rect" id="node2" href="classompl_1_1base_1_1Planner.html" title="Base class for a planner." alt="" coords="11,5,149,35"/></map>
<center><span class="legend">[<a href="graph_legend.html">legend</a>]</span></center></div>

<p><a href="classompl_1_1geometric_1_1RRT-members.html">List of all members.</a></p>
<table class="memberdecls">
<tr><td colspan="2"><h2><a name="nested-classes"></a>
Classes</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">class &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classompl_1_1geometric_1_1RRT_1_1Motion.html">Motion</a></td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Representation of a motion.  <a href="classompl_1_1geometric_1_1RRT_1_1Motion.html#details">More...</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="anchor" id="ad5d527eb6ae532aaa2ebdac6d743f8f7"></a><!-- doxytag: member="ompl::geometric::RRT::RRT" ref="ad5d527eb6ae532aaa2ebdac6d743f8f7" args="(const base::SpaceInformationPtr &amp;si)" -->
&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classompl_1_1geometric_1_1RRT.html#ad5d527eb6ae532aaa2ebdac6d743f8f7">RRT</a> (const <a class="el" href="classompl_1_1base_1_1SpaceInformationPtr.html">base::SpaceInformationPtr</a> &amp;si)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Constructor. <br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a928abf7aaeb87e52d231c09a9e78b3a9"></a><!-- doxytag: member="ompl::geometric::RRT::getPlannerData" ref="a928abf7aaeb87e52d231c09a9e78b3a9" args="(base::PlannerData &amp;data) const " -->
virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classompl_1_1geometric_1_1RRT.html#a928abf7aaeb87e52d231c09a9e78b3a9">getPlannerData</a> (<a class="el" href="classompl_1_1base_1_1PlannerData.html">base::PlannerData</a> &amp;data) const </td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Get information about the current run of the motion planner. Repeated calls to this function will update <em>data</em> (only additions are made). This is useful to see what changed in the exploration datastructure, between calls to <a class="el" href="classompl_1_1geometric_1_1RRT.html#ab16e787ea8647a3eb31e9b82fc3c2703" title="Function that can solve the motion planning problem. This function can be called multiple times on th...">solve()</a>, for example (without calling <a class="el" href="classompl_1_1geometric_1_1RRT.html#aa20941b70224aa443778b38ccc279ce0" title="Clear all internal datastructures. Planner settings are not affected. Subsequent calls to solve() wil...">clear()</a> in between). <br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ab16e787ea8647a3eb31e9b82fc3c2703"></a><!-- doxytag: member="ompl::geometric::RRT::solve" ref="ab16e787ea8647a3eb31e9b82fc3c2703" args="(const base::PlannerTerminationCondition &amp;ptc)" -->
virtual bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classompl_1_1geometric_1_1RRT.html#ab16e787ea8647a3eb31e9b82fc3c2703">solve</a> (const <a class="el" href="classompl_1_1base_1_1PlannerTerminationCondition.html">base::PlannerTerminationCondition</a> &amp;ptc)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Function that can solve the motion planning problem. This function can be called multiple times on the same problem, without calling <a class="el" href="classompl_1_1geometric_1_1RRT.html#aa20941b70224aa443778b38ccc279ce0" title="Clear all internal datastructures. Planner settings are not affected. Subsequent calls to solve() wil...">clear()</a> in between. This allows the planner to continue work more time on an unsolved problem, for example. If this option is used, it is assumed the problem definition is not changed (unpredictable results otherwise). The only change in the problem definition that is accounted for is the addition of starting or goal states (but not changing previously added start/goal states). The function terminates if the call to <em>ptc</em> returns true. <br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="aa20941b70224aa443778b38ccc279ce0"></a><!-- doxytag: member="ompl::geometric::RRT::clear" ref="aa20941b70224aa443778b38ccc279ce0" args="(void)" -->
virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classompl_1_1geometric_1_1RRT.html#aa20941b70224aa443778b38ccc279ce0">clear</a> (void)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Clear all internal datastructures. Planner settings are not affected. Subsequent calls to <a class="el" href="classompl_1_1geometric_1_1RRT.html#ab16e787ea8647a3eb31e9b82fc3c2703" title="Function that can solve the motion planning problem. This function can be called multiple times on th...">solve()</a> will ignore all previous work. <br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classompl_1_1geometric_1_1RRT.html#a266da7a6379a2893e19d06993335ed25">setGoalBias</a> (double goalBias)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Set the goal bias.  <a href="#a266da7a6379a2893e19d06993335ed25"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a8d849d0c349152320a7e31c3088dd2aa"></a><!-- doxytag: member="ompl::geometric::RRT::getGoalBias" ref="a8d849d0c349152320a7e31c3088dd2aa" args="(void) const " -->
double&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classompl_1_1geometric_1_1RRT.html#a8d849d0c349152320a7e31c3088dd2aa">getGoalBias</a> (void) const </td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Get the goal bias the planner is using. <br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classompl_1_1geometric_1_1RRT.html#abe92fdafd6201308401d149c4d47b5ed">setRange</a> (double distance)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Set the range the planner is supposed to use.  <a href="#abe92fdafd6201308401d149c4d47b5ed"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a19cae3dead7efb25a9aeac2281a40b56"></a><!-- doxytag: member="ompl::geometric::RRT::getRange" ref="a19cae3dead7efb25a9aeac2281a40b56" args="(void) const " -->
double&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classompl_1_1geometric_1_1RRT.html#a19cae3dead7efb25a9aeac2281a40b56">getRange</a> (void) const </td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Get the range the planner is using. <br/></td></tr>
<tr><td class="memTemplParams" colspan="2"><a class="anchor" id="a87bd7c9d0263bd451d92231d17a4485b"></a><!-- doxytag: member="ompl::geometric::RRT::setNearestNeighbors" ref="a87bd7c9d0263bd451d92231d17a4485b" args="(void)" -->
template&lt;template&lt; typename T &gt; class NN&gt; </td></tr>
<tr><td class="memTemplItemLeft" align="right" valign="top">void&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="classompl_1_1geometric_1_1RRT.html#a87bd7c9d0263bd451d92231d17a4485b">setNearestNeighbors</a> (void)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Set a different nearest neighbors datastructure. <br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ac1d3378e5a17ec6f0be8df915ee8914b"></a><!-- doxytag: member="ompl::geometric::RRT::setup" ref="ac1d3378e5a17ec6f0be8df915ee8914b" args="(void)" -->
virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classompl_1_1geometric_1_1RRT.html#ac1d3378e5a17ec6f0be8df915ee8914b">setup</a> (void)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Perform extra configuration steps, if needed. This call will also issue a call to <a class="el" href="classompl_1_1base_1_1SpaceInformation.html#ac39aa0c4b92e3ca5acfa75eeb56b080f" title="Perform additional setup tasks (run once, before use). If state validity checking resolution has not ...">ompl::base::SpaceInformation::setup()</a> if needed. This must be called before solving. <br/></td></tr>
<tr><td colspan="2"><h2><a name="pro-methods"></a>
Protected Member Functions</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="add60f3b7b32ae321ac3226c951d331ea"></a><!-- doxytag: member="ompl::geometric::RRT::freeMemory" ref="add60f3b7b32ae321ac3226c951d331ea" args="(void)" -->
void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classompl_1_1geometric_1_1RRT.html#add60f3b7b32ae321ac3226c951d331ea">freeMemory</a> (void)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Free the memory allocated by this planner. <br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a4fc0b1e2020a8305395fb5d3e7533bfd"></a><!-- doxytag: member="ompl::geometric::RRT::distanceFunction" ref="a4fc0b1e2020a8305395fb5d3e7533bfd" args="(const Motion *a, const Motion *b) const " -->
double&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classompl_1_1geometric_1_1RRT.html#a4fc0b1e2020a8305395fb5d3e7533bfd">distanceFunction</a> (const <a class="el" href="classompl_1_1geometric_1_1RRT_1_1Motion.html">Motion</a> *a, const <a class="el" href="classompl_1_1geometric_1_1RRT_1_1Motion.html">Motion</a> *b) const </td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Compute distance between motions (actually distance between contained states) <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="a2c158677fe09bf0b112732a331462bdb"></a><!-- doxytag: member="ompl::geometric::RRT::sampler_" ref="a2c158677fe09bf0b112732a331462bdb" args="" -->
<a class="el" href="classompl_1_1base_1_1StateSamplerPtr.html">base::StateSamplerPtr</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classompl_1_1geometric_1_1RRT.html#a2c158677fe09bf0b112732a331462bdb">sampler_</a></td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">State sampler. <br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ab9132d811b71cfb484c1f52b7be05a64"></a><!-- doxytag: member="ompl::geometric::RRT::nn_" ref="ab9132d811b71cfb484c1f52b7be05a64" args="" -->
boost::shared_ptr<br class="typebreak"/>
&lt; <a class="el" href="classompl_1_1NearestNeighbors.html">NearestNeighbors</a>&lt; <a class="el" href="classompl_1_1geometric_1_1RRT_1_1Motion.html">Motion</a> * &gt; &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classompl_1_1geometric_1_1RRT.html#ab9132d811b71cfb484c1f52b7be05a64">nn_</a></td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">A nearest-neighbors datastructure containing the tree of motions. <br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="adaf18fdeef00563d5a9010540664619f"></a><!-- doxytag: member="ompl::geometric::RRT::goalBias_" ref="adaf18fdeef00563d5a9010540664619f" args="" -->
double&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classompl_1_1geometric_1_1RRT.html#adaf18fdeef00563d5a9010540664619f">goalBias_</a></td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">The fraction of time the goal is picked as the state to expand towards (if such a state is available) <br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="aab0d2454d49ba18b34a891270e21302b"></a><!-- doxytag: member="ompl::geometric::RRT::maxDistance_" ref="aab0d2454d49ba18b34a891270e21302b" args="" -->
double&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classompl_1_1geometric_1_1RRT.html#aab0d2454d49ba18b34a891270e21302b">maxDistance_</a></td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">The maximum length of a motion to be added to a tree. <br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a0d8f48d596b39914128e40ce0c488817"></a><!-- doxytag: member="ompl::geometric::RRT::rng_" ref="a0d8f48d596b39914128e40ce0c488817" args="" -->
<a class="el" href="classompl_1_1RNG.html">RNG</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classompl_1_1geometric_1_1RRT.html#a0d8f48d596b39914128e40ce0c488817">rng_</a></td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">The random number generator. <br/></td></tr>
</table>
<hr/><a name="details" id="details"></a><h2>Detailed Description</h2>
<div class="textblock"><p>Rapidly-exploring Random Trees. </p>
<p><a class="anchor" id="gRRT"></a></p>
<dl class="user"><dt><b>Short description</b></dt><dd><a class="el" href="classompl_1_1geometric_1_1RRT.html" title="Rapidly-exploring Random Trees.">RRT</a> is a tree-based motion planner that uses the following idea: <a class="el" href="classompl_1_1geometric_1_1RRT.html" title="Rapidly-exploring Random Trees.">RRT</a> samples a random state <b>qr</b> in the state space, then finds the state <b>qc</b> among the previously seen states that is closest to <b>qr</b> and expands from <b>qc</b> towards <b>qr</b>, until a state <b>qm</b> is reached. <b>qm</b> is then added to the exploration tree.</dd></dl>
<dl class="user"><dt><b>External documentation</b></dt><dd>J. Kuffner and S.M. LaValle, RRT-connect: An efficient approach to single-query path planning, in <em>Proc. 2000 IEEE Intl. Conf. on Robotics and Automation</em>, pp. 995–1001, Apr. 2000. DOI: <a href="http://dx.doi.org/10.1109/ROBOT.2000.844730">10.1109/ROBOT.2000.844730</a><br/>
 <a href="http://ieeexplore.ieee.org/ielx5/6794/18246/00844730.pdf?tp=&amp;arnumber=844730&amp;isnumber=18246">[PDF]</a> <a href="http://msl.cs.uiuc.edu/~lavalle/rrtpubs.html">[more]</a> </dd></dl>

<p>Definition at line <a class="el" href="geometric_2planners_2rrt_2RRT_8h_source.html#l00068">68</a> of file <a class="el" href="geometric_2planners_2rrt_2RRT_8h_source.html">RRT.h</a>.</p>
</div><hr/><h2>Member Function Documentation</h2>
<a class="anchor" id="a266da7a6379a2893e19d06993335ed25"></a><!-- doxytag: member="ompl::geometric::RRT::setGoalBias" ref="a266da7a6379a2893e19d06993335ed25" args="(double goalBias)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void ompl::geometric::RRT::setGoalBias </td>
          <td>(</td>
          <td class="paramtype">double&#160;</td>
          <td class="paramname"><em>goalBias</em></td><td>)</td>
          <td><code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Set the goal bias. </p>
<p>In the process of randomly selecting states in the state space to attempt to go towards, the algorithm may in fact choose the actual goal state, if it knows it, with some probability. This probability is a real number between 0.0 and 1.0; its value should usually be around 0.05 and should not be too large. It is probably a good idea to use the default value. </p>

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

</div>
</div>
<a class="anchor" id="abe92fdafd6201308401d149c4d47b5ed"></a><!-- doxytag: member="ompl::geometric::RRT::setRange" ref="abe92fdafd6201308401d149c4d47b5ed" args="(double distance)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void ompl::geometric::RRT::setRange </td>
          <td>(</td>
          <td class="paramtype">double&#160;</td>
          <td class="paramname"><em>distance</em></td><td>)</td>
          <td><code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Set the range the planner is supposed to use. </p>
<p>This parameter greatly influences the runtime of the algorithm. It represents the maximum length of a motion to be added in the tree of motions. </p>

<p>Definition at line <a class="el" href="geometric_2planners_2rrt_2RRT_8h_source.html#l00117">117</a> of file <a class="el" href="geometric_2planners_2rrt_2RRT_8h_source.html">RRT.h</a>.</p>

</div>
</div>
<hr/>The documentation for this class was generated from the following files:<ul>
<li>src/ompl/geometric/planners/rrt/<a class="el" href="geometric_2planners_2rrt_2RRT_8h_source.html">RRT.h</a></li>
<li>src/ompl/geometric/planners/rrt/src/<a class="el" href="geometric_2planners_2rrt_2src_2RRT_8cpp_source.html">RRT.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:32 by&#160;<a href="http://www.doxygen.org/index.html">doxygen</a> 1.7.4</div>
</div>
</div>
</body>
</html>