Enum ConstructionHeuristicType
java.lang.Object
java.lang.Enum<ConstructionHeuristicType>
org.optaplanner.core.config.constructionheuristic.ConstructionHeuristicType
- All Implemented Interfaces:
Serializable
,Comparable<ConstructionHeuristicType>
-
Enum Constant Summary
Enum ConstantDescriptionPut all entities in a queue.Put all entity-value combinations in a pool.Put all values in a round-robin queue.A specific form ofALLOCATE_FROM_POOL
.A specific form ofALLOCATE_ENTITY_FROM_QUEUE
.A specific form ofALLOCATE_ENTITY_FROM_QUEUE
.A specific form ofALLOCATE_ENTITY_FROM_QUEUE
.A specific form ofALLOCATE_ENTITY_FROM_QUEUE
.A specific form ofALLOCATE_ENTITY_FROM_QUEUE
.A specific form ofALLOCATE_ENTITY_FROM_QUEUE
. -
Method Summary
Modifier and TypeMethodDescriptionstatic ConstructionHeuristicType[]
static ConstructionHeuristicType
Returns the enum constant of this type with the specified name.static ConstructionHeuristicType[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
FIRST_FIT
A specific form ofALLOCATE_ENTITY_FROM_QUEUE
. -
FIRST_FIT_DECREASING
A specific form ofALLOCATE_ENTITY_FROM_QUEUE
. -
WEAKEST_FIT
A specific form ofALLOCATE_ENTITY_FROM_QUEUE
. -
WEAKEST_FIT_DECREASING
A specific form ofALLOCATE_ENTITY_FROM_QUEUE
. -
STRONGEST_FIT
A specific form ofALLOCATE_ENTITY_FROM_QUEUE
. -
STRONGEST_FIT_DECREASING
A specific form ofALLOCATE_ENTITY_FROM_QUEUE
. -
ALLOCATE_ENTITY_FROM_QUEUE
Put all entities in a queue. Assign the first entity (from that queue) to the best value. Repeat until all entities are assigned. -
ALLOCATE_TO_VALUE_FROM_QUEUE
Put all values in a round-robin queue. Assign the best entity to the first value (from that queue). Repeat until all entities are assigned. -
CHEAPEST_INSERTION
A specific form ofALLOCATE_FROM_POOL
. -
ALLOCATE_FROM_POOL
Put all entity-value combinations in a pool. Assign the best entity to best value. Repeat until all entities are assigned.
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
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
-
getDefaultEntitySorterManner
-
getDefaultValueSorterManner
-
getBluePrintTypes
- Returns:
values()
without duplicates (abstract types that end up behaving as one of the other types).
-