PGROUTING  2.6
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 INCLUDE_DRIVERS_DIJKSTRA_DIJKSTRAVIA_DRIVER_H_
29 #define INCLUDE_DRIVERS_DIJKSTRA_DIJKSTRAVIA_DRIVER_H_
30 #pragma once
31 
32 #include "c_types/routes_t.h"
33 #include "c_types/pgr_edge_t.h"
34 
35 #ifdef __cplusplus
36 extern "C" {
37 #endif
38 
39  /*
40  CREATE OR REPLACE FUNCTION pgr_dijkstraViaVertices(
41  sql text,
42  vertices anyarray,
43  directed boolean default true,
44  */
45  void
47  pgr_edge_t *data_edges, size_t total_edges,
48  int64_t *via_vidsArr, size_t size_via_vidsArr,
49  bool directed,
50  bool strict,
51  bool U_turn_on_edge,
52  Routes_t **return_tuples, size_t *return_count,
53 
54  char** log_msg,
55  char** notice_msg,
56  char** err_msg);
57 
58 #ifdef __cplusplus
59 }
60 #endif
61 
62 #endif // INCLUDE_DRIVERS_DIJKSTRA_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)