10 template <
class Graph,
class VState>
14 typedef typename boost::graph_traits<Graph>::vertex_descriptor Vertex;
19 g(g), state_map(state_map), space(space)
22 inline void add(Vertex v_new) {}
23 inline void nearestR(Vertex v_new,
double radius, std::vector<Vertex> & vs_near)
26 for (
unsigned int ui=0; ui<num_vertices(g); ui++)
28 Vertex v_other = vertex(ui, g);
29 double dist = this->space->distance(
30 get(state_map, v_new),
31 get(state_map, v_other));
34 vs_near.push_back(v_other);
Definition: NearestNeighborsLinearBGL.h:11