mikael-s-persson/ReaK — Issue #3: multi_dvp_tree_search missing K nearest-neighbor operator()
Author: daviddoria
Created: 2012-01-31 01:44:06+00:00
State: open

It seems that the DVP tree does not have an operator() with the same signature as the linear k-nn:

Linear:

template
void operator()(const typename boost::property_traits::value_type& p, OutputContainer& output,
Graph& g, const Topology& space, PositionMap position, unsigned int max_neighbors = 1, double radius = std::numeric_limits::infinity())

Maybe multi_dvp_tree_search just needs another operator() overload that calls the knn find_nearest instead of the one parameter find_nearest()?