PGROUTING
3.2
|
#include "drivers/tsp/TSP_driver.h"
#include <string>
#include <sstream>
#include <vector>
#include <algorithm>
#include "cpp_common/Dmatrix.h"
#include "tsp/pgr_tsp.hpp"
#include "cpp_common/pgr_alloc.hpp"
#include "cpp_common/pgr_assert.h"
Go to the source code of this file.
Functions | |
void | do_pgr_tsp (Matrix_cell_t *distances, size_t total_distances, int64_t start_vid, int64_t end_vid, double initial_temperature, double final_temperature, double cooling_factor, int64_t tries_per_temperature, int64_t max_changes_per_temperature, int64_t max_consecutive_non_changes, bool randomize, double time_limit, General_path_element_t **return_tuples, size_t *return_count, char **log_msg, char **notice_msg, char **err_msg) |
void do_pgr_tsp | ( | Matrix_cell_t * | distances, |
size_t | total_distances, | ||
int64_t | start_vid, | ||
int64_t | end_vid, | ||
double | initial_temperature, | ||
double | final_temperature, | ||
double | cooling_factor, | ||
int64_t | tries_per_temperature, | ||
int64_t | max_changes_per_temperature, | ||
int64_t | max_consecutive_non_changes, | ||
bool | randomize, | ||
double | time_limit, | ||
General_path_element_t ** | return_tuples, | ||
size_t * | return_count, | ||
char ** | log_msg, | ||
char ** | notice_msg, | ||
char ** | err_msg | ||
) |
Definition at line 45 of file TSP_driver.cpp.
References General_path_element_t::agg_cost, pgrouting::tsp::TSP< MATRIX >::annealing(), General_path_element_t::cost, pgrouting::tsp::Dmatrix::distance(), General_path_element_t::edge, pgrouting::tsp::Dmatrix::get_id(), pgrouting::tsp::Dmatrix::get_index(), pgrouting::tsp::TSP< MATRIX >::get_log(), pgrouting::tsp::TSP< MATRIX >::get_stats(), pgrouting::tsp::TSP< MATRIX >::get_tour(), pgrouting::tsp::TSP< MATRIX >::greedyInitial(), pgrouting::tsp::Dmatrix::has_id(), pgrouting::tsp::Dmatrix::has_no_infinity(), pgrouting::tsp::Dmatrix::is_symmetric(), General_path_element_t::node, pgassert, pgr_alloc(), pgr_free(), pgr_msg(), pgrouting::tsp::Dmatrix::set(), pgrouting::tsp::Dmatrix::size(), pgrouting::tsp::Dmatrix::tourCost(), and AssertFailedException::what().
Referenced by process().