pgRouting
pgRouting extends the PostGIS / PostgreSQL geospatial database to provide geospatial routing functionality.
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
contractGraph.c File Reference
#include "postgres.h"
#include "executor/spi.h"
#include "funcapi.h"
#include "utils/array.h"
#include "catalog/pg_type.h"
#include "utils/lsyscache.h"
#include "utils/builtins.h"
#include "fmgr.h"
#include "./../../common/src/debug_macro.h"
#include "./../../common/src/pgr_types.h"
#include "./structs.h"
#include "./../../common/src/postgres_connection.h"
#include "./../../common/src/edges_input.h"
#include "./../../common/src/arrays_input.h"
#include "./contractGraph_driver.h"

Go to the source code of this file.

Macros

#define INT8ARRAYOID   1016
 

Functions

PGDLLEXPORT Datum contractGraph (PG_FUNCTION_ARGS)
 
 PG_FUNCTION_INFO_V1 (contractGraph)
 
static void process (char *edges_sql, int64_t *forbidden_vertices, int64_t *contraction_order, size_t size_forbidden_vertices, size_t size_contraction_order, int num_cycles, bool directed, pgr_contracted_blob **result_tuples, size_t *result_count)
 

Macro Definition Documentation

#define INT8ARRAYOID   1016

Definition at line 43 of file contractGraph.c.

Referenced by contractGraph().

Function Documentation

PGDLLEXPORT Datum contractGraph ( PG_FUNCTION_ARGS  )
PG_FUNCTION_INFO_V1 ( contractGraph  )
static void process ( char *  edges_sql,
int64_t *  forbidden_vertices,
int64_t *  contraction_order,
size_t  size_forbidden_vertices,
size_t  size_contraction_order,
int  num_cycles,
bool  directed,
pgr_contracted_blob **  result_tuples,
size_t *  result_count 
)
static