pgRouting extends the PostGIS / PostgreSQL geospatial database to provide geospatial routing functionality.
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
newTSP_driver.cpp File Reference
#include <string.h>
#include <sstream>
#include <vector>
#include <algorithm>
#include "./newTSP_driver.h"
#include "./Dmatrix.h"
#include "./pgr_tsp.hpp"
#include "./../../common/src/pgr_assert.h"
#include "./../../common/src/pgr_alloc.hpp"

Go to the source code of this file.


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 **err_msg)

Function Documentation

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 **  err_msg