|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectedu.lehigh.swat.obione.RGT
public class RGT
Models the rule goal tree of the PDMS.
| Field Summary | |
|---|---|
private GoalNode |
current
|
private GoalNode |
root
|
| Constructor Summary | |
|---|---|
RGT(GoalNode root)
Intializes a RGT |
|
| Method Summary | |
|---|---|
GoalNode |
getCurrent()
|
GoalNode |
getRoot()
Gets the root of the tree |
java.util.Vector<Node> |
getSiblings(Node n)
Gets the siblings given a node |
static void |
main(java.lang.String[] args)
|
void |
setCurrent(GoalNode current)
|
void |
showTree(Node start,
int indentLevel)
Shows the Tree |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
private GoalNode root
private GoalNode current
| Constructor Detail |
|---|
public RGT(GoalNode root)
root - | Method Detail |
|---|
public void showTree(Node start,
int indentLevel)
start - indentLevel - public GoalNode getRoot()
public java.util.Vector<Node> getSiblings(Node n)
n -
public static void main(java.lang.String[] args)
public GoalNode getCurrent()
public void setCurrent(GoalNode current)
current - the current to set
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||