PGROUTING  3.2
minCostMaxFlow_driver.h
Go to the documentation of this file.
1 /*PGR-GNU*****************************************************************
2 File: minCostMaxFlow_driver.h
3 
4 Generated with Template by:
5 Copyright (c) 2015 pgRouting developers
7 
8 Function's developer:
9 Copyright (c) 2018 Maoguang Wang
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_MAX_FLOW_MINCOSTMAXFLOW_DRIVER_H_
31 #define INCLUDE_DRIVERS_MAX_FLOW_MINCOSTMAXFLOW_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_flow_t.h"
43 #include "c_types/pgr_costFlow_t.h"
44 
45 #ifdef __cplusplus
46 extern "C" {
47 #endif
48 
49  /*********************************************************
50  TEXT,
51  BIGINT,
52  BIGINT,
53  ********************************************************/
54 
55 
56  void
58  pgr_costFlow_t *data_edges,
59  size_t total_edges,
60  pgr_combination_t *combinations,
61  size_t total_combinations,
62  int64_t* source_vertices,
63  size_t size_source_verticesArr,
64  int64_t* sink_vertices,
65  size_t size_sink_verticesArr,
66  bool only_cost,
67  pgr_flow_t **return_tuples,
68  size_t *return_count,
69  char ** log_msg,
70  char ** notice_msg,
71  char ** err_msg);
72 
73 
74 #ifdef __cplusplus
75 }
76 #endif
77 
78 #endif // INCLUDE_DRIVERS_MAX_FLOW_MINCOSTMAXFLOW_DRIVER_H_
pgr_combination_t.h
pgr_flow_t
Definition: pgr_flow_t.h:37
do_pgr_minCostMaxFlow
void do_pgr_minCostMaxFlow(pgr_costFlow_t *data_edges, size_t total_edges, pgr_combination_t *combinations, size_t total_combinations, int64_t *source_vertices, size_t size_source_verticesArr, int64_t *sink_vertices, size_t size_sink_verticesArr, bool only_cost, pgr_flow_t **return_tuples, size_t *return_count, char **log_msg, char **notice_msg, char **err_msg)
Definition: minCostMaxFlow_driver.cpp:43
pgr_combination_t
Definition: pgr_combination_t.h:43
pgr_flow_t.h
pgr_costFlow_t.h
pgr_costFlow_t
Definition: pgr_costFlow_t.h:38