|
|||||||||
| 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.Atom
Raptor.LogicParser.Formula.True
public class True
The Top formula.
Extends abstract class Formula.
| Constructor Summary | |
|---|---|
True()
Constructs a Top Formula. |
|
| Method Summary | |
|---|---|
boolean |
checkSub(Term pTermX,
Term pTermY,
Formula pFormula)
Returns true if the passed formula f can be reached by substituting th eoccurrences of Term x by Term y in this Formula. |
java.lang.String |
clashes(PanSignature pSignature)
Returns an Empty String "" as a top formula never clashes with a signature. |
java.lang.String |
display()
Returns the a String to display the Implies formula. |
Formula |
regenerate()
Returns a copy of the Formula which can be saved as part of the copy made for the undo function. |
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. |
| Methods inherited from class Raptor.LogicParser.Formula.Atom |
|---|
addToSignature, clashes, clashes, equals, getArity, getName, getPrecedence, getTerms, isIn, s, setAtoms, setVars, ST, subAll, subBoolRes |
| 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 True()
| Method Detail |
|---|
public java.lang.String display()
display in class Atom
public boolean checkSub(Term pTermX,
Term pTermY,
Formula pFormula)
checkSub in class AtompTermX - Term represents the Term to be substituted.pTermY - Term represents the Term to substitute Term x.pFormula - Formula represents the Formula to check if it can be reached
after substitution.
public Formula subAll(Term pTermX,
Term pTermY)
subAll in class AtompTermX - Term represents the Term to be substituted.pTermY - Term represents the Term to substitute Term x.public java.lang.String clashes(PanSignature pSignature)
clashes in class AtompSignature - PanSignature represents the PanSignature to be checked if this
Formula clashes with.public Formula regenerate()
regenerate in class Atom
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||