![]() |
PGROUTING
2.5
|
#include "pgr_deadEndContraction.hpp"
Public Member Functions | |
void | add_if_dead_end (G &graph, V v) |
void | calculateVertices (G &graph) |
void | doContraction (G &graph) |
bool | is_dead_end (G &graph, V v) |
true when v is a dead end More... | |
void | setForbiddenVertices (Identifiers< V > forbidden_vertices) |
Private Types | |
typedef G::E | E |
typedef G::V | V |
Private Attributes | |
Identifiers< V > | deadendVertices |
std::ostringstream | debug |
Identifiers< V > | forbiddenVertices |
Definition at line 44 of file pgr_deadEndContraction.hpp.
|
private |
Definition at line 47 of file pgr_deadEndContraction.hpp.
|
private |
Definition at line 46 of file pgr_deadEndContraction.hpp.
void pgrouting::contraction::Pgr_deadend< G >::add_if_dead_end | ( | G & | graph, |
V | v | ||
) |
Definition at line 327 of file pgr_deadEndContraction.hpp.
void pgrouting::contraction::Pgr_deadend< G >::calculateVertices | ( | G & | graph | ) |
Definition at line 78 of file pgr_deadEndContraction.hpp.
Referenced by pgrouting::contraction::Pgr_contract< G >::perform_deadEnd().
void pgrouting::contraction::Pgr_deadend< G >::doContraction | ( | G & | graph | ) |
Definition at line 335 of file pgr_deadEndContraction.hpp.
Referenced by pgrouting::contraction::Pgr_contract< G >::perform_deadEnd().
bool pgrouting::contraction::Pgr_deadend< G >::is_dead_end | ( | G & | graph, |
V | v | ||
) |
true when v is a dead end
case (1): (dead start)
case (2): (dead end)
case (3):
case (4):
case (5):
Definition at line 98 of file pgr_deadEndContraction.hpp.
References pgassert, and Identifiers< T >::size().
void pgrouting::contraction::Pgr_deadend< G >::setForbiddenVertices | ( | Identifiers< V > | forbidden_vertices | ) |
Definition at line 68 of file pgr_deadEndContraction.hpp.
Referenced by pgrouting::contraction::Pgr_contract< G >::perform_deadEnd().
|
private |
Definition at line 60 of file pgr_deadEndContraction.hpp.
|
private |
Definition at line 62 of file pgr_deadEndContraction.hpp.
|
private |
Definition at line 61 of file pgr_deadEndContraction.hpp.