public class DisjointSetForestInt extends Object
Constructor and Description |
---|
DisjointSetForestInt(int initSize) |
Modifier and Type | Method and Description |
---|---|
int |
directUnion(int a,
int b) |
int |
find(int a) |
int |
size() |
int |
union(int a,
int b) |
public DisjointSetForestInt(int initSize)
public int find(int a)
public int union(int a, int b)
public int directUnion(int a, int b)
public int size()
Copyright © 2015. All Rights Reserved.