PGROUTING
3.2
|
#include "drivers/yen/turnRestrictedPath_driver.h"
#include <sstream>
#include <deque>
#include <vector>
#include <string>
#include "cpp_common/pgr_alloc.hpp"
#include "cpp_common/pgr_assert.h"
#include "cpp_common/rule.h"
#include "cpp_common/basePath_SSEC.hpp"
#include "yen/pgr_turnRestrictedPath.hpp"
Go to the source code of this file.
Functions | |
void | do_pgr_turnRestrictedPath (pgr_edge_t *data_edges, size_t total_edges, Restriction_t *restrictions, size_t total_restrictions, int64_t start_vid, int64_t end_vid, size_t k, bool directed, bool heap_paths, bool stop_on_first, bool strict, 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_dijkstraTR (G &graph, const std::vector< pgrouting::trsp::Rule > &restrictions, int64_t source, int64_t target, std::string &log, size_t k, bool heap_paths, bool stop_on_first, bool strict) |
void do_pgr_turnRestrictedPath | ( | pgr_edge_t * | data_edges, |
size_t | total_edges, | ||
Restriction_t * | restrictions, | ||
size_t | total_restrictions, | ||
int64_t | start_vid, | ||
int64_t | end_vid, | ||
size_t | k, | ||
bool | directed, | ||
bool | heap_paths, | ||
bool | stop_on_first, | ||
bool | strict, | ||
General_path_element_t ** | return_tuples, | ||
size_t * | return_count, | ||
char ** | log_msg, | ||
char ** | notice_msg, | ||
char ** | err_msg | ||
) |
Definition at line 77 of file turnRestrictedPath_driver.cpp.
References count_tuples(), DIRECTED, pgrouting::graph::Pgr_base_graph< G, T_V, T_E >::insert_edges(), pgassert, pgr_alloc(), pgr_dijkstraTR(), pgr_free(), pgr_msg(), UNDIRECTED, and AssertFailedException::what().
Referenced by process().
|
static |
Definition at line 51 of file turnRestrictedPath_driver.cpp.
References pgrouting::Pgr_messages::get_log(), and pgrouting::yen::Pgr_turnRestrictedPath< G >::turnRestrictedPath().
Referenced by do_pgr_turnRestrictedPath().