PGROUTING
3.2
|
Go to the source code of this file.
Functions | |
void | do_pgr_sequentialVertexColoring (pgr_edge_t *data_edges, size_t total_edges, pgr_vertex_color_rt **return_tuples, size_t *return_count, char **log_msg, char **notice_msg, char **err_msg) |
Performs exception handling and converts the results to postgres. More... | |
void do_pgr_sequentialVertexColoring | ( | pgr_edge_t * | data_edges, |
size_t | total_edges, | ||
pgr_vertex_color_rt ** | return_tuples, | ||
size_t * | return_count, | ||
char ** | log_msg, | ||
char ** | notice_msg, | ||
char ** | err_msg | ||
) |
Performs exception handling and converts the results to postgres.
It builds the undirected graph using the data_edges
variable. Then, it passes the required variables to the template function pgr_sequentialVertexColoring
which calls the main function defined in the C++ Header file. It also does exception handling.
data_edges | the set of edges from the SQL query |
total_edges | the total number of edges in the SQL query |
return_tuples | the rows in the result |
return_count | the count of rows in the result |
log_msg | stores the log message |
notice_msg | stores the notice message |
err_msg | stores the error message |
Definition at line 93 of file sequentialVertexColoring_driver.cpp.
References pgrouting::graph::Pgr_base_graph< G, T_V, T_E >::insert_edges(), pgassert, pgr_alloc(), pgr_free(), pgr_msg(), pgr_sequentialVertexColoring(), UNDIRECTED, and AssertFailedException::what().
Referenced by process().