|
| 1 | +/*PGR-GNU***************************************************************** |
| 2 | +File: maxFlow_driver.hpp |
| 3 | +
|
| 4 | +Generated with Template by: |
| 5 | +Copyright (c) 2007-2026 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 INCLUDE_DRIVERS_MAXFLOW_DRIVER_HPP_ |
| 31 | +#define INCLUDE_DRIVERS_MAXFLOW_DRIVER_HPP_ |
| 32 | + |
| 33 | +#include <cstddef> |
| 34 | +#include <cstdint> |
| 35 | +#include <string> |
| 36 | +#include <sstream> |
| 37 | + |
| 38 | +#include "c_common/enums.h" |
| 39 | + |
| 40 | +using Flow_t = struct Flow_t; |
| 41 | +using ArrayType = struct ArrayType; |
| 42 | + |
| 43 | +namespace pgrouting { |
| 44 | +namespace drivers { |
| 45 | + |
| 46 | +void do_maxFlow( |
| 47 | + const std::string&, const std::string&, |
| 48 | + ArrayType*, ArrayType*, |
| 49 | + |
| 50 | + Which, |
| 51 | + Flow_t*&, size_t&, |
| 52 | + std::ostringstream&, std::ostringstream&, std::ostringstream&); |
| 53 | + |
| 54 | +} // namespace drivers |
| 55 | +} // namespace pgrouting |
| 56 | + |
| 57 | +#endif // INCLUDE_DRIVERS_MAXFLOW_DRIVER_HPP_ |
0 commit comments