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