|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--EDU.auburn.VGJ.algorithm.tree.TreeAlgorithm
An algorithm for laying out a graph as a tree.
Here is the source.
Constructor Summary | |
TreeAlgorithm(char orientation)
|
Method Summary | |
java.lang.String |
compute(Graph graph,
GraphUpdate update)
Apply the algorithm to graph. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public TreeAlgorithm(char orientation)
Method Detail |
public java.lang.String compute(Graph graph, GraphUpdate update)
GraphAlgorithm
compute
in interface GraphAlgorithm
EDU.auburn.VGJ.algorithm.GraphAlgorithm
update
- an object that allows the display to be updated
from within the algorithmGraphUpdate
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |