PGROUTING
3.2
|
#include "pgr_binaryBreadthFirstSearch.hpp"
Public Types | |
typedef G::B_G | B_G |
typedef G::E | E |
typedef G::E_i | E_i |
typedef G::EO_i | EO_i |
typedef G::V | V |
Public Member Functions | |
std::deque< Path > | binaryBreadthFirstSearch (G &graph, const std::vector< pgr_combination_t > &combinations) |
std::deque< Path > | binaryBreadthFirstSearch (G &graph, std::vector< int64_t > start_vertex, std::vector< int64_t > end_vertex) |
Private Member Functions | |
Path | getPath (G &graph, V bgl_start_vertex, int64_t target, V bgl_target_vertex, std::vector< E > &from_edge, std::vector< double > ¤t_cost) |
std::deque< Path > | one_to_many_binaryBreadthFirstSearch (G &graph, int64_t start_vertex, std::vector< int64_t > end_vertex) |
void | updateVertexCosts (G &graph, std::vector< double > ¤t_cost, std::vector< E > &from_edge, std::deque< V > &dq, V &head_vertex) |
Private Attributes | |
E | DEFAULT_EDGE |
Definition at line 44 of file pgr_binaryBreadthFirstSearch.hpp.
typedef G::B_G pgrouting::functions::Pgr_binaryBreadthFirstSearch< G >::B_G |
Definition at line 48 of file pgr_binaryBreadthFirstSearch.hpp.
typedef G::E pgrouting::functions::Pgr_binaryBreadthFirstSearch< G >::E |
Definition at line 47 of file pgr_binaryBreadthFirstSearch.hpp.
typedef G::E_i pgrouting::functions::Pgr_binaryBreadthFirstSearch< G >::E_i |
Definition at line 50 of file pgr_binaryBreadthFirstSearch.hpp.
typedef G::EO_i pgrouting::functions::Pgr_binaryBreadthFirstSearch< G >::EO_i |
Definition at line 49 of file pgr_binaryBreadthFirstSearch.hpp.
typedef G::V pgrouting::functions::Pgr_binaryBreadthFirstSearch< G >::V |
Definition at line 46 of file pgr_binaryBreadthFirstSearch.hpp.
|
inline |
Definition at line 82 of file pgr_binaryBreadthFirstSearch.hpp.
References pgrouting::functions::Pgr_binaryBreadthFirstSearch< G >::one_to_many_binaryBreadthFirstSearch().
|
inline |
Definition at line 52 of file pgr_binaryBreadthFirstSearch.hpp.
References pgrouting::functions::Pgr_binaryBreadthFirstSearch< G >::one_to_many_binaryBreadthFirstSearch().
Referenced by pgr_binaryBreadthFirstSearch().
|
inlineprivate |
Definition at line 171 of file pgr_binaryBreadthFirstSearch.hpp.
References Path::begin(), pgrouting::functions::Pgr_binaryBreadthFirstSearch< G >::DEFAULT_EDGE, Path::end(), and Path::push_back().
Referenced by pgrouting::functions::Pgr_binaryBreadthFirstSearch< G >::one_to_many_binaryBreadthFirstSearch().
|
inlineprivate |
Definition at line 125 of file pgr_binaryBreadthFirstSearch.hpp.
References pgrouting::functions::Pgr_binaryBreadthFirstSearch< G >::DEFAULT_EDGE, pgrouting::functions::Pgr_binaryBreadthFirstSearch< G >::getPath(), and pgrouting::functions::Pgr_binaryBreadthFirstSearch< G >::updateVertexCosts().
Referenced by pgrouting::functions::Pgr_binaryBreadthFirstSearch< G >::binaryBreadthFirstSearch().
|
inlineprivate |
Definition at line 198 of file pgr_binaryBreadthFirstSearch.hpp.
Referenced by pgrouting::functions::Pgr_binaryBreadthFirstSearch< G >::one_to_many_binaryBreadthFirstSearch().
|
private |
Definition at line 123 of file pgr_binaryBreadthFirstSearch.hpp.
Referenced by pgrouting::functions::Pgr_binaryBreadthFirstSearch< G >::getPath(), and pgrouting::functions::Pgr_binaryBreadthFirstSearch< G >::one_to_many_binaryBreadthFirstSearch().