Routino SVN Repository Browser

Check out the latest version of Routino: svn co http://routino.org/svn/trunk routino

ViewVC logotype

Contents of /trunk/src/superx.h

Parent Directory Parent Directory | Revision Log Revision Log


Revision 203 - (show annotations) (download) (as text)
Thu Jun 25 17:46:46 2009 UTC (15 years, 8 months ago) by amb
File MIME type: text/x-chdr
File size: 1586 byte(s)
Reduce the number of ways in the output by compacting them (sharing the same
information between identical ways).

1 /***************************************
2 $Header: /home/amb/CVS/routino/src/superx.h,v 1.4 2009-06-25 17:46:45 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,Way *match,int iteration);
43
44
45 #endif /* SUPERX_H */

Properties

Name Value
cvs:description Super-nodes and super-segments header.