Enum ParForProgramBlock.POptMode
- java.lang.Object
-
- java.lang.Enum<ParForProgramBlock.POptMode>
-
- org.apache.sysds.runtime.controlprogram.ParForProgramBlock.POptMode
-
- All Implemented Interfaces:
Serializable
,Comparable<ParForProgramBlock.POptMode>
- Enclosing class:
- ParForProgramBlock
public static enum ParForProgramBlock.POptMode extends Enum<ParForProgramBlock.POptMode>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description CONSTRAINED
HEURISTIC
NONE
RULEBASED
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static ParForProgramBlock.POptMode
valueOf(String name)
Returns the enum constant of this type with the specified name.static ParForProgramBlock.POptMode[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
NONE
public static final ParForProgramBlock.POptMode NONE
-
RULEBASED
public static final ParForProgramBlock.POptMode RULEBASED
-
CONSTRAINED
public static final ParForProgramBlock.POptMode CONSTRAINED
-
HEURISTIC
public static final ParForProgramBlock.POptMode HEURISTIC
-
-
Method Detail
-
values
public static ParForProgramBlock.POptMode[] 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 (ParForProgramBlock.POptMode c : ParForProgramBlock.POptMode.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static ParForProgramBlock.POptMode 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
-
-