PGROUTING  2.4
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Pgr_dijkstra< G >::dijkstra_distance_visitor Class Reference

class for stopping when a distance/cost has being surpassed More...

Inheritance diagram for Pgr_dijkstra< G >::dijkstra_distance_visitor:

Public Member Functions

 dijkstra_distance_visitor (double distance_goal, std::deque< V > &nodesInDistance, std::vector< double > &distances)
 
template<class B_G >
void examine_vertex (V u, B_G &g)
 

Private Attributes

std::vector< double > & m_dist
 
double m_distance_goal
 
std::deque< V > & m_nodes
 

Detailed Description

template<class G>
class Pgr_dijkstra< G >::dijkstra_distance_visitor

class for stopping when a distance/cost has being surpassed

Definition at line 297 of file pgr_dijkstra.hpp.

Constructor & Destructor Documentation

template<class G>
Pgr_dijkstra< G >::dijkstra_distance_visitor::dijkstra_distance_visitor ( double  distance_goal,
std::deque< V > &  nodesInDistance,
std::vector< double > &  distances 
)
inlineexplicit

Definition at line 299 of file pgr_dijkstra.hpp.

Member Function Documentation

template<class G>
template<class B_G >
void Pgr_dijkstra< G >::dijkstra_distance_visitor::examine_vertex ( V  u,
B_G &  g 
)
inline

Member Data Documentation

template<class G>
std::vector< double >& Pgr_dijkstra< G >::dijkstra_distance_visitor::m_dist
private
template<class G>
double Pgr_dijkstra< G >::dijkstra_distance_visitor::m_distance_goal
private
template<class G>
std::deque< V >& Pgr_dijkstra< G >::dijkstra_distance_visitor::m_nodes
private

The documentation for this class was generated from the following file: