public static final class QBF.Variable extends QBF.Terminal
QBF.And, QBF.Exists, QBF.False, QBF.ForAll, QBF.MultiaryOperator, QBF.Not, QBF.Or, QBF.Quantifier, QBF.Terminal, QBF.Traverse, QBF.True, QBF.UnaryOperator, QBF.Variable
Modifier and Type | Field and Description |
---|---|
String |
name |
False, isAnd, isCNF, isConstant, isExists, isForAll, isLiteral, isNegation, isOr, isQuantifier, isVariable, True
Modifier and Type | Method and Description |
---|---|
void |
accept(Consumer<QBF.True> t,
Consumer<QBF.False> f,
Consumer<QBF.Variable> var,
Consumer<QBF.Not> not,
Consumer<QBF.And> and,
Consumer<QBF.Or> or,
Consumer<QBF.ForAll> forall,
Consumer<QBF.Exists> exists)
Applies a given
Consumer to the underlying concrete type. |
<T> T |
apply(Function<QBF.True,T> t,
Function<QBF.False,T> f,
Function<QBF.Variable,T> var,
Function<QBF.Not,T> not,
Function<QBF.And,T> and,
Function<QBF.Or,T> or,
Function<QBF.ForAll,T> forall,
Function<QBF.Exists,T> exists)
Applies a given
Function to the underlying concrete type. |
accept, apply, cleanse, equals, getCriticalPaths, getQPaths, getSkeleton, hash, hashCode, isAnd, isCNF, isConstant, isExists, isForAll, isLiteral, isNegation, isOr, isQuantifier, isVariable, negate, prefixToString, quantifierToString, rename, stream, streamBoundVariables, streamFreeVariables, streamPrefix, streamQPaths, streamVariables, toNNF, toPCNF, toPNF, toString, unifyPrefix
public final String name
public Variable(String name)
public void accept(Consumer<QBF.True> t, Consumer<QBF.False> f, Consumer<QBF.Variable> var, Consumer<QBF.Not> not, Consumer<QBF.And> and, Consumer<QBF.Or> or, Consumer<QBF.ForAll> forall, Consumer<QBF.Exists> exists)
QBF
Consumer
to the underlying concrete type.accept
in class QBF
t
- Consumer
accepting the boolean constant true
f
- Consumer
accepting the boolean constant false
var
- Consumer
accepting variables
not
- Consumer
accepting negations
and
- Consumer
accepting conjunctions
or
- Consumer
accepting disjunctions
forall
- Consumer
accepting universal quantifiers
exists
- Consumer
accepting existential quantifiers
public <T> T apply(Function<QBF.True,T> t, Function<QBF.False,T> f, Function<QBF.Variable,T> var, Function<QBF.Not,T> not, Function<QBF.And,T> and, Function<QBF.Or,T> or, Function<QBF.ForAll,T> forall, Function<QBF.Exists,T> exists)
QBF
Function
to the underlying concrete type.apply
in class QBF
T
- return typet
- Function
accepting the boolean constant true
f
- Function
accepting the boolean constant false
var
- Function
accepting variables
not
- Function
accepting negations
and
- Function
accepting conjunctions
or
- Function
accepting disjunctions
forall
- Function
accepting universal quantifiers
exists
- Function
accepting existential quantifiers
Function
application