public interface DLPElement extends ComplexLogicalFormula
| Modifier and Type | Method and Description |
|---|---|
DLPElement |
clone()
Creates a deep copy of this formula
|
java.util.Set<DLPAtom> |
getAtoms()
Processes the set of all atoms which appear in this formula
|
java.util.SortedSet<DLPLiteral> |
getLiterals() |
java.util.Set<DLPPredicate> |
getPredicates()
Processes the set of all predicates which appear in this
formula
|
FolSignature |
getSignature()
Returns the signature of the language of this formula.
|
DLPElement |
substitute(Term<?> t,
Term<?> v)
Substitutes all occurrences of term "v" in this formula
by term "t" and returns the new formula.
|
exchange, isGround, isWellFormed, substituteequals, getPredicateCls, hashCode, isLiteralcontainsTermsOfType, getTerms, getTermsjava.util.SortedSet<DLPLiteral> getLiterals()
java.util.Set<DLPPredicate> getPredicates()
SimpleLogicalFormulagetPredicates in interface SimpleLogicalFormulajava.util.Set<DLPAtom> getAtoms()
SimpleLogicalFormulagetAtoms in interface SimpleLogicalFormulaDLPElement substitute(Term<?> t, Term<?> v)
ComplexLogicalFormulasubstitute in interface ComplexLogicalFormulat - the term to be substituted.v - the term to substitute.FolSignature getSignature()
FormulagetSignature in interface FormulaDLPElement clone()
SimpleLogicalFormulaclone in interface ComplexLogicalFormulaclone in interface SimpleLogicalFormula