PGROUTING
3.2
|
#include <stdbool.h>
#include "c_common/postgres_connection.h"
#include "utils/array.h"
#include "catalog/pg_type.h"
#include "utils/lsyscache.h"
#include "c_common/debug_macro.h"
#include "c_common/e_report.h"
#include "c_common/time_msg.h"
#include "c_types/contracted_rt.h"
#include "c_common/edges_input.h"
#include "c_common/arrays_input.h"
#include "drivers/contraction/contractGraph_driver.h"
Go to the source code of this file.
Macros | |
#define | INT8ARRAYOID 1016 |
Functions | |
PGDLLEXPORT Datum | _pgr_contraction (PG_FUNCTION_ARGS) |
PG_FUNCTION_INFO_V1 (_pgr_contraction) | |
static void | process (char *edges_sql, ArrayType *order, int num_cycles, ArrayType *forbidden, bool directed, contracted_rt **result_tuples, size_t *result_count) |
#define INT8ARRAYOID 1016 |
Definition at line 38 of file contractGraph.c.
PGDLLEXPORT Datum _pgr_contraction | ( | PG_FUNCTION_ARGS | ) |
Definition at line 132 of file contractGraph.c.
References contracted_rt::contracted_vertices, if(), INT8ARRAYOID, PGR_DBG, and process().
PG_FUNCTION_INFO_V1 | ( | _pgr_contraction | ) |
|
static |
Definition at line 55 of file contractGraph.c.
References do_pgr_contractGraph(), PGR_DBG, pgr_get_bigIntArray(), pgr_get_bigIntArray_allowEmpty(), pgr_get_edges(), pgr_global_report(), pgr_SPI_connect(), pgr_SPI_finish(), and time_msg().
Referenced by _pgr_contraction().