Check out the latest version of Routino: svn co http://routino.org/svn/trunk routino
Contents of /trunk/src/functions.h
Parent Directory
|
Revision Log
Revision 542 -
(show annotations)
(download)
(as text)
Sat Dec 18 15:19:33 2010 UTC (14 years, 3 months ago) by amb
File MIME type: text/x-chdr
File size: 2021 byte(s)
Sat Dec 18 15:19:33 2010 UTC (14 years, 3 months ago) by amb
File MIME type: text/x-chdr
File size: 2021 byte(s)
Add a Relations data type and write out the turn relations that have been read in. Still doesn't perform the required processing after reading the data or use the information for routing.
1 | /*************************************** |
2 | $Header: /home/amb/CVS/routino/src/functions.h,v 1.60 2010-12-18 15:19:33 amb Exp $ |
3 | |
4 | Header file for function prototypes |
5 | |
6 | Part of the Routino routing software. |
7 | ******************/ /****************** |
8 | This file Copyright 2008-2010 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 FUNCTIONS_H |
26 | #define FUNCTIONS_H /*+ To stop multiple inclusions. +*/ |
27 | |
28 | #include "types.h" |
29 | |
30 | #include "profiles.h" |
31 | #include "results.h" |
32 | |
33 | |
34 | /* In optimiser.c */ |
35 | |
36 | Results *FindNormalRoute(Nodes *nodes,Segments *segments,Ways *ways,Relations *relations,index_t start,index_t finish,Profile *profile); |
37 | Results *FindMiddleRoute(Nodes *supernodes,Segments *supersegments,Ways *superways,Relations *relations,Results *begin,Results *end,Profile *profile); |
38 | |
39 | Results *FindStartRoutes(Nodes *nodes,Segments *segments,Ways *ways,Relations *relations,index_t start,Profile *profile); |
40 | Results *FindFinishRoutes(Nodes *nodes,Segments *segments,Ways *ways,Relations *relations,index_t finish,Profile *profile); |
41 | |
42 | Results *CombineRoutes(Results *results,Nodes *nodes,Segments *segments,Ways *ways,Relations *relations,Profile *profile); |
43 | |
44 | void FixForwardRoute(Results *results,index_t finish); |
45 | |
46 | |
47 | /* In output.c */ |
48 | |
49 | void PrintRoute(Results **results,int nresults,Nodes *nodes,Segments *segments,Ways *ways,Profile *profile); |
50 | |
51 | |
52 | #endif /* FUNCTIONS_H */ |
Properties
Name | Value |
---|---|
cvs:description | Function prototypes. |