Package edu.stanford.nlp.util
Class FastDisjointSet<T>
- java.lang.Object
-
- edu.stanford.nlp.util.FastDisjointSet<T>
-
- All Implemented Interfaces:
DisjointSet<T>
public class FastDisjointSet<T> extends Object implements DisjointSet<T>
Disjoint forest with path compression and union-by-rank. The set is unmodifiable except by unions.- Version:
- 4/17/01
- Author:
- Dan Klein
-
-
Constructor Summary
Constructors Constructor Description FastDisjointSet(Set<? extends T> objectSet)
-