|
Aleph-w 7.10.0
A C++ Library for Data Structures and Algorithms
|
Functor wrapper for hopcroft_karp_matching. More...
#include <tpl_bipartite.H>
Public Member Functions | |
| Hopcroft_Karp_Matching (SA __sa=SA()) | |
| Builds the computation with the filter of the arcs. | |
| void | operator() (const GT &g, DynDlist< typename GT::Arc * > &matching) |
| Computes the maximum matching using Hopcroft-Karp. | |
Private Attributes | |
| SA | sa |
Functor wrapper for hopcroft_karp_matching.
| GT | the graph type. |
| SA | arc filter (default: Dft_Show_Arc<GT>). |
Definition at line 679 of file tpl_bipartite.H.
|
inlineexplicit |
Builds the computation with the filter of the arcs.
| [in] | __sa | the filter of the arcs, which the search copies. |
Definition at line 688 of file tpl_bipartite.H.
|
inline |
Computes the maximum matching using Hopcroft-Karp.
| [in] | g | the bipartite graph. |
| [out] | matching | list of arcs forming the maximum matching. |
| domain_error | if the graph is not bipartite. |
Definition at line 696 of file tpl_bipartite.H.
References Aleph::Hopcroft_Karp_Matching< GT, SA >::sa.
|
private |
Definition at line 681 of file tpl_bipartite.H.
Referenced by Aleph::Hopcroft_Karp_Matching< GT, SA >::operator()().