PGROUTING
3.2
|
#include "drivers/breadthFirstSearch/breadthFirstSearch_driver.h"
#include <vector>
#include <algorithm>
#include <string>
#include "cpp_common/pgr_alloc.hpp"
#include "cpp_common/pgr_assert.h"
#include "breadthFirstSearch/pgr_breadthFirstSearch.hpp"
Go to the source code of this file.
Functions | |
void | do_pgr_breadthFirstSearch (pgr_edge_t *data_edges, size_t total_edges, int64_t *start_vidsArr, size_t size_start_vidsArr, int64_t max_depth, bool directed, pgr_mst_rt **return_tuples, size_t *return_count, char **log_msg, char **notice_msg, char **err_msg) |
template<class G > | |
std::vector< pgr_mst_rt > | pgr_breadthFirstSearch (G &graph, std::vector< int64_t > sources, int64_t max_depth) |
void do_pgr_breadthFirstSearch | ( | pgr_edge_t * | data_edges, |
size_t | total_edges, | ||
int64_t * | start_vidsArr, | ||
size_t | size_start_vidsArr, | ||
int64_t | max_depth, | ||
bool | directed, | ||
pgr_mst_rt ** | return_tuples, | ||
size_t * | return_count, | ||
char ** | log_msg, | ||
char ** | notice_msg, | ||
char ** | err_msg | ||
) |
Definition at line 60 of file breadthFirstSearch_driver.cpp.
References DIRECTED, pgrouting::graph::Pgr_base_graph< G, T_V, T_E >::insert_edges(), pgassert, pgr_alloc(), pgr_breadthFirstSearch(), pgr_free(), pgr_msg(), UNDIRECTED, and AssertFailedException::what().
Referenced by process().
std::vector<pgr_mst_rt> pgr_breadthFirstSearch | ( | G & | graph, |
std::vector< int64_t > | sources, | ||
int64_t | max_depth | ||
) |
Definition at line 43 of file breadthFirstSearch_driver.cpp.
References pgrouting::functions::Pgr_breadthFirstSearch< G >::breadthFirstSearch().
Referenced by do_pgr_breadthFirstSearch().