PGROUTING  3.2
ksp_driver.h
Go to the documentation of this file.
1 /*PGR-GNU*****************************************************************
2 File: ksp_driver.h
3 
4 Copyright (c) 2015 Celia Virginia Vergara Castillo
6 
7 ------
8 
9 This program is free software; you can redistribute it and/or modify
10 it under the terms of the GNU General Public License as published by
11 the Free Software Foundation; either version 2 of the License, or
12 (at your option) any later version.
13 
14 This program is distributed in the hope that it will be useful,
15 but WITHOUT ANY WARRANTY; without even the implied warranty of
16 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
17 GNU General Public License for more details.
18 
19 You should have received a copy of the GNU General Public License
20 along with this program; if not, write to the Free Software
21 Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
22 
23  ********************************************************************PGR-GNU*/
24 
25 #ifndef INCLUDE_DRIVERS_YEN_KSP_DRIVER_H_
26 #define INCLUDE_DRIVERS_YEN_KSP_DRIVER_H_
27 #pragma once
28 
29 /* for size-t */
30 #ifdef __cplusplus
31 # include <cstddef>
32 #else
33 # include <stddef.h>
34 #endif
35 
36 #include "c_types/pgr_edge_t.h"
38 
39 
40 #ifdef __cplusplus
41 extern "C" {
42 #endif
43 
44  void do_pgr_ksp(
45  pgr_edge_t *data_edges,
46  size_t total_edges,
47  int64_t start_vid,
48  int64_t end_vid,
49  size_t K,
50  bool directed,
51  bool heap_paths,
52  General_path_element_t **return_tuples,
53  size_t *return_count,
54  char ** log_msg,
55  char ** notice_msg,
56  char ** err_msg);
57 
58 #ifdef __cplusplus
59 }
60 #endif
61 
62 #endif // INCLUDE_DRIVERS_YEN_KSP_DRIVER_H_
pgr_edge_t
Definition: pgr_edge_t.h:37
do_pgr_ksp
void do_pgr_ksp(pgr_edge_t *data_edges, size_t total_edges, int64_t start_vid, int64_t end_vid, size_t K, bool directed, bool heap_paths, General_path_element_t **return_tuples, size_t *return_count, char **log_msg, char **notice_msg, char **err_msg)
Definition: ksp_driver.cpp:43
General_path_element_t
Definition: general_path_element_t.h:37
general_path_element_t.h
pgr_edge_t.h