|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.ObjectRaptor.LogicParser.Formula.Formula
Raptor.LogicParser.Formula.BExp.BExp
Raptor.LogicParser.Formula.BExp.GTE
public class GTE
Creates a greater than or equal to expression.
Extends BExp.
Field Summary |
---|
Fields inherited from class Raptor.LogicParser.Formula.BExp.BExp |
---|
left, op, right |
Constructor Summary | |
---|---|
GTE(Term pLeft,
Term pRight)
Constructs a new GreaterThanOrEqual BExp. |
Method Summary | |
---|---|
java.lang.String |
display()
Returns a String to display the greater than expression. |
Formula |
regenerate()
Returns a copy of the Formula which can be saved as part of the copy made for the undo function. |
Formula |
s()
Creates VVar to replace PVar in the formula where necessary. |
Term |
ST()
|
Formula |
subAll(PTerm left,
PTerm right)
|
Formula |
subAll(Term pTermX,
Term pTermY)
Returns the Formula that is derived after substituting ALL the occurrences of Term x with Term y in this Formula. |
Formula |
subBoolRes(java.lang.String display)
|
Methods inherited from class Raptor.LogicParser.Formula.BExp.BExp |
---|
addToSignature, checkSub, clashes, getLeftTerm, getPrecedence, getRightTerm, getTerms, setAtoms, setVars |
Methods inherited from class Raptor.LogicParser.Formula.Formula |
---|
check, concatNoDup, getAtoms, getLeft, getRight, getTuples, getVars, higher, map, setLeft, setRight, setTuples, showTuples, sub, subBool |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public GTE(Term pLeft, Term pRight)
pLeft
- the program term on the left side of the greater than symbolpRight
- the program term on the right side of the greater than symbolMethod Detail |
---|
public java.lang.String display()
display
in class BExp
public Formula s()
s
in class Formula
public Formula regenerate()
regenerate
in class Formula
public Formula subAll(Term pTermX, Term pTermY)
subAll
in class Formula
pTermX
- Term represents the Term to be substituted.pTermY
- Term represents the Term to substitute Term x.public Term ST()
ST
in class Formula
public Formula subAll(PTerm left, PTerm right)
subAll
in class Formula
public Formula subBoolRes(java.lang.String display)
subBoolRes
in class Formula
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |