PGROUTING
2.4
Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Pages
bdastar_driver.h
Go to the documentation of this file.
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 SRC_BD_ASTAR_SRC_BDASTAR_DRIVER_H_
28
#define SRC_BD_ASTAR_SRC_BDASTAR_DRIVER_H_
29
#pragma once
30
31
#include "stdlib.h"
32
#include "../../common/src/pgr_types.h"
33
34
35
#ifdef __cplusplus
36
extern
"C"
{
37
#endif
38
39
int
bdastar_wrapper
(
edge_astar_t
*
edges
,
size_t
count,
int
maxnode,
40
int
source_vertex_id,
int
target_vertex_id,
41
bool
directed,
bool
has_reverse_cost,
42
path_element_t
**
path
,
size_t
*
path_count
,
char
**
err_msg
);
43
#ifdef __cplusplus
44
}
45
#endif
46
47
#endif // SRC_BD_ASTAR_SRC_BDASTAR_DRIVER_H_
path_count
int path_count
Definition:
BDATester.cpp:51
edge
Definition:
tester/BiDirAStar.h:61
edges
edge_astar_t * edges
Definition:
BDATester.cpp:46
path_element_t
Definition:
pgr_types.h:87
bdastar_wrapper
int bdastar_wrapper(edge_astar_t *edges, size_t count, int maxnode, int source_vertex_id, int target_vertex_id, bool directed, bool has_reverse_cost, path_element_t **path, size_t *path_count, char **err_msg)
Definition:
bdastar_driver.cpp:41
path
path_element_t * path
Definition:
BDATester.cpp:49
err_msg
char * err_msg
Definition:
BDATester.cpp:50
src
bd_astar
src
bdastar_driver.h
Generated on Tue Aug 15 2017 20:37:07 for PGROUTING by
1.8.6