PGROUTING  2.6
Pgr_dijkstra< G >::dijkstra_one_goal_visitor Class Reference

class for stopping when 1 target is found More...

Inheritance diagram for Pgr_dijkstra< G >::dijkstra_one_goal_visitor:
Collaboration diagram for Pgr_dijkstra< G >::dijkstra_one_goal_visitor:

Public Member Functions

 dijkstra_one_goal_visitor (V goal)
 
template<class B_G >
void examine_vertex (V &u, B_G &)
 

Private Attributes

V m_goal
 

Detailed Description

template<class G>
class Pgr_dijkstra< G >::dijkstra_one_goal_visitor

class for stopping when 1 target is found

Definition at line 714 of file pgr_dijkstra.hpp.

Constructor & Destructor Documentation

template<class G>
Pgr_dijkstra< G >::dijkstra_one_goal_visitor::dijkstra_one_goal_visitor ( V  goal)
inlineexplicit

Definition at line 716 of file pgr_dijkstra.hpp.

Member Function Documentation

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

Definition at line 718 of file pgr_dijkstra.hpp.

718  {
719  if (u == m_goal) throw found_goals();
720  }

Member Data Documentation

template<class G>
V Pgr_dijkstra< G >::dijkstra_one_goal_visitor::m_goal
private

Definition at line 722 of file pgr_dijkstra.hpp.


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