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 TypeMethodDescriptionboolean
getAtoms()
Returns the folFormula this quantified formula ranges overReturns the variables of this quantified formula.getTerms()
int
hashCode()
boolean
isClosed()
boolean
boolean
isDnf()
boolean
boolean
boolean
isWellBound
(Set<Variable> boundVariables) void
setFormula
(T formula) void
setQuantifierVariables
(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()
-