A flow network usable by the max-flow and min-cost algorithms.
More...
#include <ah-graph-concepts.H>
template<class Net>
requires {
typename graph_concepts_detail::graph_t<Net>::Flow_Type; }
and
{
{ net.get_source() } -> std::convertible_to<typename graph_concepts_detail::graph_t<Net>::Node *>;
{ net.get_sink() } -> std::convertible_to<typename graph_concepts_detail::graph_t<Net>::Node *>;
{ net.is_single_source() } -> std::convertible_to<bool>;
{ net.is_single_sink() } -> std::convertible_to<bool>;
{ a->cap } -> std::convertible_to<typename graph_concepts_detail::graph_t<Net>::Flow_Type>;
{ a->flow } -> std::convertible_to<typename graph_concepts_detail::graph_t<Net>::Flow_Type>;
}
A graph usable by the graph algorithms.
A flow network usable by the max-flow and min-cost algorithms.
std::remove_cvref_t< GT > graph_t
GT with cv-qualifiers and references removed.
and
Check uniqueness with explicit hash + equality functors.
A flow network usable by the max-flow and min-cost algorithms.
An AlephGraph with a nested Flow_Type, const access to its source and sink and to whether they are unique, and arcs exposing cap and flow. Net_Graph and its derivatives satisfy it.
- Template Parameters
-
| Net | candidate network type. |
Definition at line 165 of file ah-graph-concepts.H.