CAPD RedHom Library
capd::graph::NearestNeighboursBFS< Graph > Class Template Reference

#include <capd/graph/NearestNeighboursBFS.h>

Public Types

typedef Graph::Id Id
 
typedef size_t Distance
 

Public Member Functions

 NearestNeighboursBFS (Graph &graph, Id starting, Distance distanceLimit)
 
std::vector< std::pair< Id, Distance > > operator() ()
 
template<typename Visit >
void operator() (Visit visit)
 

Member Typedef Documentation

template<typename Graph >
typedef size_t capd::graph::NearestNeighboursBFS< Graph >::Distance
template<typename Graph >
typedef Graph::Id capd::graph::NearestNeighboursBFS< Graph >::Id

Constructor & Destructor Documentation

template<typename Graph >
capd::graph::NearestNeighboursBFS< Graph >::NearestNeighboursBFS ( Graph &  graph,
Id  starting,
Distance  distanceLimit 
)
inline

Member Function Documentation

template<typename Graph >
std::vector<std::pair<Id, Distance> > capd::graph::NearestNeighboursBFS< Graph >::operator() ( )
inline
template<typename Graph >
template<typename Visit >
void capd::graph::NearestNeighboursBFS< Graph >::operator() ( Visit  visit)
inline