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
pickDeliver.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/pgr_types.h"
#include "./../../common/src/postgres_connection.h"
#include "./customers_input.h"
#include "./pickDeliver_driver.h"

Go to the source code of this file.

Functions

 PG_FUNCTION_INFO_V1 (pickDeliver)
 
PGDLLEXPORT Datum pickDeliver (PG_FUNCTION_ARGS)
 
static void process (char *customers_sql, int max_vehicles, double capacity, double speed, int max_cycles, General_vehicle_orders_t **result_tuples, size_t *result_count)
 

Function Documentation

PG_FUNCTION_INFO_V1 ( pickDeliver  )
PGDLLEXPORT Datum pickDeliver ( PG_FUNCTION_ARGS  )

Definition at line 139 of file pickDeliver.c.

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

static void process ( char *  customers_sql,
int  max_vehicles,
double  capacity,
double  speed,
int  max_cycles,
General_vehicle_orders_t **  result_tuples,
size_t *  result_count 
)
static