19 #ifndef HPP_CORE_NEAREST_NEIGHBOR_HH 20 # define HPP_CORE_NEAREST_NEIGHBOR_HH 30 virtual void clear () = 0;
92 #endif // HPP_CORE_NEAREST_NEIGHBOR_HH
virtual ~NearestNeighbor()
Definition: nearest-neighbor.hh:86
virtual void merge(ConnectedComponentPtr_t cc1, ConnectedComponentPtr_t cc2)=0
Optimization of the nearest neighbor search.
Definition: nearest-neighbor.hh:27
virtual Nodes_t KnearestSearch(const Configuration_t &configuration, const ConnectedComponentPtr_t &connectedComponent, const std::size_t K, value_type &distance)=0
boost::shared_ptr< ConnectedComponent > ConnectedComponentPtr_t
Definition: fwd.hh:107
virtual void addNode(const NodePtr_t &node)=0
std::list< NodePtr_t > Nodes_t
Definition: fwd.hh:164
pinocchio::value_type value_type
Definition: fwd.hh:157
virtual DistancePtr_t distance() const =0
virtual NodePtr_t search(const Configuration_t &configuration, const ConnectedComponentPtr_t &connectedComponent, value_type &distance, bool reverse=false)=0
search Return the closest node of the given configuration
boost::shared_ptr< Roadmap > RoadmapPtr_t
Definition: fwd.hh:181
boost::shared_ptr< Distance > DistancePtr_t
Definition: fwd.hh:122
pinocchio::Configuration_t Configuration_t
Definition: fwd.hh:96