PGROUTING
3.2
|
#include "drivers/withPoints/withPoints_driver.h"
#include <algorithm>
#include <sstream>
#include <deque>
#include <vector>
#include <cassert>
#include <limits>
#include "dijkstra/pgr_dijkstra.hpp"
#include "withPoints/pgr_withPoints.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_withPoints (pgr_edge_t *edges, size_t total_edges, Point_on_edge_t *points_p, size_t total_points, pgr_edge_t *edges_of_points, size_t total_edges_of_points, pgr_combination_t *combinations, size_t total_combinations, int64_t *start_pidsArr, size_t size_start_pidsArr, int64_t *end_pidsArr, size_t size_end_pidsArr, char driving_side, bool details, bool directed, bool only_cost, bool normal, 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_dijkstra (G &graph, std::vector< pgr_combination_t > &combinations, std::vector< int64_t > sources, std::vector< int64_t > targets, bool only_cost, bool normal) |
void do_pgr_withPoints | ( | pgr_edge_t * | edges, |
size_t | total_edges, | ||
Point_on_edge_t * | points_p, | ||
size_t | total_points, | ||
pgr_edge_t * | edges_of_points, | ||
size_t | total_edges_of_points, | ||
pgr_combination_t * | combinations, | ||
size_t | total_combinations, | ||
int64_t * | start_pidsArr, | ||
size_t | size_start_pidsArr, | ||
int64_t * | end_pidsArr, | ||
size_t | size_end_pidsArr, | ||
char | driving_side, | ||
bool | details, | ||
bool | directed, | ||
bool | only_cost, | ||
bool | normal, | ||
General_path_element_t ** | return_tuples, | ||
size_t * | return_count, | ||
char ** | log_msg, | ||
char ** | notice_msg, | ||
char ** | err_msg | ||
) |
Definition at line 93 of file withPoints_driver.cpp.
References collapse_paths(), count_tuples(), DIRECTED, pgrouting::Pg_points_graph::eliminate_details(), Path::end_id(), pgrouting::extract_vertices(), pgrouting::Pgr_messages::get_error(), pgrouting::Pgr_messages::get_log(), pgrouting::Pgr_messages::has_error(), pgrouting::graph::Pgr_base_graph< G, T_V, T_E >::insert_edges(), pgrouting::Pg_points_graph::new_edges(), pgassert, pgr_alloc(), pgr_dijkstra(), pgr_msg(), and UNDIRECTED.
Referenced by process().
std::deque< Path > pgr_dijkstra | ( | G & | graph, |
std::vector< pgr_combination_t > & | combinations, | ||
std::vector< int64_t > | sources, | ||
std::vector< int64_t > | targets, | ||
bool | only_cost, | ||
bool | normal | ||
) |
Definition at line 48 of file withPoints_driver.cpp.
References pgrouting::Pgr_dijkstra< G >::dijkstra(), and Path::reverse().
Referenced by do_pgr_withPoints(), and pgRouting::pgr_dijkstraVia().