PGROUTING  2.6
dijkstraTRSP_driver.h
Go to the documentation of this file.
1 /*PGR-GNU*****************************************************************
2 File: dijkstraTRSP_driver.h
3 
4 Generated with Template by:
5 Copyright (c) 2015 pgRouting developers
6 Mail: project@pgrouting.org
7 
8 Function's developer:
9 Copyright (c) 2017 Vidhan Jain
10 Mail: vidhanj1307@gmail.com
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_DIJKSTRATRSP_DIJKSTRATRSP_DRIVER_H_
31 #define INCLUDE_DRIVERS_DIJKSTRATRSP_DIJKSTRATRSP_DRIVER_H_
32 #pragma once
33 
34 #include "c_types/pgr_edge_t.h"
36 #include "c_types/restrict_t.h"
37 
38 #ifdef __cplusplus
39 extern "C" {
40 #endif
41 
42  /*********************************************************
43  TEXT,
44  TEXT,
45  BIGINT,
46  BIGINT,
47  directed BOOLEAN DEFAULT true,
48  only_cost BOOLEAN DEFAULT false,
49  ********************************************************/
50 
51 
52  void
54  pgr_edge_t *data_edges,
55  size_t total_edges,
56  Restrict_t *restrictions,
57  size_t total_restrictions,
58  int64_t start_vid,
59  int64_t end_vid,
60  bool directed,
61  bool only_cost,
62  bool strict,
63  General_path_element_t **return_tuples,
64  size_t *return_count,
65  char ** log_msg,
66  char ** notice_msg,
67  char ** err_msg);
68 
69 
70 #ifdef __cplusplus
71 }
72 #endif
73 
74 #endif // INCLUDE_DRIVERS_DIJKSTRATRSP_DIJKSTRATRSP_DRIVER_H_
void do_pgr_dijkstraTRSP(pgr_edge_t *data_edges, size_t total_edges, Restrict_t *restrictions, size_t total_restrictions, int64_t start_vid, int64_t end_vid, bool directed, bool only_cost, bool strict, General_path_element_t **return_tuples, size_t *return_count, char **log_msg, char **notice_msg, char **err_msg)