pgRouting  2.2
pgRouting extends the PostGIS / PostgreSQL geospatial database to provide geospatial routing functionality.
 All Classes Functions Variables Pages
many_to_many_dijkstra_driver.h
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,
45  void
46  do_pgr_many_to_many_dijkstra(
47  pgr_edge_t *data_edges,
48  size_t total_tuples,
49  int64_t *start_vidsArr,
50  size_t size_start_vidsArr,
51  int64_t *end_vidsArr,
52  size_t size_end_vidsArr,
53  bool directed,
54  bool only_cost,
55  General_path_element_t **return_tuples,
56  size_t *return_count,
57  char ** err_msg);
58 
59 
60 #ifdef __cplusplus
61 }
62 #endif
63 
64 #endif // SRC_DIJKSTRA_SRC_MANY_TO_MANY_DIJKSTRA_DRIVER_H_