PGROUTING
3.2
|
#include "drivers/bellman_ford/bellman_ford_neg_driver.h"
#include <sstream>
#include <deque>
#include <vector>
#include <algorithm>
#include <string>
#include "bellman_ford/pgr_bellman_ford.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_bellman_ford_neg (pgr_edge_t *positive_edges, size_t total_positive_edges, pgr_edge_t *negative_edges, size_t total_negative_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, 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 > | |
std::deque< Path > | pgr_bellman_ford (G &graph, std::vector< pgr_combination_t > &combinations, std::vector< int64_t > sources, std::vector< int64_t > targets, std::string &log, bool only_cost=false) |
void do_pgr_bellman_ford_neg | ( | pgr_edge_t * | positive_edges, |
size_t | total_positive_edges, | ||
pgr_edge_t * | negative_edges, | ||
size_t | total_negative_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, | ||
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 80 of file bellman_ford_neg_driver.cpp.
References collapse_paths(), count_tuples(), DIRECTED, pgrouting::graph::Pgr_base_graph< G, T_V, T_E >::insert_edges(), pgrouting::graph::Pgr_base_graph< G, T_V, T_E >::insert_negative_edges(), pgassert, pgr_alloc(), pgr_bellman_ford(), pgr_free(), pgr_msg(), UNDIRECTED, and AssertFailedException::what().
Referenced by process().
std::deque< Path > pgr_bellman_ford | ( | G & | graph, |
std::vector< pgr_combination_t > & | combinations, | ||
std::vector< int64_t > | sources, | ||
std::vector< int64_t > | targets, | ||
std::string & | log, | ||
bool | only_cost = false |
||
) |
Definition at line 54 of file bellman_ford_neg_driver.cpp.
References Pgr_bellman_ford< G >::bellman_ford(), and pgrouting::Pgr_messages::get_log().
Referenced by do_pgr_bellman_ford_neg().