parser.instances
Enum ResolutionStatus

java.lang.Object
  extended by java.lang.Enum<ResolutionStatus>
      extended by parser.instances.ResolutionStatus
All Implemented Interfaces:
Serializable, Comparable<ResolutionStatus>

public enum ResolutionStatus
extends Enum<ResolutionStatus>


Enum Constant Summary
ERROR
           
OPTIMUM
           
SAT
           
TIMEOUT
           
UNKNOWN
           
UNSAT
           
UNSUPPORTED
           
 
Method Summary
 String getName()
           
 boolean isValidWithCSP()
           
 boolean isValidWithOptimize()
           
static ResolutionStatus valueOf(String name)
          Returns the enum constant of this type with the specified name.
static ResolutionStatus[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

UNSAT

public static final ResolutionStatus UNSAT

SAT

public static final ResolutionStatus SAT

OPTIMUM

public static final ResolutionStatus OPTIMUM

TIMEOUT

public static final ResolutionStatus TIMEOUT

UNKNOWN

public static final ResolutionStatus UNKNOWN

ERROR

public static final ResolutionStatus ERROR

UNSUPPORTED

public static final ResolutionStatus UNSUPPORTED
Method Detail

values

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

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

valueOf

public static ResolutionStatus valueOf(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:
IllegalArgumentException - if this enum type has no constant with the specified name
NullPointerException - if the argument is null

getName

public final String getName()

isValidWithCSP

public boolean isValidWithCSP()

isValidWithOptimize

public boolean isValidWithOptimize()


Copyright © 2012. All Rights Reserved.