public class Conjunction extends AssociativeFOLFormula
support| Constructor and Description |
|---|
Conjunction()
Creates a new (empty) conjunction.
|
Conjunction(Collection<? extends net.sf.tweety.logics.commons.syntax.RelationalFormula> formulas)
Creates a new conjunction with the given inner formulas.
|
Conjunction(net.sf.tweety.logics.commons.syntax.RelationalFormula first,
net.sf.tweety.logics.commons.syntax.RelationalFormula second)
Creates a new conjunction with the two given formulae
|
| Modifier and Type | Method and Description |
|---|---|
Conjunction |
clone() |
net.sf.tweety.logics.commons.syntax.RelationalFormula |
collapseAssociativeFormulas()
This method collapses all associative operations appearing
in this term, e.g.
|
Conjunction |
createEmptyFormula() |
String |
getEmptySymbol() |
String |
getOperatorSymbol() |
boolean |
isDnf()
Checks whether this formula is in disjunctive normal form.
|
Conjunction |
substitute(net.sf.tweety.logics.commons.syntax.interfaces.Term<?> v,
net.sf.tweety.logics.commons.syntax.interfaces.Term<?> t) |
FolFormula |
toNnf()
Makes the negation normal form of this formula.
|
add, add, addAll, addAll, clear, contains, containsAll, containsQuantifier, createEmptySignature, equals, get, getAtoms, getFormulas, getFormulas, getFunctors, getPredicates, getQuantifierVariables, getTerms, getTerms, getUnboundVariables, hashCode, indexOf, isClosed, isClosed, isEmpty, isLiteral, isWellBound, isWellBound, iterator, lastIndexOf, listIterator, listIterator, remove, remove, removeAll, retainAll, set, size, subList, substitute, toArray, toArray, toStringcombineWithAnd, combineWithOr, complement, getSignature, getUniformProbability, toDnfallGroundInstances, allSubstitutions, containsTermsOfType, exchange, getFormula, getPredicateCls, getSatisfactionRatio, isGround, isWellFormedfinalize, getClass, notify, notifyAll, wait, wait, waitgetPredicateClsreplaceAll, sort, spliteratorparallelStream, removeIf, streampublic Conjunction(Collection<? extends net.sf.tweety.logics.commons.syntax.RelationalFormula> formulas)
formulas - a collection of formulas.public Conjunction()
public Conjunction(net.sf.tweety.logics.commons.syntax.RelationalFormula first,
net.sf.tweety.logics.commons.syntax.RelationalFormula second)
first - a relational formula.second - a relational formula.public boolean isDnf()
FolFormulaisDnf in class FolFormulapublic Conjunction substitute(net.sf.tweety.logics.commons.syntax.interfaces.Term<?> v, net.sf.tweety.logics.commons.syntax.interfaces.Term<?> t) throws IllegalArgumentException
substitute in interface net.sf.tweety.logics.commons.syntax.interfaces.ComplexLogicalFormulasubstitute in class AssociativeFOLFormulaIllegalArgumentExceptionpublic FolFormula toNnf()
FolFormulatoNnf in class FolFormulapublic net.sf.tweety.logics.commons.syntax.RelationalFormula collapseAssociativeFormulas()
FolFormulacollapseAssociativeFormulas in class FolFormulapublic Conjunction clone()
clone in interface net.sf.tweety.logics.commons.syntax.interfaces.ComplexLogicalFormulaclone in interface net.sf.tweety.logics.commons.syntax.interfaces.SimpleLogicalFormulaclone in class FolFormulapublic Conjunction createEmptyFormula()
public String getOperatorSymbol()
public String getEmptySymbol()
Copyright © 2018. All rights reserved.