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/prunex.h

Parent Directory Parent Directory | Revision Log Revision Log


Revision 963 - (show annotations) (download) (as text)
Thu Feb 9 18:36:46 2012 UTC (13 years, 1 month ago) by amb
File MIME type: text/x-chdr
File size: 1418 byte(s)
Prune isolated segments if they cannot be routed to anywhere else, not just if
they are not connected.

1 /***************************************
2 Header for super-node and super-segment pruning functions.
3
4 Part of the Routino routing software.
5 ******************/ /******************
6 This file Copyright 2011-2012 Andrew M. Bishop
7
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 #include "typesx.h"
29
30
31 /* Functions in prunex.c */
32
33 void StartPruning(NodesX *nodesx,SegmentsX *segmentsx,WaysX *waysx);
34 void FinishPruning(NodesX *nodesx,SegmentsX *segmentsx,WaysX *waysx);
35
36 void PruneIsolatedRegions(NodesX *nodesx,SegmentsX *segmentsx,WaysX *waysx,distance_t minimum);
37 void PruneShortSegments(NodesX *nodesx,SegmentsX *segmentsx,WaysX *waysx,distance_t minimum);
38
39
40 #endif /* PRUNEX_H */