PGROUTING
3.2
|
Functions | |
template<typename G > | |
Identifiers< int64_t > | get_modified_vertices (const G &graph) |
vertices with at least one contracted vertex More... | |
template<typename G > | |
void | get_postgres_result (G &graph, contracted_rt **return_tuples, size_t *count) |
template<typename G > | |
std::vector< typename G::E > | get_shortcuts (const G &graph) |
vertices with at least one contracted vertex More... | |
template<typename G > | |
void | 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) |
Identifiers<int64_t> anonymous_namespace{contractGraph_driver.cpp}::get_modified_vertices | ( | const G & | graph | ) |
vertices with at least one contracted vertex
Definition at line 51 of file contractGraph_driver.cpp.
Referenced by get_postgres_result().
void anonymous_namespace{contractGraph_driver.cpp}::get_postgres_result | ( | G & | graph, |
contracted_rt ** | return_tuples, | ||
size_t * | count | ||
) |
Definition at line 111 of file contractGraph_driver.cpp.
References edge::cost, get_modified_vertices(), get_shortcuts(), pgassert, pgr_alloc(), edge::source, and edge::target.
std::vector<typename G::E> anonymous_namespace{contractGraph_driver.cpp}::get_shortcuts | ( | const G & | graph | ) |
vertices with at least one contracted vertex
Definition at line 66 of file contractGraph_driver.cpp.
References Identifiers< T >::begin(), Identifiers< T >::end(), and pgassert.
Referenced by get_postgres_result().
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 | ||
) |