PGROUTING
3.2
|
#include "drivers/dijkstra/dijkstra_driver.h"
#include <c_types/pgr_combination_t.h>
#include <sstream>
#include <deque>
#include <vector>
#include <algorithm>
#include <limits>
#include "dijkstra/pgr_dijkstra.hpp"
#include "cpp_common/pgr_alloc.hpp"
#include "cpp_common/pgr_assert.h"
Go to the source code of this file.
Namespaces | |
detail | |
Functions | |
void | do_pgr_combinations_dijkstra (pgr_edge_t *data_edges, size_t total_edges, pgr_combination_t *combinations, size_t total_combinations, bool directed, bool only_cost, bool normal, int64_t n_goals, bool global, General_path_element_t **return_tuples, size_t *return_count, char **log_msg, char **notice_msg, char **err_msg) |
void | do_pgr_many_to_many_dijkstra (pgr_edge_t *data_edges, size_t total_edges, int64_t *start_vidsArr, size_t size_start_vidsArr, int64_t *end_vidsArr, size_t size_end_vidsArr, bool directed, bool only_cost, bool normal, int64_t n_goals, bool global, 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 > | detail::pgr_dijkstra (G &graph, std::vector< int64_t > sources, std::vector< int64_t > targets, bool only_cost, bool normal, size_t n_goals, bool global) |
template<class G > | |
std::deque< Path > | detail::pgr_dijkstra (G &graph, std::vector< pgr_combination_t > &combinations, bool only_cost, bool normal, size_t n_goals, bool global) |
void | detail::post_process (std::deque< Path > &paths, bool only_cost, bool normal, size_t n_goals, bool global) |
void do_pgr_combinations_dijkstra | ( | pgr_edge_t * | data_edges, |
size_t | total_edges, | ||
pgr_combination_t * | combinations, | ||
size_t | total_combinations, | ||
bool | directed, | ||
bool | only_cost, | ||
bool | normal, | ||
int64_t | n_goals, | ||
bool | global, | ||
General_path_element_t ** | return_tuples, | ||
size_t * | return_count, | ||
char ** | log_msg, | ||
char ** | notice_msg, | ||
char ** | err_msg | ||
) |
Definition at line 262 of file dijkstra_driver.cpp.
References collapse_paths(), count_tuples(), DIRECTED, pgrouting::graph::Pgr_base_graph< G, T_V, T_E >::insert_edges(), pgassert, pgr_alloc(), detail::pgr_dijkstra(), pgr_free(), pgr_msg(), UNDIRECTED, and AssertFailedException::what().
Referenced by process_combinations().
void do_pgr_many_to_many_dijkstra | ( | pgr_edge_t * | data_edges, |
size_t | total_edges, | ||
int64_t * | start_vidsArr, | ||
size_t | size_start_vidsArr, | ||
int64_t * | end_vidsArr, | ||
size_t | size_end_vidsArr, | ||
bool | directed, | ||
bool | only_cost, | ||
bool | normal, | ||
int64_t | n_goals, | ||
bool | global, | ||
General_path_element_t ** | return_tuples, | ||
size_t * | return_count, | ||
char ** | log_msg, | ||
char ** | notice_msg, | ||
char ** | err_msg | ||
) |
Definition at line 158 of file dijkstra_driver.cpp.
References collapse_paths(), count_tuples(), DIRECTED, pgrouting::graph::Pgr_base_graph< G, T_V, T_E >::insert_edges(), pgassert, pgr_alloc(), detail::pgr_dijkstra(), pgr_free(), pgr_msg(), UNDIRECTED, and AssertFailedException::what().
Referenced by process().