|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object formulaVisited.Disjunction
public class Disjunction
The disjunction ("and") of two subformulas. A disjunction is true if either or both subformulas are true, and false if both subformulas are false.
Constructor Summary | |
---|---|
Disjunction(Formula _left,
Formula _right)
Constructs the disjunction of two subformulas. |
Method Summary | |
---|---|
java.lang.Object |
accept(Visitor _v)
Accepts a visitor. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Disjunction(Formula _left, Formula _right)
_left
- The first subformula._right
- The second subformula.Method Detail |
---|
public java.lang.Object accept(Visitor _v)
Formula
{ return _v.visit(this); }
,
and the compiler identifies the right Visitor
method
based on the subclass (which is the type of this
).
accept
in interface Formula
_v
- The visitor.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |