PGROUTING
3.2
|
#include "drivers/breadthFirstSearch/binaryBreadthFirstSearch_driver.h"
#include <sstream>
#include <deque>
#include <vector>
#include <algorithm>
#include <string>
#include <set>
#include "breadthFirstSearch/pgr_binaryBreadthFirstSearch.hpp"
#include "cpp_common/pgr_alloc.hpp"
#include "cpp_common/pgr_assert.h"
Go to the source code of this file.
Functions | |
template<class G > | |
bool | costCheck (G &graph) |
void | do_pgr_binaryBreadthFirstSearch (pgr_edge_t *data_edges, size_t total_edges, pgr_combination_t *combinations, size_t total_combinations, int64_t *start_vidsArr, size_t size_start_vidsArr, int64_t *end_vidsArr, size_t size_end_vidsArr, bool directed, General_path_element_t **return_tuples, size_t *return_count, char **log_msg, char **notice_msg, char **err_msg) |
template<class G > | |
std::deque< Path > | pgr_binaryBreadthFirstSearch (G &graph, std::vector< pgr_combination_t > &combinations, std::vector< int64_t > sources, std::vector< int64_t > targets) |
Variables | |
const char | COST_ERR_MSG [] |
const size_t | MAX_UNIQUE_EDGE_COSTS = 2 |
bool costCheck | ( | G & | graph | ) |
Definition at line 75 of file binaryBreadthFirstSearch_driver.cpp.
References MAX_UNIQUE_EDGE_COSTS.
Referenced by do_pgr_binaryBreadthFirstSearch().
void do_pgr_binaryBreadthFirstSearch | ( | pgr_edge_t * | data_edges, |
size_t | total_edges, | ||
pgr_combination_t * | combinations, | ||
size_t | total_combinations, | ||
int64_t * | start_vidsArr, | ||
size_t | size_start_vidsArr, | ||
int64_t * | end_vidsArr, | ||
size_t | size_end_vidsArr, | ||
bool | directed, | ||
General_path_element_t ** | return_tuples, | ||
size_t * | return_count, | ||
char ** | log_msg, | ||
char ** | notice_msg, | ||
char ** | err_msg | ||
) |
Definition at line 106 of file binaryBreadthFirstSearch_driver.cpp.
References collapse_paths(), COST_ERR_MSG, costCheck(), count_tuples(), DIRECTED, pgrouting::graph::Pgr_base_graph< G, T_V, T_E >::insert_edges(), pgassert, pgr_alloc(), pgr_binaryBreadthFirstSearch(), pgr_free(), pgr_msg(), UNDIRECTED, and AssertFailedException::what().
Referenced by process().
std::deque< Path > pgr_binaryBreadthFirstSearch | ( | G & | graph, |
std::vector< pgr_combination_t > & | combinations, | ||
std::vector< int64_t > | sources, | ||
std::vector< int64_t > | targets | ||
) |
Definition at line 47 of file binaryBreadthFirstSearch_driver.cpp.
References pgrouting::functions::Pgr_binaryBreadthFirstSearch< G >::binaryBreadthFirstSearch().
Referenced by do_pgr_binaryBreadthFirstSearch().
const char COST_ERR_MSG[] |
Definition at line 71 of file binaryBreadthFirstSearch_driver.cpp.
Referenced by do_pgr_binaryBreadthFirstSearch().
const size_t MAX_UNIQUE_EDGE_COSTS = 2 |
Definition at line 70 of file binaryBreadthFirstSearch_driver.cpp.
Referenced by costCheck().