pgRouting
pgRouting extends the PostGIS / PostgreSQL geospatial database to provide geospatial routing functionality.
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
bdsp_driver.h
Go to the documentation of this file.
1 /*PGR-GNU*****************************************************************
2 
3  * Bi Directional Shortest path algorithm for PostgreSQL
4  *
5  * Copyright (c) 2005 Sylvain Pasche
6 Copyright (c) 2015 pgRouting developers
7 Mail: project@pgrouting.org
8 
9 ------
10 
11 This program is free software; you can redistribute it and/or modify
12 it under the terms of the GNU General Public License as published by
13 the Free Software Foundation; either version 2 of the License, or
14 (at your option) any later version.
15 
16 This program is distributed in the hope that it will be useful,
17 but WITHOUT ANY WARRANTY; without even the implied warranty of
18 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
19 GNU General Public License for more details.
20 
21 You should have received a copy of the GNU General Public License
22 along with this program; if not, write to the Free Software
23 Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
24 
25 ********************************************************************PGR-GNU*/
26 #ifndef SRC_BD_DIJKSTRA_SRC_BDSP_DRIVER_H_
27 #define SRC_BD_DIJKSTRA_SRC_BDSP_DRIVER_H_
28 
29 #if defined(_MSC_VER) && _MSC_VER < 1600
30 #define ELOG_H
31 #endif
32 #include "../../common/src/pgr_types.h"
33 
35 
36 #ifdef __cplusplus
37 extern "C" {
38 #endif
39 
41  unsigned int edge_count,
42  int maxNode,
43  int start_vertex,
44  int end_vertex,
45  bool directed,
46  bool has_reverse_cost,
48  int *path_count,
49  char **err_msg);
50 
51 #ifdef __cplusplus
52 }
53 #endif
54 
55 #endif // SRC_BD_DIJKSTRA_SRC_BDSP_DRIVER_H_
int path_count
Definition: BDATester.cpp:51
int maxNode
Definition: BDATester.cpp:47
int edge_count
Definition: BDATester.cpp:47
edge_astar_t * edges
Definition: BDATester.cpp:46
path_element_t * path
Definition: BDATester.cpp:49
int bidirsp_wrapper(edge_t *edges, unsigned int edge_count, int maxNode, int start_vertex, int end_vertex, bool directed, bool has_reverse_cost, path_element_t **path, int *path_count, char **err_msg)
Definition: bdsp_driver.cpp:41
char * err_msg
Definition: BDATester.cpp:50
pgr_edge_t edge_t
Definition: bdsp_driver.h:34