PGROUTING
3.2
|
#include <stdbool.h>
#include "c_common/postgres_connection.h"
#include "c_common/debug_macro.h"
#include "c_common/e_report.h"
#include "c_common/time_msg.h"
#include "c_common/edges_input.h"
#include "drivers/spanningTree/randomSpanningTree_driver.h"
Go to the source code of this file.
Functions | |
PG_FUNCTION_INFO_V1 (randomSpanningTree) | |
static void | process (char *edges_sql, int64_t root_vertex, bool directed, pgr_randomSpanningTree_t **result_tuples, size_t *result_count) |
PGDLLEXPORT Datum | randomSpanningTree (PG_FUNCTION_ARGS) |
PG_FUNCTION_INFO_V1 | ( | randomSpanningTree | ) |
|
static |
Definition at line 45 of file randomSpanningTree.c.
References do_pgr_randomSpanningTree(), PGR_DBG, pgr_get_edges(), pgr_global_report(), pgr_SPI_connect(), pgr_SPI_finish(), and time_msg().
Referenced by randomSpanningTree().
PGDLLEXPORT Datum randomSpanningTree | ( | PG_FUNCTION_ARGS | ) |
Definition at line 106 of file randomSpanningTree.c.
References pgr_randomSpanningTree_t::cost, pgr_randomSpanningTree_t::edge, if(), PGR_DBG, process(), pgr_randomSpanningTree_t::root_vertex, and pgr_randomSpanningTree_t::tree_cost.