|
||||||||||
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.BinaryJunctor de.uni_tuebingen.sfb.lichtenstein.formulas.Implication
public final class Implication
A class representing the implication of formulas.
Constructor Summary | |
---|---|
Implication(Formula antecedent,
Formula consequent)
Initialize a new implication, given an antecedent and a consequent |
Method Summary | |
---|---|
void |
accept(FormulaVisitor visitor)
Accept a formula visitor. |
Formula |
getAntecedent()
Return the antecedent of this implication. |
Formula |
getConsequent()
Return the consequent of this implication. |
Disjunction |
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 Implication(Formula antecedent, Formula consequent)
antecedent
- The antecedent, i.e. the formula that implies.consequent
- The consequent, i.e. the implied formula.Method Detail |
---|
public Formula getAntecedent()
public Formula getConsequent()
public Disjunction 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 |