PGROUTING
3.2
|
#include <stdbool.h>
#include "c_common/postgres_connection.h"
#include "utils/array.h"
#include "c_common/debug_macro.h"
#include "c_common/e_report.h"
#include "c_common/time_msg.h"
#include "c_common/edges_input.h"
#include "c_common/arrays_input.h"
#include "c_common/points_input.h"
#include "c_common/combinations_input.h"
#include "drivers/withPoints/get_new_queries.h"
#include "drivers/withPoints/withPoints_driver.h"
Go to the source code of this file.
Functions | |
PGDLLEXPORT Datum | _pgr_withpoints (PG_FUNCTION_ARGS) |
PG_FUNCTION_INFO_V1 (_pgr_withpoints) | |
static void | process (char *edges_sql, char *points_sql, char *combinations_sql, ArrayType *starts, ArrayType *ends, bool directed, char *driving_side, bool details, bool only_cost, bool normal, General_path_element_t **result_tuples, size_t *result_count) |
PGDLLEXPORT Datum _pgr_withpoints | ( | PG_FUNCTION_ARGS | ) |
Definition at line 200 of file withPoints.c.
References General_path_element_t::agg_cost, General_path_element_t::cost, General_path_element_t::edge, General_path_element_t::end_id, if(), General_path_element_t::node, process(), General_path_element_t::seq, and General_path_element_t::start_id.
PG_FUNCTION_INFO_V1 | ( | _pgr_withpoints | ) |
|
static |
Definition at line 51 of file withPoints.c.
References do_pgr_withPoints(), estimate_drivingSide(), get_new_queries(), PGR_DBG, pgr_get_bigIntArray(), pgr_get_combinations(), pgr_get_edges(), pgr_get_edges_reversed(), pgr_get_points(), pgr_global_report(), pgr_SPI_connect(), pgr_SPI_finish(), and time_msg().
Referenced by _pgr_withpoints().