|
|||||||||
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.EqualTo
public class EqualTo
Creates an equals to expression.
Extends BExp.
Field Summary |
---|
Fields inherited from class Raptor.LogicParser.Formula.BExp.BExp |
---|
left, op, right |
Constructor Summary | |
---|---|
EqualTo(Term pLeft,
Term pRight)
Constructs a new EqualTo BExp. |
Method Summary | |
---|---|
java.lang.String |
display()
Returns a String to display the equals to 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 EqualTo(Term pLeft, Term pRight)
pLeft
- the term on the left side of the equivalence symbolpRight
- the term on the right side of the equivalence 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 |