PGROUTING  3.2
turnRestrictedPath_driver.h
Go to the documentation of this file.
1 /*PGR-GNU*****************************************************************
2 File: dijkstraTR_driver.h
3 
4 Generated with Template by:
5 Copyright (c) 2015 pgRouting developers
7 
8 Function's developer:
9 Copyright (c) 2017 Vidhan Jain
11 
12 ------
13 
14 This program is free software; you can redistribute it and/or modify
15 it under the terms of the GNU General Public License as published by
16 the Free Software Foundation; either version 2 of the License, or
17 (at your option) any later version.
18 
19 This program is distributed in the hope that it will be useful,
20 but WITHOUT ANY WARRANTY; without even the implied warranty of
21 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
22 GNU General Public License for more details.
23 
24 You should have received a copy of the GNU General Public License
25 along with this program; if not, write to the Free Software
26 Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
27 
28  ********************************************************************PGR-GNU*/
29 
30 #ifndef INCLUDE_DRIVERS_YEN_TURNRESTRICTEDPATH_DRIVER_H_
31 #define INCLUDE_DRIVERS_YEN_TURNRESTRICTEDPATH_DRIVER_H_
32 #pragma once
33 
34 /* for size-t */
35 #ifdef __cplusplus
36 # include <cstddef>
37 #else
38 # include <stddef.h>
39 #endif
40 
41 #include "c_types/pgr_edge_t.h"
42 #include "c_types/restriction_t.h"
44 
45 #ifdef __cplusplus
46 extern "C" {
47 #endif
48 
49  /*********************************************************
50 
51  TEXT, -- edges_sql
52  TEXT, -- restrictions_sql
53  BIGINT, -- source
54  BIGINT, -- target
55  directed BOOLEAN DEFAULT true,
56  only_cost BOOLEAN DEFAULT false,
57  strict BOOLEAN DEFAULT false
58  ********************************************************/
59 
60 
62  pgr_edge_t *data_edges,
63  size_t total_edges,
64 
65  Restriction_t *restrictions,
66  size_t total_restrictions,
67 
68  int64_t start_vid,
69  int64_t end_vid,
70 
71  size_t k,
72  bool directed,
73  bool heap_paths,
74  bool stop_on_first,
75  bool strict,
76 
77  General_path_element_t **return_tuples,
78  size_t *return_count,
79  char ** log_msg,
80  char ** notice_msg,
81  char ** err_msg);
82 
83 
84 #ifdef __cplusplus
85 }
86 #endif
87 
88 #endif // INCLUDE_DRIVERS_YEN_TURNRESTRICTEDPATH_DRIVER_H_
pgr_edge_t
Definition: pgr_edge_t.h:37
do_pgr_turnRestrictedPath
void do_pgr_turnRestrictedPath(pgr_edge_t *data_edges, size_t total_edges, Restriction_t *restrictions, size_t total_restrictions, int64_t start_vid, int64_t end_vid, size_t k, bool directed, bool heap_paths, bool stop_on_first, bool strict, General_path_element_t **return_tuples, size_t *return_count, char **log_msg, char **notice_msg, char **err_msg)
Definition: turnRestrictedPath_driver.cpp:77
restriction_t.h
General_path_element_t
Definition: general_path_element_t.h:37
Restriction_t
Definition: restriction_t.h:37
general_path_element_t.h
pgr_edge_t.h