PGROUTING
3.2
|
#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/coordinates_input.h"
#include "drivers/tsp/euclideanTSP_driver.h"
Go to the source code of this file.
Functions | |
PGDLLEXPORT Datum | _pgr_tspeuclidean (PG_FUNCTION_ARGS) |
PG_FUNCTION_INFO_V1 (_pgr_tspeuclidean) | |
static void | process (char *coordinates_sql, int64_t start_vid, int64_t end_vid, double time_limit, int64_t tries_per_temperature, int64_t max_changes_per_temperature, int64_t max_consecutive_non_changes, double initial_temperature, double final_temperature, double cooling_factor, bool randomize, General_path_element_t **result_tuples, size_t *result_count) |
PGDLLEXPORT Datum _pgr_tspeuclidean | ( | PG_FUNCTION_ARGS | ) |
Definition at line 154 of file euclideanTSP.c.
References General_path_element_t::agg_cost, General_path_element_t::cost, if(), General_path_element_t::node, and process().
PG_FUNCTION_INFO_V1 | ( | _pgr_tspeuclidean | ) |
|
static |
Definition at line 48 of file euclideanTSP.c.
References do_pgr_euclideanTSP(), PGR_DBG, pgr_get_coordinates(), pgr_global_report(), pgr_SPI_connect(), pgr_SPI_finish(), and time_msg().
Referenced by _pgr_tspeuclidean().