PGROUTING  2.4
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
eucledianTSP_driver.h
Go to the documentation of this file.
1 /*PGR-GNU*****************************************************************
2  * File: tsp_driver.h
3  *
4  * Generated with Template by:
5  * Copyright (c) 2015 pgRouting developers
6  * Mail: project@pgrouting.org
7  *
8  * Function's developer:
9  * Copyright (c) 2015 Celia Virginia Vergara Castillo
10  * Mail: vicky_vergara@hotmail.com
11  *
12  * ------
13  *
14  * This program is free software; you can redistribute it and/or modify
15  * it under the terms of the GNU General Public License as published by
16  * the Free Software Foundation; either version 2 of the License, or
17  * (at your option) any later version.
18  *
19  * This program is distributed in the hope that it will be useful,
20  * but WITHOUT ANY WARRANTY; without even the implied warranty of
21  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
22  * GNU General Public License for more details.
23  *
24  * You should have received a copy of the GNU General Public License
25  * along with this program; if not, write to the Free Software
26  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
27  *
28  * ********************************************************************PGR-GNU*/
29 
30 #ifndef SRC_TSP_SRC_EUCLEDIANTSP_DRIVER_H_
31 #define SRC_TSP_SRC_EUCLEDIANTSP_DRIVER_H_
32 #pragma once
33 
34 #include "../../common/src/pgr_types.h"
35 
36 #ifdef __cplusplus
37 extern "C" {
38 #endif
39 
40 void
42  Coordinate_t *coordinates, size_t total_coordinates,
43  int64_t start_vid,
44  int64_t end_vid,
45 
46  double initial_temperature,
47  double final_temperature,
48  double cooling_factor,
49  int64_t tries_per_temperature,
50  int64_t max_changes_per_temperature,
51  int64_t max_consecutive_non_changes,
52  bool randomize,
53  double time_limit,
54 
55  General_path_element_t **results,
56  size_t *total_results,
57  char **log_msg,
58  char **notice_msg,
59  char **err_msg);
60 
61 #ifdef __cplusplus
62 }
63 #endif
64 
65 #endif // SRC_TSP_SRC_EUCLEDIANTSP_DRIVER_H_
void do_pgr_eucledianTSP(Coordinate_t *coordinates, size_t total_coordinates, 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 **results, size_t *total_results, char **log_msg, char **notice_msg, char **err_msg)
char * err_msg
Definition: BDATester.cpp:50