PGROUTING
3.2
|
#include "drivers/bdAstar/bdAstar_driver.h"
#include <sstream>
#include <deque>
#include <vector>
#include <algorithm>
#include "bdAstar/pgr_bdAstar.hpp"
#include "cpp_common/pgr_alloc.hpp"
#include "cpp_common/pgr_assert.h"
Go to the source code of this file.
Functions | |
void | do_pgr_bdAstar (Pgr_edge_xy_t *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, int heuristic, double factor, double epsilon, bool only_cost, General_path_element_t **return_tuples, size_t *return_count, char **log_msg, char **notice_msg, char **err_msg) |
template<class G > | |
static std::deque< Path > | pgr_bdAstar (G &graph, std::vector< pgr_combination_t > &combinations, std::vector< int64_t > sources, std::vector< int64_t > targets, int heuristic, double factor, double epsilon, std::ostream &log, bool only_cost) |
void do_pgr_bdAstar | ( | Pgr_edge_xy_t * | 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, | ||
int | heuristic, | ||
double | factor, | ||
double | epsilon, | ||
bool | only_cost, | ||
General_path_element_t ** | return_tuples, | ||
size_t * | return_count, | ||
char ** | log_msg, | ||
char ** | notice_msg, | ||
char ** | err_msg | ||
) |
Definition at line 141 of file bdAstar_driver.cpp.
References collapse_paths(), count_tuples(), DIRECTED, pgrouting::extract_vertices(), pgrouting::graph::Pgr_base_graph< G, T_V, T_E >::insert_edges(), pgassert, pgr_alloc(), pgr_bdAstar(), pgr_msg(), UNDIRECTED, and AssertFailedException::what().
Referenced by process().
|
static |
Definition at line 57 of file bdAstar_driver.cpp.
References pgrouting::bidirectional::Pgr_bidirectional< G >::clear(), pgrouting::bidirectional::Pgr_bidirectional< G >::log(), and pgrouting::bidirectional::Pgr_bdAstar< G >::pgr_bdAstar().
Referenced by do_pgr_bdAstar().