PGROUTING  2.5
dijkstra_driver.h
Go to the documentation of this file.
1 /*PGR-GNU*****************************************************************
2 
3 File: 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 INCLUDE_DRIVERS_DIJKSTRA_DIJKSTRA_DRIVER_H_
32 #define INCLUDE_DRIVERS_DIJKSTRA_DIJKSTRA_DRIVER_H_
33 
34 #include "c_types/pgr_edge_t.h"
36 
37 
38 #ifdef __cplusplus
39 extern "C" {
40 #endif
41 
42  // CREATE OR REPLACE FUNCTION pgr_dijkstra(
43  // sql text,
44  // start_vids anyarray,
45  // end_vids anyarray,
46  // directed boolean default true,
48  pgr_edge_t *data_edges,
49  size_t total_tuples,
50  int64_t *start_vidsArr,
51  size_t size_start_vidsArr,
52  int64_t *end_vidsArr,
53  size_t size_end_vidsArr,
54  bool directed,
55  bool only_cost,
56  bool normal,
57 
58  General_path_element_t **return_tuples,
59  size_t *return_count,
60 
61  char** log_msg,
62  char** notice_msg,
63  char** err_msg);
64 
65 #ifdef __cplusplus
66  }
67 #endif
68 
69 #endif // INCLUDE_DRIVERS_DIJKSTRA_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)