com.jgraph.algebra
public class JGraphUnionFind.Node extends Object
Field Summary | |
---|---|
protected JGraphUnionFind.Node | parent
Reference to the parent node. |
protected int | size
The size of the tree. |
Method Summary | |
---|---|
JGraphUnionFind.Node | getParent() |
int | getSize() |
void | setParent(JGraphUnionFind.Node parent) |
void | setSize(int size) |
Returns: Returns the parent node
Returns: Returns the size.
Parameters: parent the parent node to set
Parameters: size The size to set.