Routino SVN Repository Browser

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

ViewVC logotype

Annotation of /trunk/src/prunex.h

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1431 - (hide annotations) (download) (as text)
Fri Jun 28 14:39:14 2013 UTC (11 years, 8 months ago) by amb
File MIME type: text/x-chdr
File size: 1521 byte(s)
Revert the last three changes because r1430 didn't work and r1428+r1429 didn't
give any speed advantage and was possibly marginally slower.

1 amb 949 /***************************************
2     Header for super-node and super-segment pruning functions.
3    
4     Part of the Routino routing software.
5     ******************/ /******************
6 amb 1431 This file Copyright 2011-2012 Andrew M. Bishop
7 amb 949
8     This program is free software: you can redistribute it and/or modify
9     it under the terms of the GNU Affero General Public License as published by
10     the Free Software Foundation, either version 3 of the License, or
11     (at your option) any later version.
12    
13     This program is distributed in the hope that it will be useful,
14     but WITHOUT ANY WARRANTY; without even the implied warranty of
15     MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16     GNU Affero General Public License for more details.
17    
18     You should have received a copy of the GNU Affero General Public License
19     along with this program. If not, see <http://www.gnu.org/licenses/>.
20     ***************************************/
21    
22    
23     #ifndef PRUNEX_H
24     #define PRUNEX_H /*+ To stop multiple inclusions. +*/
25    
26     #include "types.h"
27    
28 amb 955 #include "typesx.h"
29 amb 949
30 amb 955
31 amb 949 /* Functions in prunex.c */
32    
33 amb 1431 void StartPruning(NodesX *nodesx,SegmentsX *segmentsx,WaysX *waysx);
34     void FinishPruning(NodesX *nodesx,SegmentsX *segmentsx,WaysX *waysx);
35    
36 amb 963 void PruneIsolatedRegions(NodesX *nodesx,SegmentsX *segmentsx,WaysX *waysx,distance_t minimum);
37 amb 966
38 amb 949 void PruneShortSegments(NodesX *nodesx,SegmentsX *segmentsx,WaysX *waysx,distance_t minimum);
39    
40 amb 966 void PruneStraightHighwayNodes(NodesX *nodesx,SegmentsX *segmentsx,WaysX *waysx,distance_t maximum);
41 amb 949
42 amb 966
43 amb 949 #endif /* PRUNEX_H */