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

#include "prim_dijkstra_visitor.hpp"

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

Public Member Functions

 Prim_dijkstra_visitor (std::vector< V > &data)
 
template<class B_G >
void finish_vertex (V v, B_G &)
 

Private Attributes

std::vector< V > & m_data
 

Detailed Description

template<class V>
class pgrouting::visitors::Prim_dijkstra_visitor< V >

Definition at line 42 of file prim_dijkstra_visitor.hpp.

Constructor & Destructor Documentation

◆ Prim_dijkstra_visitor()

template<class V >
pgrouting::visitors::Prim_dijkstra_visitor< V >::Prim_dijkstra_visitor ( std::vector< V > &  data)
inlineexplicit

Definition at line 44 of file prim_dijkstra_visitor.hpp.

45  :
46  m_data(data) {}

Member Function Documentation

◆ finish_vertex()

template<class V >
template<class B_G >
void pgrouting::visitors::Prim_dijkstra_visitor< V >::finish_vertex ( v,
B_G &   
)
inline

Definition at line 48 of file prim_dijkstra_visitor.hpp.

48  {
49  m_data.push_back(v);
50  }

References pgrouting::visitors::Prim_dijkstra_visitor< V >::m_data.

Member Data Documentation

◆ m_data

template<class V >
std::vector<V>& pgrouting::visitors::Prim_dijkstra_visitor< V >::m_data
private

The documentation for this class was generated from the following file:
pgrouting::visitors::Prim_dijkstra_visitor::m_data
std::vector< V > & m_data
Definition: prim_dijkstra_visitor.hpp:52