Template Class KStrategy
Defined in File ConnectionStrategy.h
Inheritance Relationships
Derived Types
public ompl::geometric::KBoundedStrategy< Milestone >
(Template Class KBoundedStrategy)public ompl::geometric::KStarStrategy< Milestone >
(Template Class KStarStrategy)
Class Documentation
-
template<class Milestone>
class KStrategy Attempt to connect to the k nearest neighbors.
Subclassed by ompl::geometric::KBoundedStrategy< Milestone >, ompl::geometric::KStarStrategy< Milestone >
Public Functions
Constructor takes the maximum number of nearest neighbors to return (k) and the nearest neighbors datastruture to use (nn)
-
virtual ~KStrategy() = default
Set the nearest neighbors datastructure to use.
-
inline 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.
-
inline unsigned int getNumNeighbors() const