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, unifyPrefixpublic 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)
QBFConsumer to the underlying concrete type.accept in class QBFt - Consumer accepting the boolean constant truef - Consumer accepting the boolean constant falsevar - Consumer accepting variablesnot - Consumer accepting negationsand - Consumer accepting conjunctionsor - Consumer accepting disjunctionsforall - Consumer accepting universal quantifiersexists - Consumer accepting existential quantifierspublic <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)
QBFFunction to the underlying concrete type.apply in class QBFT - return typet - Function accepting the boolean constant truef - Function accepting the boolean constant falsevar - Function accepting variablesnot - Function accepting negationsand - Function accepting conjunctionsor - Function accepting disjunctionsforall - Function accepting universal quantifiersexists - Function accepting existential quantifiersFunction application