public class BinaryTree
extends java.lang.Object
Constructor and Description |
---|
BinaryTree(int height) |
Modifier and Type | Method and Description |
---|---|
void |
addId(NodeInst ni,
int id)
Label each node with it's identifier
|
int |
calcWireLength() |
void |
checkSlots() |
int[] |
countTracks() |
void |
draw(Cell c)
Draw a schematic Cell for this tree
|
int |
getHeight() |
int |
getLowBoundWireLen() |
Node |
getNodeInSlot(int i) |
java.util.List<Node> |
getNodesAtHeight(int h) |
java.util.List<Node> |
getNodesSortedByChildWireLength() |
Node |
getNodeWithLongestChildWire() |
int |
getNumSlots() |
Node |
getRoot() |
int |
maxWireLength() |
void |
moveTo(Node n,
int dst,
int moveableHeight)
move Node n to slot dst
|
void |
printStats() |
public int getHeight()
public Node getRoot()
public int getNumSlots()
public void checkSlots()
public void moveTo(Node n, int dst, int moveableHeight)
public void addId(NodeInst ni, int id)
public void draw(Cell c)
public int calcWireLength()
public int maxWireLength()
public int[] countTracks()
public java.util.List<Node> getNodesSortedByChildWireLength()
public Node getNodeWithLongestChildWire()
public int getLowBoundWireLen()
public void printStats()
public java.util.List<Node> getNodesAtHeight(int h)
public Node getNodeInSlot(int i)