|
Aleph-w 3.0
A C++ Library for Data Structures and Algorithms
|
Functor wrapper for Dinic's algorithm. More...
#include <tpl_maxflow.H>
Public Member Functions | |
| Net::Flow_Type | operator() (Net &net) const |
| Invoke Dinic's maximum flow algorithm on the given network. | |
Functor wrapper for Dinic's algorithm.
Definition at line 494 of file tpl_maxflow.H.
|
inline |
Invoke Dinic's maximum flow algorithm on the given network.
This functor provides a convenient way to call dinic_maximum_flow as a function object, useful for passing to algorithms or storing in containers.
| [in] | net | Flow network with a single source and sink. |
| domain_error | If network is not single source/sink. |
| std::bad_alloc | If memory allocation fails during algorithm execution. |
Definition at line 510 of file tpl_maxflow.H.
References Aleph::dinic_maximum_flow().