public final class BooleanVariable extends BooleanFormula
op = Operator.VARno inputs && label in [1, ..., Integer.MAX_VALUE)| Modifier and Type | Method and Description |
|---|---|
<T,A> T |
accept(BooleanVisitor<T,A> visitor,
A arg)
Passes this value and the given
argument value to the visitor, and returns the resulting value.
|
int |
hashCode()
Returns a hashcode for this variable.
|
BooleanFormula |
input(int i)
Throws an IndexOutOfBoundsException.
|
Iterator<BooleanFormula> |
iterator()
Returns an empty iterator.
|
int |
label()
Returns the label for this value.
|
Operator |
op()
Returns the VAR operator.
|
int |
size()
Returns 0.
|
String |
toString()
Returns a string representation of this variable.
|
compareToforEach, spliteratorpublic <T,A> T accept(BooleanVisitor<T,A> visitor, A arg)
accept in class BooleanFormulapublic int hashCode()
public BooleanFormula input(int i)
input in class BooleanFormula0 <= i < sizeIndexOutOfBoundsExceptionpublic Iterator<BooleanFormula> iterator()
iterator in interface Iterable<BooleanFormula>iterator in class BooleanFormulapublic int label()
label in class BooleanValuepublic Operator op()
op in class BooleanValuepublic int size()
size in class BooleanFormula
© Emina Torlak 2005-present