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