|
Algorithm Development Kit 1.0 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectalgs.debug.DottyDebugger
algs.model.tree.debug.RightThreadTreeDebugger
public class RightThreadTreeDebugger
Debugging subclass for right-threaded binary trees.
Field Summary |
---|
Fields inherited from class algs.debug.DottyDebugger |
---|
_ctr, BreadthFirstOrdering, defaultFontName, defaultFontSize, DepthFirstOrdering, discarded, edges, goal, nodes, start, TooLarge, unexplored |
Constructor Summary | |
---|---|
RightThreadTreeDebugger()
|
Method Summary | |
---|---|
java.lang.String |
edgeType()
Default to having nodes with complex record shapes. |
void |
visit(BinaryNode parentNode,
BinaryNode node)
Visit right-threaded (parent, child) sequence by visiting both nodes separately, then the edge from parent to child, then any threaded edge, if one exists. |
Methods inherited from class algs.debug.DottyDebugger |
---|
complete, getInputString, getKey, labelEdge, markDiscarded, markEdge, markGoal, markStart, markUnexplored, nodeType, numNodes, ordering, rank, visitEdge, visitEdge, visitNode |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public RightThreadTreeDebugger()
Method Detail |
---|
public java.lang.String edgeType()
edgeType
in class DottyDebugger
public void visit(BinaryNode parentNode, BinaryNode node)
visit
in interface IVisitor
parentNode
- parent (or null if root) of node being visited.node
- node being visited
|
Algorithm Development Kit 1.0 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |