Class QuantifiedFormulaSupport<T extends RelationalFormula>
java.lang.Object
org.tweetyproject.logics.commons.syntax.QuantifiedFormulaSupport<T>
- Type Parameters:
T- The type of the formulas which are quantified.
This class provides common functionalities for quantified formulas, i.e.
forall and exists quantified formulas.
- Author:
- Matthias Thimm, Anna Gessler
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleangetAtoms()Returns the folFormula this quantified formula ranges overReturns the variables of this quantified formula.getTerms()inthashCode()booleanisClosed()booleanbooleanisDnf()booleanbooleanbooleanisWellBound(Set<Variable> boundVariables) voidsetFormula(T formula) voidsetQuantifierVariables(Set<Variable> variables)
-
Constructor Details
-
QuantifiedFormulaSupport
-
-
Method Details
-
getFormula
Returns the folFormula this quantified formula ranges over- Returns:
- the folFormula this quantified formula ranges over
-
getQuantifierVariables
Returns the variables of this quantified formula.- Returns:
- the variables of this quantified formula.
-
setFormula
-
setQuantifierVariables
-
isClosed
public boolean isClosed() -
isClosed
-
containsQuantifier
public boolean containsQuantifier() -
isWellBound
public boolean isWellBound() -
isWellBound
-
getPredicates
-
getFunctors
-
getAtoms
-
getUnboundVariables
-
isDnf
public boolean isDnf() -
isLiteral
public boolean isLiteral() -
getTerms
-
getTerms
-
hashCode
public int hashCode()
-