PGROUTING
3.2
|
#include "drivers/contraction/contractGraph_driver.h"
#include <string.h>
#include <sstream>
#include <deque>
#include <vector>
#include <algorithm>
#include "contraction/ch_graphs.hpp"
#include "contraction/pgr_contract.hpp"
#include "cpp_common/identifiers.hpp"
#include "cpp_common/pgr_alloc.hpp"
Go to the source code of this file.
Namespaces | |
anonymous_namespace{contractGraph_driver.cpp} | |
Functions | |
void | do_pgr_contractGraph (pgr_edge_t *data_edges, size_t total_edges, int64_t *forbidden_vertices, size_t size_forbidden_vertices, int64_t *contraction_order, size_t size_contraction_order, int64_t max_cycles, bool directed, contracted_rt **return_tuples, size_t *return_count, char **log_msg, char **notice_msg, char **err_msg) |
template<typename G > | |
Identifiers< int64_t > | anonymous_namespace{contractGraph_driver.cpp}::get_modified_vertices (const G &graph) |
vertices with at least one contracted vertex More... | |
template<typename G > | |
void | anonymous_namespace{contractGraph_driver.cpp}::get_postgres_result (G &graph, contracted_rt **return_tuples, size_t *count) |
template<typename G > | |
std::vector< typename G::E > | anonymous_namespace{contractGraph_driver.cpp}::get_shortcuts (const G &graph) |
vertices with at least one contracted vertex More... | |
template<typename G > | |
void | anonymous_namespace{contractGraph_driver.cpp}::process_contraction (G &graph, const std::vector< pgr_edge_t > &edges, const std::vector< int64_t > &forbidden_vertices, const std::vector< int64_t > &contraction_order, int64_t max_cycles) |
void do_pgr_contractGraph | ( | pgr_edge_t * | data_edges, |
size_t | total_edges, | ||
int64_t * | forbidden_vertices, | ||
size_t | size_forbidden_vertices, | ||
int64_t * | contraction_order, | ||
size_t | size_contraction_order, | ||
int64_t | max_cycles, | ||
bool | directed, | ||
contracted_rt ** | return_tuples, | ||
size_t * | return_count, | ||
char ** | log_msg, | ||
char ** | notice_msg, | ||
char ** | err_msg | ||
) |
Definition at line 177 of file contractGraph_driver.cpp.
References DIRECTED, get_postgres_result(), pgrouting::contraction::is_valid_contraction(), pgassert, pgr_free(), pgr_msg(), anonymous_namespace{contractGraph_driver.cpp}::process_contraction(), UNDIRECTED, and AssertFailedException::what().
Referenced by process().