PGROUTING
3.2
|
#include <stdbool.h>
#include "c_common/postgres_connection.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 "drivers/yen/ksp_driver.h"
Go to the source code of this file.
Functions | |
PGDLLEXPORT Datum | _pgr_ksp (PG_FUNCTION_ARGS) |
static void | compute (char *edges_sql, int64_t start_vertex, int64_t end_vertex, int p_k, bool directed, bool heap_paths, General_path_element_t **result_tuples, size_t *result_count) |
PG_FUNCTION_INFO_V1 (_pgr_ksp) | |
PGDLLEXPORT Datum _pgr_ksp | ( | PG_FUNCTION_ARGS | ) |
Definition at line 120 of file ksp.c.
References General_path_element_t::agg_cost, compute(), General_path_element_t::cost, General_path_element_t::edge, if(), General_path_element_t::node, PGR_DBG, General_path_element_t::seq, and General_path_element_t::start_id.
|
static |
Definition at line 40 of file ksp.c.
References do_pgr_ksp(), PGR_DBG, pgr_get_edges(), pgr_global_report(), pgr_SPI_connect(), pgr_SPI_finish(), and time_msg().
Referenced by _pgr_ksp().
PG_FUNCTION_INFO_V1 | ( | _pgr_ksp | ) |