PGROUTING
3.2
|
#include "drivers/lineGraph/lineGraph_driver.h"
#include <sstream>
#include <deque>
#include <vector>
#include <utility>
#include "dijkstra/pgr_dijkstra.hpp"
#include "cpp_common/pgr_alloc.hpp"
#include "cpp_common/pgr_assert.h"
#include "lineGraph/pgr_lineGraph.hpp"
#include "cpp_common/linear_directed_graph.h"
Go to the source code of this file.
Functions | |
void | do_pgr_lineGraph (pgr_edge_t *data_edges, size_t total_edges, bool directed, Line_graph_rt **return_tuples, size_t *return_count, char **log_msg, char **notice_msg, char **err_msg) |
void | get_postgres_result (std::vector< Line_graph_rt > edge_result, Line_graph_rt **return_tuples, size_t &sequence) |
void do_pgr_lineGraph | ( | pgr_edge_t * | data_edges, |
size_t | total_edges, | ||
bool | directed, | ||
Line_graph_rt ** | return_tuples, | ||
size_t * | return_count, | ||
char ** | log_msg, | ||
char ** | notice_msg, | ||
char ** | err_msg | ||
) |
Definition at line 60 of file lineGraph_driver.cpp.
References DIRECTED, get_postgres_result(), pgrouting::graph::Pgr_base_graph< G, T_V, T_E >::insert_edges_neg(), pgassert, pgr_free(), pgr_msg(), UNDIRECTED, and AssertFailedException::what().
Referenced by process().
void get_postgres_result | ( | std::vector< Line_graph_rt > | edge_result, |
Line_graph_rt ** | return_tuples, | ||
size_t & | sequence | ||
) |
Definition at line 46 of file lineGraph_driver.cpp.
References edge::cost, edge::id, pgr_alloc(), edge::reverse_cost, edge::source, and edge::target.
Referenced by do_pgr_contractGraph(), and do_pgr_lineGraph().