maspack.solvers
Enum KellerLCPSolver.Status

java.lang.Object
  extended by java.lang.Enum<KellerLCPSolver.Status>
      extended by maspack.solvers.KellerLCPSolver.Status
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<KellerLCPSolver.Status>
Enclosing class:
KellerLCPSolver

public static enum KellerLCPSolver.Status
extends java.lang.Enum<KellerLCPSolver.Status>

Described whether or not a solution was found.


Enum Constant Summary
ITERATION_LIMIT_EXCEEDED
          Iteration limit was exceeded, most likely due to numerical ill-conditioning.
NO_SOLUTION
          No solution appears to be possible.
NUMERIC_ERROR
          A numeric error was detected in the solution.
SOLVED
          A solution was found.
 
Method Summary
static KellerLCPSolver.Status valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static KellerLCPSolver.Status[] values()
          Returns an array containing the constants of this enum type, in the order they are 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

SOLVED

public static final KellerLCPSolver.Status SOLVED
A solution was found.


NO_SOLUTION

public static final KellerLCPSolver.Status NO_SOLUTION
No solution appears to be possible.


ITERATION_LIMIT_EXCEEDED

public static final KellerLCPSolver.Status ITERATION_LIMIT_EXCEEDED
Iteration limit was exceeded, most likely due to numerical ill-conditioning.


NUMERIC_ERROR

public static final KellerLCPSolver.Status NUMERIC_ERROR
A numeric error was detected in the solution.

Method Detail

values

public static KellerLCPSolver.Status[] 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 (KellerLCPSolver.Status c : KellerLCPSolver.Status.values())
    System.out.println(c);

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

valueOf

public static KellerLCPSolver.Status 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
java.lang.NullPointerException - if the argument is null