edu.toronto.cs.ctl
Class CTLAbstractNode

java.lang.Object
  extended by edu.toronto.cs.ctl.CTLAbstractNode
All Implemented Interfaces:
CTLNode
Direct Known Subclasses:
CTLLeafNode

public abstract class CTLAbstractNode
extends java.lang.Object
implements CTLNode

This is an abstract CTL node.


Field Summary
static CTLNode[] EMPTY_ARRAY
           
 
Constructor Summary
protected CTLAbstractNode()
          Create an CTLAbstractNode with no children.
 
Method Summary
 java.lang.Object accept(CTLVisitor v, java.lang.Object stateinfo)
           
 CTLAFNode af()
          CTL operation - AF.
 CTLAFNode af(CTLNode[] fairness)
           
 CTLAGNode ag()
          CTL operation - AG.
 CTLAGNode ag(CTLNode[] fairness)
           
 CTLAndNode and(CTLNode psi)
          CTL operation - conjunction.
 CTLARNode ar(CTLNode psi)
          CTL Release node A [this R psi ]
 CTLAUNode au(CTLNode psi)
          CTL operation - AU ( A[this U psi] ).
 CTLAUiNode au(int i, CTLNode psi)
          CTL operation - bounded AU ( A[this Ui psi] ).
 CTLAWNode aw(CTLNode psi)
           
 CTLAXNode ax()
          CTL operation - AX.
 CTLEFNode ef()
          CTL operation - EF.
 CTLEGNode eg()
          CTL operation - EG.
 CTLEGNode eg(CTLNode[] fairness)
           
 CTLEqualsNode eq(CTLNode psi)
          CTL operation - equals
 boolean equals(java.lang.Object o)
          Overrides the Object's equals method.
 CTLERNode er(CTLNode psi)
           
 CTLEUNode eu(CTLNode psi)
          CTL operation - EU ( E[this U psi] ).
 CTLEUiNode eu(int i, CTLNode psi)
          CTL operation - bounded EU ( E[this Ui psi] ).
 CTLEWNode ew(CTLNode psi)
           
 CTLEXNode ex()
          CTL operation - EX.
 CTLNode[] getFairness()
          Retrieves the fairness of the CTLNode.
abstract  CTLNode getLeft()
          Retrieves the left child of the CTLNode.
abstract  CTLNode getRight()
          Retrieves the right child of the CTLNode.
 CTLIffNode iff(CTLNode psi)
          CTL operation - equivalence.
 CTLImplNode impliedBy(CTLNode psi)
          CTL operation - backward implication.
 CTLImplNode implies(CTLNode psi)
          CTL operation - implication.
 CTLNegNode neg()
          CTL operation - negation.
 int objectHashCode()
           
 CTLOrNode or(CTLNode psi)
          CTL operation - disjunction.
 CTLOverNode over(CTLNode psi)
          CTL operation - over
 CTLPreEXNode preEX()
           
protected abstract  void setLeft(CTLNode l)
          Changes the left child of the CTLNode.
protected abstract  void setRight(CTLNode r)
          Changes the right child of the CTLNode.
static java.lang.String toString(CTLNode node, boolean optBrackets)
           
 CTLUnderNode under(CTLNode psi)
          CTL operation - under
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

EMPTY_ARRAY

public static final CTLNode[] EMPTY_ARRAY
Constructor Detail

CTLAbstractNode

protected CTLAbstractNode()
Create an CTLAbstractNode with no children.

Method Detail

getFairness

public CTLNode[] getFairness()
Retrieves the fairness of the CTLNode.

Specified by:
getFairness in interface CTLNode
Returns:
fairness for this CTL.

getLeft

public abstract CTLNode getLeft()
Retrieves the left child of the CTLNode.

Specified by:
getLeft in interface CTLNode
Returns:
left child.

getRight

public abstract CTLNode getRight()
Retrieves the right child of the CTLNode.

Specified by:
getRight in interface CTLNode
Returns:
right child.

setLeft

protected abstract void setLeft(CTLNode l)
Changes the left child of the CTLNode.


setRight

protected abstract void setRight(CTLNode r)
Changes the right child of the CTLNode.


and

public CTLAndNode and(CTLNode psi)
CTL operation - conjunction.

Specified by:
and in interface CTLNode

or

public CTLOrNode or(CTLNode psi)
CTL operation - disjunction.

Specified by:
or in interface CTLNode

neg

public CTLNegNode neg()
CTL operation - negation.

Specified by:
neg in interface CTLNode

implies

public CTLImplNode implies(CTLNode psi)
CTL operation - implication.

Specified by:
implies in interface CTLNode

impliedBy

public CTLImplNode impliedBy(CTLNode psi)
CTL operation - backward implication.

Specified by:
impliedBy in interface CTLNode

iff

public CTLIffNode iff(CTLNode psi)
CTL operation - equivalence.

Specified by:
iff in interface CTLNode

ex

public CTLEXNode ex()
CTL operation - EX.

Specified by:
ex in interface CTLNode

preEX

public CTLPreEXNode preEX()
Specified by:
preEX in interface CTLNode

ax

public CTLAXNode ax()
CTL operation - AX.

Specified by:
ax in interface CTLNode

ef

public CTLEFNode ef()
CTL operation - EF.

Specified by:
ef in interface CTLNode

af

public CTLAFNode af()
CTL operation - AF.

Specified by:
af in interface CTLNode

af

public CTLAFNode af(CTLNode[] fairness)
Specified by:
af in interface CTLNode

eu

public CTLEUNode eu(CTLNode psi)
CTL operation - EU ( E[this U psi] ).

Specified by:
eu in interface CTLNode

eu

public CTLEUiNode eu(int i,
                     CTLNode psi)
CTL operation - bounded EU ( E[this Ui psi] ).

Specified by:
eu in interface CTLNode

au

public CTLAUNode au(CTLNode psi)
CTL operation - AU ( A[this U psi] ).

Specified by:
au in interface CTLNode

au

public CTLAUiNode au(int i,
                     CTLNode psi)
CTL operation - bounded AU ( A[this Ui psi] ).

Specified by:
au in interface CTLNode

ar

public CTLARNode ar(CTLNode psi)
Description copied from interface: CTLNode
CTL Release node A [this R psi ]

Specified by:
ar in interface CTLNode

er

public CTLERNode er(CTLNode psi)
Specified by:
er in interface CTLNode

aw

public CTLAWNode aw(CTLNode psi)
Specified by:
aw in interface CTLNode

ew

public CTLEWNode ew(CTLNode psi)
Specified by:
ew in interface CTLNode

eg

public CTLEGNode eg()
CTL operation - EG.

Specified by:
eg in interface CTLNode

eg

public CTLEGNode eg(CTLNode[] fairness)
Specified by:
eg in interface CTLNode

ag

public CTLAGNode ag()
CTL operation - AG.

Specified by:
ag in interface CTLNode

ag

public CTLAGNode ag(CTLNode[] fairness)
Specified by:
ag in interface CTLNode

eq

public CTLEqualsNode eq(CTLNode psi)
CTL operation - equals

Specified by:
eq in interface CTLNode

under

public CTLUnderNode under(CTLNode psi)
CTL operation - under

Specified by:
under in interface CTLNode

over

public CTLOverNode over(CTLNode psi)
CTL operation - over

Specified by:
over in interface CTLNode

equals

public boolean equals(java.lang.Object o)
Overrides the Object's equals method.

Overrides:
equals in class java.lang.Object

accept

public java.lang.Object accept(CTLVisitor v,
                               java.lang.Object stateinfo)
Specified by:
accept in interface CTLNode

objectHashCode

public int objectHashCode()

toString

public static java.lang.String toString(CTLNode node,
                                        boolean optBrackets)