ADS
Algorithms and Data Structures
Loading...
Searching...
No Matches
ADS::Mergeable Concept Reference

a union of disjoint sets as kruskal() needs it: merge( u , v ) joins the components of u and v and tells whether they were apart More...

#include <ADS/graph/MinimumSpanningTree.h>

Concept definition

template< class M >
concept Mergeable = requires( M m , int u , int v )
{
{ m.merge( u , v ) } -> std::convertible_to< bool >;
}
a union of disjoint sets as kruskal() needs it: merge( u , v ) joins the components of u and v and te...
Definition MinimumSpanningTree.h:153

Detailed description

a union of disjoint sets as kruskal() needs it: merge( u , v ) joins the components of u and v and tells whether they were apart