class Algorithmable::UnionFind::SimpleFind

Public Instance Methods

find(p, collection) click to toggle source
# File lib/algorithmable/union_find.rb, line 32
def find(p, collection)
  collection[p]
end