All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
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)

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 &   

Definition at line 718 of file pgr_dijkstra.hpp.

References Pgr_dijkstra< G >::dijkstra_one_goal_visitor::m_goal.

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

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