Enum ConstructionHeuristicTypeModel
- java.lang.Object
-
- java.lang.Enum<ConstructionHeuristicTypeModel>
-
- org.optaplanner.workbench.screens.solver.model.ConstructionHeuristicTypeModel
-
- All Implemented Interfaces:
Serializable,Comparable<ConstructionHeuristicTypeModel>
@Portable public enum ConstructionHeuristicTypeModel extends Enum<ConstructionHeuristicTypeModel>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ALLOCATE_ENTITY_FROM_QUEUEALLOCATE_FROM_POOLALLOCATE_TO_VALUE_FROM_QUEUECHEAPEST_INSERTIONFIRST_FITFIRST_FIT_DECREASINGSTRONGEST_FITSTRONGEST_FIT_DECREASINGWEAKEST_FITWEAKEST_FIT_DECREASING
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static ConstructionHeuristicTypeModelvalueOf(String name)Returns the enum constant of this type with the specified name.static ConstructionHeuristicTypeModel[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
FIRST_FIT
public static final ConstructionHeuristicTypeModel FIRST_FIT
-
FIRST_FIT_DECREASING
public static final ConstructionHeuristicTypeModel FIRST_FIT_DECREASING
-
WEAKEST_FIT
public static final ConstructionHeuristicTypeModel WEAKEST_FIT
-
WEAKEST_FIT_DECREASING
public static final ConstructionHeuristicTypeModel WEAKEST_FIT_DECREASING
-
STRONGEST_FIT
public static final ConstructionHeuristicTypeModel STRONGEST_FIT
-
STRONGEST_FIT_DECREASING
public static final ConstructionHeuristicTypeModel STRONGEST_FIT_DECREASING
-
ALLOCATE_ENTITY_FROM_QUEUE
public static final ConstructionHeuristicTypeModel ALLOCATE_ENTITY_FROM_QUEUE
-
ALLOCATE_TO_VALUE_FROM_QUEUE
public static final ConstructionHeuristicTypeModel ALLOCATE_TO_VALUE_FROM_QUEUE
-
CHEAPEST_INSERTION
public static final ConstructionHeuristicTypeModel CHEAPEST_INSERTION
-
ALLOCATE_FROM_POOL
public static final ConstructionHeuristicTypeModel ALLOCATE_FROM_POOL
-
-
Method Detail
-
values
public static ConstructionHeuristicTypeModel[] 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 (ConstructionHeuristicTypeModel c : ConstructionHeuristicTypeModel.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static ConstructionHeuristicTypeModel 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
-
-