|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectde.uni_tuebingen.sfb.lichtenstein.formulas.FormulaImpl
de.uni_tuebingen.sfb.lichtenstein.formulas.ComposedFormula
de.uni_tuebingen.sfb.lichtenstein.formulas.UnaryJunctor
de.uni_tuebingen.sfb.lichtenstein.formulas.Negation
public final class Negation
A class representing logical negation of a formula.
| Constructor Summary | |
|---|---|
Negation(Formula negatedFormula)
Initialize a new negation, given the formula to be negated. |
|
| Method Summary | |
|---|---|
void |
accept(FormulaVisitor visitor)
Accept a formula visitor. |
Formula |
getNegatedFormula()
Returns the negated formula. |
Formula |
getNormalForm()
Get a normal form with only conjunction, disjunction, negation and existential quantification. |
String |
getSymbol()
Return the textual representation of this unary junctor. |
Formula |
not()
The negation of a negation is the formula itself. |
| Methods inherited from class de.uni_tuebingen.sfb.lichtenstein.formulas.UnaryJunctor |
|---|
computePredicates, computeVariables, containsVariable, equals, getArgument, getNbSubformulas, getSubformulaAt, hashCode, isFree, 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, getPredicates, getVariables, iff, implies, isClosed, or |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public Negation(Formula negatedFormula)
negatedFormula - The formula to be negated.| Method Detail |
|---|
public Formula not()
not in interface Formulanot in class FormulaImplpublic Formula getNegatedFormula()
public Formula getNormalForm()
public String getSymbol()
getSymbol in class ComposedFormula
public void accept(FormulaVisitor visitor)
throws VisitorException
visitor - The visitor that is to be accepted to do its work.
VisitorException - [CAN] A visitor can throw an exception.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||