Class VariableNode<L,AP>
- java.lang.Object
-
- net.automatalib.common.util.string.AbstractPrintable
-
- net.automatalib.modelchecker.m3c.formula.AbstractFormulaNode<L,AP>
-
- net.automatalib.modelchecker.m3c.formula.modalmu.VariableNode<L,AP>
-
- Type Parameters:
L- label typeAP- atomic proposition type
- All Implemented Interfaces:
Printable,FormulaNode<L,AP>
public class VariableNode<L,AP> extends AbstractFormulaNode<L,AP>
Java representation of an "X" (sub-)formula.
-
-
Constructor Summary
Constructors Constructor Description VariableNode(String variable)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description <T> Taccept(FormulaNodeVisitor<T,L,AP> visitor)booleanequals(@Nullable Object o)StringgetVariable()inthashCode()voidprint(Appendable a)Outputs the current object.-
Methods inherited from class net.automatalib.modelchecker.m3c.formula.AbstractFormulaNode
getVarNumber, setVarNumber
-
Methods inherited from class net.automatalib.common.util.string.AbstractPrintable
toString
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface net.automatalib.modelchecker.m3c.formula.FormulaNode
toNNF
-
-
-
-
Constructor Detail
-
VariableNode
public VariableNode(String variable)
-
-
Method Detail
-
getVariable
public String getVariable()
-
print
public void print(Appendable a) throws IOException
Description copied from interface:PrintableOutputs the current object.- Parameters:
a- the appendable.- Throws:
IOException- if an error occurs during appending.
-
accept
public <T> T accept(FormulaNodeVisitor<T,L,AP> visitor)
-
hashCode
public int hashCode()
- Overrides:
hashCodein classAbstractFormulaNode<L,AP>
-
-