edu.princeton.repeatedgames.rgsolve
Enum AlgoParameters.ALGO_TYPE

java.lang.Object
  extended by java.lang.Enum<AlgoParameters.ALGO_TYPE>
      extended by edu.princeton.repeatedgames.rgsolve.AlgoParameters.ALGO_TYPE
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<AlgoParameters.ALGO_TYPE>
Enclosing class:
AlgoParameters

public static enum AlgoParameters.ALGO_TYPE
extends java.lang.Enum<AlgoParameters.ALGO_TYPE>

enum type on algorithm choice


Enum Constant Summary
ABS
          Abreu-Brooks-Sannikov
APS
          Abreu-Pearce-Stachetti Algorithm
AS
          Abreu-Sannikov Algorithm
 
Method Summary
static AlgoParameters.ALGO_TYPE valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static AlgoParameters.ALGO_TYPE[] 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

APS

public static final AlgoParameters.ALGO_TYPE APS
Abreu-Pearce-Stachetti Algorithm


AS

public static final AlgoParameters.ALGO_TYPE AS
Abreu-Sannikov Algorithm


ABS

public static final AlgoParameters.ALGO_TYPE ABS
Abreu-Brooks-Sannikov

Method Detail

values

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

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

valueOf

public static AlgoParameters.ALGO_TYPE 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