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
one_to_many_dijkstra.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 "./one_to_many_dijkstra_driver.h"

Go to the source code of this file.

Functions

PGDLLEXPORT Datum one_to_many_dijkstra (PG_FUNCTION_ARGS)
 
 PG_FUNCTION_INFO_V1 (one_to_many_dijkstra)
 
static void process (char *edges_sql, int64_t start_vid, int64_t *end_vidsArr, size_t size_end_vidsArr, bool directed, bool only_cost, General_path_element_t **result_tuples, size_t *result_count)
 

Function Documentation

PGDLLEXPORT Datum one_to_many_dijkstra ( PG_FUNCTION_ARGS  )

Definition at line 114 of file one_to_many_dijkstra.c.

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

PG_FUNCTION_INFO_V1 ( one_to_many_dijkstra  )
static void process ( char *  edges_sql,
int64_t  start_vid,
int64_t *  end_vidsArr,
size_t  size_end_vidsArr,
bool  directed,
bool  only_cost,
General_path_element_t **  result_tuples,
size_t *  result_count 
)
static