public abstract class FolFormula extends RelationalFormula
| Constructor and Description |
|---|
FolFormula() |
| Modifier and Type | Method and Description |
|---|---|
abstract FolFormula |
clone() |
abstract RelationalFormula |
collapseAssociativeFormulas()
This method collapses all associative operations appearing
in this term, e.g.
|
Conjunction |
combineWithAnd(net.sf.tweety.logics.commons.syntax.interfaces.Conjuctable f) |
Disjunction |
combineWithOr(net.sf.tweety.logics.commons.syntax.interfaces.Disjunctable f) |
RelationalFormula |
complement() |
Set<net.sf.tweety.logics.commons.syntax.Variable> |
getQuantifierVariables() |
net.sf.tweety.math.probability.Probability |
getUniformProbability() |
abstract boolean |
isDnf()
Checks whether this formula is in disjunctive normal form.
|
abstract FolFormula |
substitute(net.sf.tweety.logics.commons.syntax.interfaces.Term<?> v,
net.sf.tweety.logics.commons.syntax.interfaces.Term<?> t)
Substitutes all occurrences of term "v" in this formula
by term "t" and returns the new formula.
|
FolFormula |
toDnf()
Makes a disjunctive normal form of this formula.
|
abstract FolFormula |
toNnf()
Makes the negation normal form of this formula.
|
allGroundInstances, allSubstitutions, containsTermsOfType, exchange, getAtoms, getFormula, getFunctors, getPredicateCls, getSatisfactionRatio, getSignature, isGround, isWellFormed, substitute, toStringequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitcontainsQuantifier, getUnboundVariables, isClosed, isClosed, isWellBound, isWellBoundpublic Conjunction combineWithAnd(net.sf.tweety.logics.commons.syntax.interfaces.Conjuctable f)
combineWithAnd in interface net.sf.tweety.logics.commons.syntax.interfaces.ConjuctablecombineWithAnd in class RelationalFormulapublic Disjunction combineWithOr(net.sf.tweety.logics.commons.syntax.interfaces.Disjunctable f)
combineWithOr in interface net.sf.tweety.logics.commons.syntax.interfaces.DisjunctablecombineWithOr in class RelationalFormulapublic RelationalFormula complement()
complement in interface net.sf.tweety.logics.commons.syntax.interfaces.Invertablecomplement in class RelationalFormulapublic Set<net.sf.tweety.logics.commons.syntax.Variable> getQuantifierVariables()
public FolFormula toDnf()
public abstract FolFormula toNnf()
public abstract RelationalFormula collapseAssociativeFormulas()
public net.sf.tweety.math.probability.Probability getUniformProbability()
getUniformProbability in interface net.sf.tweety.logics.commons.syntax.interfaces.ProbabilityAwaregetUniformProbability in class RelationalFormulapublic abstract boolean isDnf()
public abstract FolFormula substitute(net.sf.tweety.logics.commons.syntax.interfaces.Term<?> v, net.sf.tweety.logics.commons.syntax.interfaces.Term<?> t) throws IllegalArgumentException
RelationalFormulasubstitute in interface net.sf.tweety.logics.commons.syntax.interfaces.ComplexLogicalFormulasubstitute in class RelationalFormulav - the term to be substituted.t - the term to substitute.IllegalArgumentException - if "v" and "t" are of different sorts
(NOTE: this exception is only thrown when "v" actually appears in this
formula).public abstract FolFormula clone()
clone in interface net.sf.tweety.logics.commons.syntax.interfaces.ComplexLogicalFormulaclone in interface net.sf.tweety.logics.commons.syntax.interfaces.SimpleLogicalFormulaclone in class RelationalFormulaCopyright © 2016. All rights reserved.