org.openqed.struct.formula
Class NullaryFormula
java.lang.Object
org.openqed.struct.formula.FormulaNode
org.openqed.struct.formula.Formula
org.openqed.struct.formula.RootFormula
org.openqed.struct.formula.FofFormula
org.openqed.struct.formula.AtomicFormula
org.openqed.struct.formula.NullaryFormula
- All Implemented Interfaces:
- java.lang.Iterable<FormulaNode>
public class NullaryFormula
- extends AtomicFormula
| Methods inherited from class java.lang.Object |
getClass, notify, notifyAll, wait, wait, wait |
NullaryFormula
public NullaryFormula(NullaryOperator nullaryOperator)
equals
public boolean equals(java.lang.Object object)
- Overrides:
equals in class FormulaNode
hashCode
public int hashCode()
- Overrides:
hashCode in class FormulaNode
toString
public java.lang.String toString()
- Specified by:
toString in class FormulaNode
getChildCount
public final int getChildCount()
- Specified by:
getChildCount in class FormulaNode
getChild
public final FormulaNode getChild(int childIndex)
- Specified by:
getChild in class FormulaNode
getFormulaNodeType
public FormulaNode.FormulaNodeType getFormulaNodeType()
- Specified by:
getFormulaNodeType in class FormulaNode
visit
public final void visit(FormulaNodeVisitor v)
- Specified by:
visit in class FormulaNode
visit
public final <A> void visit(FormulaNodeVisitorArg<A> v,
A a)
- Specified by:
visit in class FormulaNode
visit
public final <R> R visit(FormulaNodeVisitorRet<R> v)
- Specified by:
visit in class FormulaNode
visit
public final <R,A> R visit(FormulaNodeVisitorRetArg<R,A> v,
A a)
- Specified by:
visit in class FormulaNode
getOperator
public NullaryOperator getOperator()
getOperatorName
public java.lang.String getOperatorName()
isContradiction
public boolean isContradiction()
isTautology
public boolean isTautology()