PGROUTING  3.2
pgr_allpairs.hpp File Reference
#include <boost/config.hpp>
#include <boost/graph/adjacency_list.hpp>
#include <boost/property_map/property_map.hpp>
#include <boost/graph/johnson_all_pairs_shortest.hpp>
#include <boost/graph/floyd_warshall_shortest.hpp>
#include <deque>
#include <vector>
#include <set>
#include <limits>
#include "cpp_common/basePath_SSEC.hpp"
#include "cpp_common/pgr_base_graph.hpp"
#include "cpp_common/interruption.h"
#include "cpp_common/pgr_alloc.hpp"
Include dependency graph for pgr_allpairs.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  Pgr_allpairs< G >
 
class  Pgr_allpairs< G >
 
struct  Pgr_allpairs< G >::inf_plus< T >
 

Functions

template<class G >
void pgr_floydWarshall (G &graph, size_t &result_tuple_count, Matrix_cell_t **postgres_rows)
 
template<class G >
void pgr_floydWarshall (G &graph, std::vector< Matrix_cell_t > &rows)
 
template<class G >
void pgr_johnson (G &graph, size_t &result_tuple_count, Matrix_cell_t **postgres_rows)
 
template<class G >
void pgr_johnson (G &graph, std::vector< Matrix_cell_t > &rows)
 

Function Documentation

◆ pgr_floydWarshall() [1/2]

template<class G >
void pgr_floydWarshall ( G &  graph,
size_t &  result_tuple_count,
Matrix_cell_t **  postgres_rows 
)

Definition at line 83 of file pgr_allpairs.hpp.

86  {
87  Pgr_allpairs< G > fn_floydWarshall;
88  fn_floydWarshall.floydWarshall(graph, result_tuple_count, postgres_rows);
89 }

References Pgr_allpairs< G >::floydWarshall().

◆ pgr_floydWarshall() [2/2]

template<class G >
void pgr_floydWarshall ( G &  graph,
std::vector< Matrix_cell_t > &  rows 
)

Definition at line 64 of file pgr_allpairs.hpp.

64  {
65  Pgr_allpairs< G > fn_floydWarshall;
66  fn_floydWarshall.floydWarshall(graph, rows);
67 }

References Pgr_allpairs< G >::floydWarshall().

Referenced by do_pgr_floydWarshall().

◆ pgr_johnson() [1/2]

template<class G >
void pgr_johnson ( G &  graph,
size_t &  result_tuple_count,
Matrix_cell_t **  postgres_rows 
)

Definition at line 72 of file pgr_allpairs.hpp.

75  {
76  Pgr_allpairs< G > fn_johnson;
77  fn_johnson.johnson(graph, result_tuple_count, postgres_rows);
78 }

References Pgr_allpairs< G >::johnson().

◆ pgr_johnson() [2/2]

template<class G >
void pgr_johnson ( G &  graph,
std::vector< Matrix_cell_t > &  rows 
)

Definition at line 57 of file pgr_allpairs.hpp.

57  {
58  Pgr_allpairs< G > fn_johnson;
59  fn_johnson.johnson(graph, rows);
60 }

References Pgr_allpairs< G >::johnson().

Referenced by do_pgr_johnson().

Pgr_allpairs
Definition: pgr_allpairs.hpp:52
Pgr_allpairs::johnson
void johnson(G &graph, size_t &result_tuple_count, Matrix_cell_t **postgres_rows)
Definition: pgr_allpairs.hpp:139
Pgr_allpairs::floydWarshall
void floydWarshall(G &graph, size_t &result_tuple_count, Matrix_cell_t **postgres_rows)
Definition: pgr_allpairs.hpp:96