Table of Contents

Class UnionFind<T>

Namespace
ICSharpCode.Decompiler.Util
Assembly
ICSharpCode.Decompiler.dll

Union-Find data structure.

public class UnionFind<T> where T : notnull

Type Parameters

T
Inheritance
UnionFind<T>
Inherited Members

Constructors

UnionFind()

public UnionFind()

Methods

Find(T)

public T Find(T element)

Parameters

element T

Returns

T

Merge(T, T)

public void Merge(T a, T b)

Parameters

a T
b T