PGROUTING  2.4
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
trsp_driver.h
Go to the documentation of this file.
1 /*PGR-GNU*****************************************************************
2 
3  * Copyright (c) 2011 Stephen Woodbridge
4 
5 ------
6 
7 This program is free software; you can redistribute it and/or modify
8 it under the terms of the GNU General Public License as published by
9 the Free Software Foundation; either version 2 of the License, or
10 (at your option) any later version.
11 
12 This program is distributed in the hope that it will be useful,
13 but WITHOUT ANY WARRANTY; without even the implied warranty of
14 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15 GNU General Public License for more details.
16 
17 You should have received a copy of the GNU General Public License
18 along with this program; if not, write to the Free Software
19 Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
20 
21 ********************************************************************PGR-GNU*/
22 
23 #ifndef _TRSP_H
24 #define _TRSP_H
25 
26 #define MAX_RULE_LENGTH 5
27 
28 #include "../../common/src/pgr_types.h"
31 
32 #ifdef __cplusplus
33 extern "C" {
34 #endif
35 
37  edge_t *edges, size_t edge_count,
38  restrict_t *restricts, size_t restrict_count,
39  int start_vertex,
40  int end_vertex,
41  bool directed,
42  bool has_reverse_cost,
43  path_element_t **path, size_t *path_count,
44  char **err_msg
45  );
46 
47 
49  edge_t *edges, size_t edge_count,
50  restrict_t *restricts, size_t restrict_count,
51  int start_edge,
52  double start_pos,
53  int end_edge,
54  double end_pos,
55  bool directed,
56  bool has_reverse_cost,
57  path_element_t **path, size_t *path_count,
58  char **err_msg
59  );
60 #ifdef __cplusplus
61 }
62 #endif
63 
64 #endif
pgr_edge_t edge_t
Definition: trsp_driver.h:29
int path_count
Definition: BDATester.cpp:51
Restrict_t restrict_t
Definition: trsp_driver.h:30
int trsp_edge_wrapper(edge_t *edges, size_t edge_count, restrict_t *restricts, size_t restrict_count, int start_edge, double start_pos, int end_edge, double end_pos, bool directed, bool has_reverse_cost, path_element_t **path, size_t *path_count, char **err_msg)
Definition: trsp_driver.cpp:84
int edge_count
Definition: BDATester.cpp:47
edge_astar_t * edges
Definition: BDATester.cpp:46
int trsp_node_wrapper(edge_t *edges, size_t edge_count, restrict_t *restricts, size_t restrict_count, int start_vertex, int end_vertex, bool directed, bool has_reverse_cost, path_element_t **path, size_t *path_count, char **err_msg)
Definition: trsp_driver.cpp:34
path_element_t * path
Definition: BDATester.cpp:49
char * err_msg
Definition: BDATester.cpp:50