Package org.smtlib

Enum Class AbstractSolver.Shape

java.lang.Object
java.lang.Enum<AbstractSolver.Shape>
org.smtlib.AbstractSolver.Shape
All Implemented Interfaces:
Serializable, Comparable<AbstractSolver.Shape>, Constable
Enclosing class:
AbstractSolver

protected static enum AbstractSolver.Shape extends Enum<AbstractSolver.Shape>
The kinds of response a command has besides an error or unsupported (#149)
  • Enum Constant Details

    • SUCCESS

      public static final AbstractSolver.Shape SUCCESS
      success
    • CHECK_SAT

      public static final AbstractSolver.Shape CHECK_SAT
      sat, unsat, unknown (or timeout, memout, incomplete): check-sat and check-sat-assuming
    • VALUE

      public static final AbstractSolver.Shape VALUE
      a value other than a bare symbol: the get- commands but get-option
    • ANY

      public static final AbstractSolver.Shape 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

      public static AbstractSolver.Shape[] 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

      public static AbstractSolver.Shape valueOf(String name)
      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 name
      NullPointerException - if the argument is null