ompl::geometric::KBoundedStrategy< Milestone > Class Template Reference
Return at most k neighbors, as long as they are also within a specified bound. More...
#include <ompl/geometric/planners/prm/ConnectionStrategy.h>
Inheritance diagram for ompl::geometric::KBoundedStrategy< Milestone >:

Public Member Functions | |
KBoundedStrategy (const unsigned int k, const double bound, const boost::shared_ptr< NearestNeighbors< Milestone > > &nn) | |
Constructor. | |
const std::vector< Milestone > & | operator() (const Milestone &m) |
Given a milestone m, find the number of nearest neighbors connection attempts that should be made from it, according to the connection strategy. | |
Protected Attributes | |
const double | bound_ |
The maximum distance at which nearby milestones are reported. |
Detailed Description
template<class Milestone>
class ompl::geometric::KBoundedStrategy< Milestone >
Return at most k neighbors, as long as they are also within a specified bound.
Definition at line 167 of file ConnectionStrategy.h.
Constructor & Destructor Documentation
template<class Milestone>
ompl::geometric::KBoundedStrategy< Milestone >::KBoundedStrategy | ( | const unsigned int | k, |
const double | bound, | ||
const boost::shared_ptr< NearestNeighbors< Milestone > > & | nn | ||
) | [inline] |
Constructor.
- Parameters:
-
k the maximum number of nearest neighbors to return bound the maximum distance for any nearest neighbor to be returned nn the nearest neighbors datastruture to use
Definition at line 178 of file ConnectionStrategy.h.
The documentation for this class was generated from the following file:
- ompl/geometric/planners/prm/ConnectionStrategy.h