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