PGROUTING  2.4
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
astar_many_to_many_driver.h
Go to the documentation of this file.
1 /*PGR-GNU*****************************************************************
2 File: astarOneToMany_driver.h
3 
4 Copyright (c) 2015 pgRouting developers
5 Mail: project@pgrouting.org
6 
7 Function's developer:
8 Copyright (c) 2015 Celia Virginia Vergara Castillo
9 Mail:
10 
11 ------
12 
13 This program is free software; you can redistribute it and/or modify
14 it under the terms of the GNU General Public License as published by
15 the Free Software Foundation; either version 2 of the License, or
16 (at your option) any later version.
17 
18 This program is distributed in the hope that it will be useful,
19 but WITHOUT ANY WARRANTY; without even the implied warranty of
20 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
21 GNU General Public License for more details.
22 
23 You should have received a copy of the GNU General Public License
24 along with this program; if not, write to the Free Software
25 Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
26 
27 ********************************************************************PGR-GNU*/
28 
29 #ifndef SRC_ASTAR_SRC_ASTAR_MANY_TO_MANY_DRIVER_H_
30 #define SRC_ASTAR_SRC_ASTAR_MANY_TO_MANY_DRIVER_H_
31 #pragma once
32 
33 #include "./../../common/src/pgr_types.h"
34 
35 #ifdef __cplusplus
36 extern "C" {
37 #endif
38 
39  void check_parameters(
40  int heuristic,
41  double factor,
42  double epsilon);
43 
44  /*********************************************************
45  edges_sql TEXT,
46  vertex_table TEXT,
47  start_vid BIGINT,
48  end_vid BIGINT directed BOOLEAN DEFAULT true,
49  ********************************************************/
51  Pgr_edge_xy_t *data_edges,
52  size_t total_edges,
53  int64_t *start_vidsArr, size_t size_start_vidsArr,
54  int64_t *end_vidsArr, size_t size_end_vidsArr,
55  bool directed,
56  int heuristic,
57  double factor,
58  double epsilon,
59  bool only_cost,
60  bool normal,
61  General_path_element_t **return_tuples,
62  size_t *return_count,
63  char** log_msg,
64  char** notice_msg,
65  char** err_msg);
66 
67 
68 #ifdef __cplusplus
69 }
70 #endif
71 
72 #endif // SRC_ASTAR_SRC_ASTAR_MANY_TO_MANY_DRIVER_H_
void do_pgr_astarManyToMany(Pgr_edge_xy_t *data_edges, size_t total_edges, int64_t *start_vidsArr, size_t size_start_vidsArr, int64_t *end_vidsArr, size_t size_end_vidsArr, bool directed, int heuristic, double factor, double epsilon, bool only_cost, bool normal, General_path_element_t **return_tuples, size_t *return_count, char **log_msg, char **notice_msg, char **err_msg)
void check_parameters(int heuristic, double factor, double epsilon)
char * err_msg
Definition: BDATester.cpp:50