public interface DLPLiteral extends DLPElement, Atom, Invertable, java.lang.Comparable<DLPLiteral>
Atom.AtomImpl, Atom.RETURN_SET_PREDICATE| Modifier and Type | Method and Description |
|---|---|
DLPLiteral |
cloneWithAddedTerm(Term<?> term)
Creates a copy of the literal and adds the
given term as argument to the end of the argument
list.
|
DLPLiteral |
complement() |
DLPAtom |
getAtom() |
DLPLiteral |
substitute(Term<?> v,
Term<?> t)
Substitutes all occurrences of term "v" in this formula
by term "t" and returns the new formula.
|
clone, getAtoms, getLiterals, getPredicates, getSignatureexchange, isGround, isWellFormed, substituteequals, getPredicateCls, hashCode, isLiteralcontainsTermsOfType, getTerms, getTermsaddArgument, getArguments, getName, getPredicate, isComplete, setPredicateDLPLiteral cloneWithAddedTerm(Term<?> term)
term - the new argument.DLPAtom getAtom()
DLPLiteral complement()
complement in interface InvertableDLPLiteral substitute(Term<?> v, Term<?> t) throws java.lang.IllegalArgumentException
ComplexLogicalFormulasubstitute in interface ComplexLogicalFormulasubstitute in interface DLPElementv - the term to be substituted.t - the term to substitute.java.lang.IllegalArgumentException - if "v" and "t" are of different sorts