Check out the latest version of Routino: svn co http://routino.org/svn/trunk routino
Contents of /trunk/src/superx.h
Parent Directory
|
Revision Log
Revision 199 -
(show annotations)
(download)
(as text)
Mon Jun 15 18:56:09 2009 UTC (15 years, 9 months ago) by amb
File MIME type: text/x-chdr
File size: 1587 byte(s)
Mon Jun 15 18:56:09 2009 UTC (15 years, 9 months ago) by amb
File MIME type: text/x-chdr
File size: 1587 byte(s)
Put some of types.h into typesx.h (for extended data types). Put some of functions.h into functionsx.h (for OSM parser). Change included files to match.
1 | /*************************************** |
2 | $Header: /home/amb/CVS/routino/src/superx.h,v 1.3 2009-06-15 18:56:09 amb Exp $ |
3 | |
4 | Header for super-node and super-segment functions. |
5 | |
6 | Part of the Routino routing software. |
7 | ******************/ /****************** |
8 | This file Copyright 2008,2009 Andrew M. Bishop |
9 | |
10 | This program is free software: you can redistribute it and/or modify |
11 | it under the terms of the GNU Affero General Public License as published by |
12 | the Free Software Foundation, either version 3 of the License, or |
13 | (at your option) any later version. |
14 | |
15 | This program is distributed in the hope that it will be useful, |
16 | but WITHOUT ANY WARRANTY; without even the implied warranty of |
17 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
18 | GNU Affero General Public License for more details. |
19 | |
20 | You should have received a copy of the GNU Affero General Public License |
21 | along with this program. If not, see <http://www.gnu.org/licenses/>. |
22 | ***************************************/ |
23 | |
24 | |
25 | #ifndef SUPERX_H |
26 | #define SUPERX_H /*+ To stop multiple inclusions. +*/ |
27 | |
28 | #include "typesx.h" |
29 | #include "types.h" |
30 | #include "results.h" |
31 | #include "nodesx.h" |
32 | #include "segmentsx.h" |
33 | #include "waysx.h" |
34 | |
35 | |
36 | void ChooseSuperNodes(NodesX *nodesx,SegmentsX *segmentsx,WaysX *waysx,int iteration); |
37 | |
38 | SegmentsX *CreateSuperSegments(NodesX *nodesx,SegmentsX *segmentsx,WaysX *waysx,int iteration); |
39 | |
40 | void MergeSuperSegments(SegmentsX* segmentsx,SegmentsX* supersegmentsx); |
41 | |
42 | Results *FindRoutesWay(NodesX *nodesx,SegmentsX *segmentsx,WaysX *waysx,node_t start,WayX *match,int iteration); |
43 | |
44 | |
45 | #endif /* SUPERX_H */ |
Properties
Name | Value |
---|---|
cvs:description | Super-nodes and super-segments header. |