Package org.smtlib
Enum Class AbstractSolver.Shape
- All Implemented Interfaces:
Serializable,Comparable<AbstractSolver.Shape>,Constable
- Enclosing class:
AbstractSolver
The kinds of response a command has besides an error or unsupported (#149)
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionany non-empty value, including a bare symbol: get-option's value, and echo's text, which some solvers write unquoted (their adapters answer a user's echo themselves)sat, unsat, unknown (or timeout, memout, incomplete): check-sat and check-sat-assumingsuccessa value other than a bare symbol: the get- commands but get-option -
Method Summary
Modifier and TypeMethodDescriptionstatic AbstractSolver.ShapeReturns the enum constant of this class with the specified name.static AbstractSolver.Shape[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
SUCCESS
success -
CHECK_SAT
sat, unsat, unknown (or timeout, memout, incomplete): check-sat and check-sat-assuming -
VALUE
a value other than a bare symbol: the get- commands but get-option -
ANY
any non-empty value, including a bare symbol: get-option's value, and echo's text, which some solvers write unquoted (their adapters answer a user's echo themselves)
-
-
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
-