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

Go to the source code of this file.


PGDLLEXPORT Datum max_flow_one_to_one (PG_FUNCTION_ARGS)
 PG_FUNCTION_INFO_V1 (max_flow_one_to_one)
static void process (char *edges_sql, int64_t source_vertex, int64_t sink_vertex, char *algorithm, pgr_flow_t **result_tuples, size_t *result_count)

Function Documentation

PGDLLEXPORT Datum max_flow_one_to_one ( PG_FUNCTION_ARGS  )

Definition at line 126 of file max_flow_one_to_one.c.

References PGR_DBG, pgr_text2char(), and process().

PG_FUNCTION_INFO_V1 ( max_flow_one_to_one  )
static void process ( char *  edges_sql,
int64_t  source_vertex,
int64_t  sink_vertex,
char *  algorithm,
pgr_flow_t **  result_tuples,
size_t *  result_count