Routino SVN Repository Browser

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

ViewVC logotype

Annotation of /branches/libroutino/src/functions.h

Parent Directory Parent Directory | Revision Log Revision Log


Revision 722 - (hide annotations) (download) (as text)
Wed May 18 17:48:13 2011 UTC (13 years, 10 months ago) by amb
Original Path: trunk/src/functions.h
File MIME type: text/x-chdr
File size: 2079 byte(s)
Use the beginning of the route as the start of the combined route (since it may
have special override segments in it).

1 amb 2 /***************************************
2 amb 680 Header file for miscellaneous function prototypes
3 amb 151
4     Part of the Routino routing software.
5 amb 2 ******************/ /******************
6 amb 605 This file Copyright 2008-2011 Andrew M. Bishop
7 amb 2
8 amb 151 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 amb 2 ***************************************/
21    
22    
23     #ifndef FUNCTIONS_H
24     #define FUNCTIONS_H /*+ To stop multiple inclusions. +*/
25    
26 amb 449 #include "types.h"
27 amb 2
28 amb 82 #include "profiles.h"
29 amb 31 #include "results.h"
30 amb 2
31 amb 26
32 amb 680 /* Functions in optimiser.c */
33 amb 2
34 amb 721 Results *FindNormalRoute(Nodes *nodes,Segments *segments,Ways *ways,Relations *relations,Profile *profile,index_t start_node,index_t prev_segment,index_t finish_node,int override);
35 amb 637
36 amb 721 Results *FindMiddleRoute(Nodes *supernodes,Segments *supersegments,Ways *superways,Relations *relations,Profile *profile,Results *begin,Results *end);
37 amb 2
38 amb 721 Results *FindStartRoutes(Nodes *nodes,Segments *segments,Ways *ways,Relations *relations,Profile *profile,index_t start_node,index_t prev_segment,int override);
39     Results *FindFinishRoutes(Nodes *nodes,Segments *segments,Ways *ways,Relations *relations,Profile *profile,index_t finish_node);
40 amb 31
41 amb 722 Results *CombineRoutes(Nodes *nodes,Segments *segments,Ways *ways,Relations *relations,Profile *profile,Results *begin,Results *middle);
42 amb 31
43 amb 605 void FixForwardRoute(Results *results,Result *finish_result);
44 amb 31
45 amb 290
46 amb 680 /* Functions in output.c */
47 amb 161
48 amb 317 void PrintRoute(Results **results,int nresults,Nodes *nodes,Segments *segments,Ways *ways,Profile *profile);
49 amb 161
50    
51 amb 2 #endif /* FUNCTIONS_H */

Properties

Name Value
cvs:description Function prototypes.