PGROUTING  3.2
pgrouting::Pgr_dijkstra< G >::dijkstra_distance_visitor Class Reference

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

Inheritance diagram for pgrouting::Pgr_dijkstra< G >::dijkstra_distance_visitor:
Collaboration diagram for pgrouting::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 &)
 

Private Attributes

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

Detailed Description

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

class for stopping when a distance/cost has being surpassed

Definition at line 787 of file pgr_dijkstra.hpp.

Constructor & Destructor Documentation

◆ dijkstra_distance_visitor()

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

Member Function Documentation

◆ examine_vertex()

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

Member Data Documentation

◆ m_dist

template<class G >
std::vector< double >& pgrouting::Pgr_dijkstra< G >::dijkstra_distance_visitor::m_dist
private

◆ m_distance_goal

template<class G >
double pgrouting::Pgr_dijkstra< G >::dijkstra_distance_visitor::m_distance_goal
private

◆ m_nodes

template<class G >
std::deque< V >& pgrouting::Pgr_dijkstra< G >::dijkstra_distance_visitor::m_nodes
private

The documentation for this class was generated from the following file:
pgrouting::Pgr_dijkstra::nodesInDistance
std::deque< V > nodesInDistance
Definition: pgr_dijkstra.hpp:742
pgrouting::Pgr_dijkstra::dijkstra_distance_visitor::m_dist
std::vector< double > & m_dist
Definition: pgr_dijkstra.hpp:810
pgrouting::Pgr_dijkstra::dijkstra_distance_visitor::m_distance_goal
double m_distance_goal
Definition: pgr_dijkstra.hpp:808
pgassert
#define pgassert(expr)
Uses the standard assert syntax.
Definition: pgr_assert.h:94
pgrouting::Pgr_dijkstra::dijkstra_distance_visitor::m_nodes
std::deque< V > & m_nodes
Definition: pgr_dijkstra.hpp:809
pgrouting::Pgr_dijkstra::distances
std::vector< double > distances
Definition: pgr_dijkstra.hpp:741