public enum LearnedLitType extends Enum<LearnedLitType>
| Enum Constant and Description |
|---|
CONSTANT_PROP
An internal literal that can be made into a constant propagation for an
input term.
|
INPUT
A literal from the preprocessed set of input formulas that does not
occur at top-level after preprocessing.
|
INTERNAL
Any internal literal that does not fall into the above categories.
|
PREPROCESS
A top-level literal (unit clause) from the preprocessed set of input
formulas.
|
PREPROCESS_SOLVED
An equality that was turned into a substitution during preprocessing.
|
SOLVABLE
An internal literal that is solvable for an input variable.
|
UNKNOWN
Special case for when produce-learned-literals is not set.
|
| Modifier and Type | Method and Description |
|---|---|
static LearnedLitType |
fromInt(int value) |
int |
getValue() |
static LearnedLitType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static LearnedLitType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final LearnedLitType PREPROCESS_SOLVED
public static final LearnedLitType PREPROCESS
public static final LearnedLitType INPUT
public static final LearnedLitType SOLVABLE
public static final LearnedLitType CONSTANT_PROP
public static final LearnedLitType INTERNAL
public static final LearnedLitType UNKNOWN
public static LearnedLitType[] values()
for (LearnedLitType c : LearnedLitType.values()) System.out.println(c);
public static LearnedLitType valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic static LearnedLitType fromInt(int value) throws CVC5ApiException
CVC5ApiExceptionpublic int getValue()