|
||||||||||
| 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.BinaryJunctor
de.uni_tuebingen.sfb.lichtenstein.formulas.Equivalence
public final class Equivalence
A class representing the equivalence in logical formulas. TODO: remove this class once the template system works. Then store it as a permanent template?
| Constructor Summary | |
|---|---|
Equivalence(Formula first,
Formula second)
Initialize a new equivalence between two formulas. |
|
| Method Summary | |
|---|---|
void |
accept(FormulaVisitor visitor)
Accept a formula visitor. |
Conjunction |
getEquivalentFormula()
Returns a formula which is equivalent to this equivalence: (first -> second) & (second -> first). |
Conjunction |
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.BinaryJunctor |
|---|
computePredicates, computeVariables, containsVariable, equals, getFirstArgument, getNbSubformulas, getSecondArgument, 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, not, or |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public Equivalence(Formula first,
Formula second)
first - The first formula.second - The second formula.| Method Detail |
|---|
public Conjunction getEquivalentFormula()
(first -> second) & (second -> first).
public Conjunction 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 | |||||||||