kodkod.engine
Enum Solution.Outcome

java.lang.Object
  extended by java.lang.Enum<Solution.Outcome>
      extended by kodkod.engine.Solution.Outcome
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<Solution.Outcome>
Enclosing class:
Solution

public static enum Solution.Outcome
extends java.lang.Enum<Solution.Outcome>

Enumerates the possible outcomes of an attempt to find a model for a FOL formula.


Enum Constant Summary
SATISFIABLE
          The formula is satisfiable with respect to the specified bounds.
TRIVIALLY_SATISFIABLE
          The formula is trivially satisfiable with respect to the specified bounds: a series of simple transformations reduces the formula to the constant TRUE.
TRIVIALLY_UNSATISFIABLE
          The formula is trivially unsatisfiable with respect to the specified bounds: a series of simple transformations reduces the formula to the constant FALSE.
UNSATISFIABLE
          The formula is unsatisfiable with respect to the specified bounds.
 
Method Summary
static Solution.Outcome valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static Solution.Outcome[] values()
          Returns an array containing the constants of this enum type, in the order they're declared.
 
Methods inherited from class java.lang.Enum
compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

SATISFIABLE

public static final Solution.Outcome SATISFIABLE
The formula is satisfiable with respect to the specified bounds.


UNSATISFIABLE

public static final Solution.Outcome UNSATISFIABLE
The formula is unsatisfiable with respect to the specified bounds.


TRIVIALLY_SATISFIABLE

public static final Solution.Outcome TRIVIALLY_SATISFIABLE
The formula is trivially satisfiable with respect to the specified bounds: a series of simple transformations reduces the formula to the constant TRUE.


TRIVIALLY_UNSATISFIABLE

public static final Solution.Outcome TRIVIALLY_UNSATISFIABLE
The formula is trivially unsatisfiable with respect to the specified bounds: a series of simple transformations reduces the formula to the constant FALSE.

Method Detail

values

public static final Solution.Outcome[] values()
Returns an array containing the constants of this enum type, in the order they're declared. This method may be used to iterate over the constants as follows:
for(Solution.Outcome c : Solution.Outcome.values())
        System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they're declared

valueOf

public static Solution.Outcome valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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:
java.lang.IllegalArgumentException - if this enum type has no constant with the specified name