PGROUTING
3.2
|
#include <stdbool.h>
#include "c_common/postgres_connection.h"
#include "utils/array.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 "c_common/arrays_input.h"
#include "c_types/pgr_mst_rt.h"
#include "drivers/spanningTree/mst_common.h"
#include "drivers/spanningTree/kruskal_driver.h"
Go to the source code of this file.
Functions | |
PGDLLEXPORT Datum | _pgr_kruskal (PG_FUNCTION_ARGS) |
PG_FUNCTION_INFO_V1 (_pgr_kruskal) | |
static void | process (char *edges_sql, ArrayType *roots, char *fn_suffix, int64_t max_depth, double distance, pgr_mst_rt **result_tuples, size_t *result_count) |
PGDLLEXPORT Datum _pgr_kruskal | ( | PG_FUNCTION_ARGS | ) |
Definition at line 111 of file kruskal.c.
References pgr_mst_rt::agg_cost, pgr_mst_rt::cost, pgr_mst_rt::depth, pgr_mst_rt::edge, pgr_mst_rt::from_v, if(), pgr_mst_rt::node, and process().
PG_FUNCTION_INFO_V1 | ( | _pgr_kruskal | ) |
|
static |
Definition at line 50 of file kruskal.c.
References do_pgr_kruskal(), get_name(), pgr_get_bigIntArray(), pgr_get_edges(), pgr_global_report(), pgr_SPI_connect(), pgr_SPI_finish(), and time_msg().
Referenced by _pgr_kruskal().