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_many.c File Reference
#include "postgres.h"
#include "executor/spi.h"
#include "funcapi.h"
#include "utils/array.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 "./../../common/src/arrays_input.h"
#include "./max_flow_one_to_many_driver.h"

Go to the source code of this file.


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

Function Documentation

PGDLLEXPORT Datum max_flow_one_to_many ( PG_FUNCTION_ARGS  )

Definition at line 121 of file max_flow_one_to_many.c.

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

PG_FUNCTION_INFO_V1 ( max_flow_one_to_many  )
static void process ( char *  edges_sql,
int64_t  source_vertex,
int64_t *  sink_vertices,
size_t  size_sink_verticesArr,
char *  algorithm,
pgr_flow_t **  result_tuples,
size_t *  result_count