pgRouting  2.2
pgRouting extends the PostGIS / PostgreSQL geospatial database to provide geospatial routing functionality.
 All Classes Functions Variables Pages
bdastar.h
1 /*PGR-GNU*****************************************************************
2  *
3  * Bi Directional A* Shortest path algorithm for PostgreSQL
4  *
5  * Copyright (c) 2006 Anton A. Patrushev, Orkney, Inc.
6 
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 
27 #ifndef _BDASTAR_H
28 #define _BDASTAR_H
29 
30 #include "../../common/src/pgr_types.h"
31 
32 
33 #ifdef __cplusplus
34 extern "C"
35 #endif
36 
37  int bdastar_wrapper(edge_astar_t *edges, size_t count, int maxnode,
38  int source_vertex_id, int target_vertex_id,
39  bool directed, bool has_reverse_cost,
40  path_element_t **path, size_t *path_count, char **err_msg);
41 #ifdef __cplusplus
42 extern "C"
43 #endif
44 
45 #endif