PGROUTING  3.2
pgrouting::visitors::dijkstra_one_goal_visitor< V > Class Template Reference

#include "dijkstra_one_goal_visitor.hpp"

Inheritance diagram for pgrouting::visitors::dijkstra_one_goal_visitor< V >:
Collaboration diagram for pgrouting::visitors::dijkstra_one_goal_visitor< V >:

Public Member Functions

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

Private Attributes

m_goal
 

Detailed Description

template<typename V>
class pgrouting::visitors::dijkstra_one_goal_visitor< V >

Definition at line 39 of file dijkstra_one_goal_visitor.hpp.

Constructor & Destructor Documentation

◆ dijkstra_one_goal_visitor()

template<typename V >
pgrouting::visitors::dijkstra_one_goal_visitor< V >::dijkstra_one_goal_visitor ( goal)
inlineexplicit

Definition at line 41 of file dijkstra_one_goal_visitor.hpp.

41 : m_goal(goal) {}

Member Function Documentation

◆ examine_vertex()

template<typename V >
template<class B_G >
void pgrouting::visitors::dijkstra_one_goal_visitor< V >::examine_vertex ( V &  u,
B_G &   
)
inline

Definition at line 43 of file dijkstra_one_goal_visitor.hpp.

43  {
44  if (u == m_goal) throw found_goals();
45  }

References pgrouting::visitors::dijkstra_one_goal_visitor< V >::m_goal.

Member Data Documentation

◆ m_goal


The documentation for this class was generated from the following file:
pgrouting::visitors::dijkstra_one_goal_visitor::m_goal
V m_goal
Definition: dijkstra_one_goal_visitor.hpp:47