PGROUTING  2.4
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
newTSP_driver.cpp File Reference
#include "./newTSP_driver.h"
#include <string.h>
#include <sstream>
#include <vector>
#include <algorithm>
#include "./Dmatrix.h"
#include "./pgr_tsp.hpp"
#include "./../../common/src/pgr_alloc.hpp"
#include "./../../common/src/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)
 

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 **  notice_msg,
char **  err_msg 
)