class Crystalg::DataStructures::UnionFind

Defined in:

crystalg/data_structures/union_find.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(size : Int32) #

[View source]

Instance Method Detail

def same?(x, y) #

[View source]
def size(x) #

[View source]
def size : Int32 #

[View source]
def unite(x, y) #

[View source]