PGROUTING  2.4
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
max_flow_driver.h
Go to the documentation of this file.
1 /*PGR-GNU*****************************************************************
2 File: max_flow_many_to_many_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) 2016 Andrea Nardelli
10 Mail: nrd.nardelli@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 SRC_MAX_FLOW_SRC_MAX_FLOW_DRIVER_H_
31 #define SRC_MAX_FLOW_SRC_MAX_FLOW_DRIVER_H_
32 
33 #include "./../../common/src/pgr_types.h"
34 
35 #ifdef __cplusplus
36 extern "C" {
37 #endif
38 
39  void
41  pgr_edge_t *data_edges,
42  size_t total_tuples,
43  int64_t* source_vertices,
44  size_t size_source_verticesArr,
45  int64_t* sink_vertices,
46  size_t size_sink_verticesArr,
47  char* algorithm,
48  bool only_flow,
49  pgr_flow_t **return_tuples,
50  size_t *return_count,
51  char** log_msg,
52  char** notice_msg,
53  char** err_msg);
54 
55 
56 #ifdef __cplusplus
57 }
58 #endif
59 
60 #endif // SRC_MAX_FLOW_SRC_MAX_FLOW_DRIVER_H_
void do_pgr_max_flow(pgr_edge_t *data_edges, size_t total_tuples, int64_t *source_vertices, size_t size_source_verticesArr, int64_t *sink_vertices, size_t size_sink_verticesArr, char *algorithm, bool only_flow, pgr_flow_t **return_tuples, size_t *return_count, char **log_msg, char **notice_msg, char **err_msg)
char * err_msg
Definition: BDATester.cpp:50