Package org.powertac.factoredcustomer
Enum ProfileOptimizerStructure.ProfileSelectionMethod
- java.lang.Object
-
- java.lang.Enum<ProfileOptimizerStructure.ProfileSelectionMethod>
-
- org.powertac.factoredcustomer.ProfileOptimizerStructure.ProfileSelectionMethod
-
- All Implemented Interfaces:
Serializable
,Comparable<ProfileOptimizerStructure.ProfileSelectionMethod>
- Enclosing class:
- ProfileOptimizerStructure
public static enum ProfileOptimizerStructure.ProfileSelectionMethod extends Enum<ProfileOptimizerStructure.ProfileSelectionMethod>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description BEST_UTILITY
LOGIT_CHOICE
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static ProfileOptimizerStructure.ProfileSelectionMethod
valueOf(String name)
Returns the enum constant of this type with the specified name.static ProfileOptimizerStructure.ProfileSelectionMethod[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
BEST_UTILITY
public static final ProfileOptimizerStructure.ProfileSelectionMethod BEST_UTILITY
-
LOGIT_CHOICE
public static final ProfileOptimizerStructure.ProfileSelectionMethod LOGIT_CHOICE
-
-
Method Detail
-
values
public static ProfileOptimizerStructure.ProfileSelectionMethod[] 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 (ProfileOptimizerStructure.ProfileSelectionMethod c : ProfileOptimizerStructure.ProfileSelectionMethod.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static ProfileOptimizerStructure.ProfileSelectionMethod 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 nameNullPointerException
- if the argument is null
-
-