|
Aleph-w 3.0
A C++ Library for Data Structures and Algorithms
|
Functor wrapper for capacity scaling. More...
#include <tpl_maxflow.H>
Public Member Functions | |
| Net::Flow_Type | operator() (Net &net) const |
| Invoke capacity scaling maximum flow algorithm on the given network. | |
Functor wrapper for capacity scaling.
Definition at line 683 of file tpl_maxflow.H.
|
inline |
Invoke capacity scaling maximum flow algorithm on the given network.
This functor provides a convenient way to call capacity_scaling_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 699 of file tpl_maxflow.H.
References Aleph::capacity_scaling_maximum_flow().