pgRouting

root/tags/release-1.0-beta/drivedist.h

Revision 39, 1.2 kB (checked in by anton, 1 year ago)

1.0.0b tag added

Line 
1 /*
2  * Drivedist algorithm for PostgreSQL
3  *
4  * Copyright (c) 2005 Sylvain Pasche
5  *
6  * This program is free software; you can redistribute it and/or modify
7  * it under the terms of the GNU General Public License as published by
8  * the Free Software Foundation; either version 2 of the License, or
9  * (at your option) any later version.
10  *
11  * This program is distributed in the hope that it will be useful,
12  * but WITHOUT ANY WARRANTY; without even the implied warranty of
13  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
14  * GNU General Public License for more details.
15  *
16  * You should have received a copy of the GNU General Public License
17  * along with this program; if not, write to the Free Software
18  * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
19  *
20  */
21  
22 #ifndef _DRIVEDIST_H
23 #define _DRIVEDIST_H
24
25 #include "postgres.h"
26 #include "dijkstra.h"
27
28 #ifdef __cplusplus
29 extern "C"
30 #endif
31
32 int boost_dijkstra_dist(edge_t *edges, unsigned int count,
33                    int source_vertex_id, double rdistance,
34                    bool directed, bool has_reverse_cost,
35                    path_element_t **path, int *path_count, char **err_msg);
36
37 #endif
Note: See TracBrowser for help on using the browser.