public abstract class QuantifiedFormula extends FolFormula
| Constructor and Description |
|---|
QuantifiedFormula(FolFormula folFormula,
net.sf.tweety.logics.commons.syntax.Variable variable)
Creates a new quantified folFormula with the given folFormula and variable.
|
QuantifiedFormula(RelationalFormula folFormula,
Set<net.sf.tweety.logics.commons.syntax.Variable> variables)
Creates a new quantified folFormula with the given folFormula and variables.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
containsQuantifier() |
boolean |
equals(Object obj) |
Set<FOLAtom> |
getAtoms() |
FolFormula |
getFormula()
Returns the folFormula this quantified folFormula ranges over
|
Set<net.sf.tweety.logics.commons.syntax.Functor> |
getFunctors() |
Set<? extends net.sf.tweety.logics.commons.syntax.Predicate> |
getPredicates() |
Set<QuantifiedFormula> |
getQuantifiedFormulas() |
Set<net.sf.tweety.logics.commons.syntax.Variable> |
getQuantifierVariables()
Returns the variables of this quantified folFormula.
|
Set<net.sf.tweety.logics.commons.syntax.interfaces.Term<?>> |
getTerms() |
<C extends net.sf.tweety.logics.commons.syntax.interfaces.Term<?>> |
getTerms(Class<C> cls) |
Set<net.sf.tweety.logics.commons.syntax.Variable> |
getUnboundVariables() |
int |
hashCode() |
boolean |
isClosed() |
boolean |
isClosed(Set<net.sf.tweety.logics.commons.syntax.Variable> boundVariables) |
boolean |
isDnf()
Checks whether this formula is in disjunctive normal form.
|
boolean |
isLiteral() |
boolean |
isWellBound() |
boolean |
isWellBound(Set<net.sf.tweety.logics.commons.syntax.Variable> boundVariables) |
clone, collapseAssociativeFormulas, combineWithAnd, combineWithOr, complement, getUniformProbability, substitute, toDnf, toNnfallGroundInstances, allSubstitutions, containsTermsOfType, exchange, getPredicateCls, getSatisfactionRatio, getSignature, isGround, isWellFormed, substitute, toStringpublic QuantifiedFormula(RelationalFormula folFormula, Set<net.sf.tweety.logics.commons.syntax.Variable> variables)
folFormula - the folFormula this quantified folFormula ranges over.variables - the variables of this quantified folFormula.public QuantifiedFormula(FolFormula folFormula, net.sf.tweety.logics.commons.syntax.Variable variable)
folFormula - the folFormula this quantified folFormula ranges over.variable - the variable of this quantified folFormula.public boolean isClosed()
public boolean isClosed(Set<net.sf.tweety.logics.commons.syntax.Variable> boundVariables)
public boolean containsQuantifier()
public boolean isWellBound()
public boolean isWellBound(Set<net.sf.tweety.logics.commons.syntax.Variable> boundVariables)
public Set<? extends net.sf.tweety.logics.commons.syntax.Predicate> getPredicates()
public Set<net.sf.tweety.logics.commons.syntax.Functor> getFunctors()
getFunctors in class RelationalFormulapublic Set<FOLAtom> getAtoms()
getAtoms in interface net.sf.tweety.logics.commons.syntax.interfaces.SimpleLogicalFormulagetAtoms in class RelationalFormulapublic Set<net.sf.tweety.logics.commons.syntax.Variable> getUnboundVariables()
public FolFormula getFormula()
getFormula in interface net.sf.tweety.logics.commons.syntax.interfaces.QuantifiedFormulagetFormula in class RelationalFormulapublic Set<net.sf.tweety.logics.commons.syntax.Variable> getQuantifierVariables()
getQuantifierVariables in interface net.sf.tweety.logics.commons.syntax.interfaces.QuantifiedFormulagetQuantifierVariables in class FolFormulapublic Set<QuantifiedFormula> getQuantifiedFormulas()
public boolean isDnf()
FolFormulaisDnf in class FolFormulapublic boolean isLiteral()
public Set<net.sf.tweety.logics.commons.syntax.interfaces.Term<?>> getTerms()
public <C extends net.sf.tweety.logics.commons.syntax.interfaces.Term<?>> Set<C> getTerms(Class<C> cls)
public int hashCode()
Copyright © 2016. All rights reserved.