|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object de.uni_tuebingen.sfb.lichtenstein.formulas.FormulaImpl de.uni_tuebingen.sfb.lichtenstein.formulas.ComposedFormula de.uni_tuebingen.sfb.lichtenstein.formulas.FirstOrderQuantor de.uni_tuebingen.sfb.lichtenstein.formulas.FirstOrderUniversalQuantification
public class FirstOrderUniversalQuantification
A class representing universal quantification of a formula over a first order variable.
Constructor Summary | |
---|---|
FirstOrderUniversalQuantification(FirstOrderVariable var,
Formula arg)
Initialize a new universal quantor, given a variable to bind and a formula to act upon. |
Method Summary | |
---|---|
void |
accept(FormulaVisitor visitor)
Accept a formula visitor. |
Formula |
getNormalForm()
Get a normal form with only conjunction, disjunction, negation and existential quantification. |
String |
getSymbol()
Return the textual representation of this binary junctor. |
Methods inherited from class de.uni_tuebingen.sfb.lichtenstein.formulas.FirstOrderQuantor |
---|
containsVariable, equals, getArgument, getBoundVariable, getFirstIndexOf, getNbBoundVariables, getNbFreeVariables, getNbSubformulas, getNbVariables, getPredicates, getSubformulaAt, getVariableAt, hashCode, isFreeVariable, toString |
Methods inherited from class de.uni_tuebingen.sfb.lichtenstein.formulas.ComposedFormula |
---|
getAllSubformulas |
Methods inherited from class de.uni_tuebingen.sfb.lichtenstein.formulas.FormulaImpl |
---|
and, exists, exists, forAll, forAll, getFreeVariables, getVariables, iff, implies, isClosed, not, or |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Methods inherited from interface de.uni_tuebingen.sfb.lichtenstein.formulas.Formula |
---|
and, exists, exists, forAll, forAll, getFreeVariables, getVariables, iff, implies, isClosed, not, or |
Constructor Detail |
---|
public FirstOrderUniversalQuantification(FirstOrderVariable var, Formula arg)
var
- The variable that is bound by this quantor.arg
- The formula which this quantor acts upon.|
var != null && arg != null && arg.isFreeVariable(var)
| new.getBoundVariable() == var
| new.getArgument() == arg
Method Detail |
---|
public Formula getNormalForm()
| result ==
getArgument().getNormalForm().not().exists(getBoundVariable()).not()
public String getSymbol()
getSymbol
in class ComposedFormula
| result == "∀"
public void accept(FormulaVisitor visitor) throws de.uni_tuebingen.sfb.lichtenstein.exceptions.VisitorException
accept
in interface Visitable
accept
in class FormulaImpl
visitor
- The visitor that is to be accepted to do its work.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |