|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.ObjectPandora.LogicParser.Formula.Formula
Pandora.LogicParser.Formula.Atom
Pandora.LogicParser.Formula.Sk
public class Sk
The Atom formula.
Extends abstract class Formula.
| Constructor Summary | |
|---|---|
Sk(java.lang.String id)
Constructs an Atom Formula. |
|
| Method Summary | |
|---|---|
java.lang.String |
clashes(PanSignature signature)
Returns a String containing an Error character if this Atom clashes with the passed PanSignature, Otherwise it will return an Empty String "" An Atom clashes with a signature if it clashes with any of its Predicates/Functions/Constants/Variables |
java.lang.String |
getName()
Returns the name of the atom. |
void |
setAtoms()
Adds the list of Atoms in a given tree to the list of Atoms. |
| Methods inherited from class Pandora.LogicParser.Formula.Atom |
|---|
addToSignature, checkSub, clashes, clashes, display, equals, getArity, getPrecedence, getTerms, isIn, regenerate, s, setVars, subAll |
| Methods inherited from class Pandora.LogicParser.Formula.Formula |
|---|
check, concatNoDup, getAtoms, getLeft, getRight, getTuples, getVars, higher, isBracketed, map, setLeft, setRight, setTuples, showTuples, sub |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Sk(java.lang.String id)
id - String of the name fo the atom| Method Detail |
|---|
public java.lang.String getName()
getName in class Atompublic void setAtoms()
setAtoms in class Atompublic java.lang.String clashes(PanSignature signature)
clashes in class Atomsignature - PanSignature represents the PanSignature to be checked if this Atom clashes with.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||