Package org.sosy_lab.java_smt.basicimpl
Enum Class AbstractFormulaManager.SMTLIB2ProgramState
java.lang.Object
java.lang.Enum<AbstractFormulaManager.SMTLIB2ProgramState>
org.sosy_lab.java_smt.basicimpl.AbstractFormulaManager.SMTLIB2ProgramState
- All Implemented Interfaces:
Serializable,Comparable<AbstractFormulaManager.SMTLIB2ProgramState>,Constable
- Enclosing class:
- AbstractFormulaManager<TFormulaInfo,
TType, TEnv, TFuncDecl>
public static enum AbstractFormulaManager.SMTLIB2ProgramState
extends Enum<AbstractFormulaManager.SMTLIB2ProgramState>
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionMode entered after the initial setup is done by executing the 'set-logic' command.State after 'exit' has been called.Joined alternative to SAT_MODE and UNSAT_MODE.Mode entered after SAT has been returned after calling 'check-set'.Initial state.Mode entered after UNSAT has been returned after calling 'check-set'. -
Method Summary
Modifier and TypeMethodDescriptionReturns the enum constant of this class with the specified name.values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
START_MODE
Initial state. Can be re-entered using the 'reset' command. -
ASSERT_MODE
Mode entered after the initial setup is done by executing the 'set-logic' command. In this state, formulas can be defined/asserted etc. -
SAT_MODE
Mode entered after SAT has been returned after calling 'check-set'. -
UNSAT_MODE
Mode entered after UNSAT has been returned after calling 'check-set'. -
RESULT_MODE
Joined alternative to SAT_MODE and UNSAT_MODE. Used if we don't solve, i.e. don't know whether we are in a SAT/UNSAT state after 'check-sat'. -
EXITED_STATE
State after 'exit' has been called. No operations are possible anymore and everything ends in an error.
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum class has no constant with the specified nameNullPointerException- if the argument is null
-