org.optaplanner.core.config.constructionheuristic
public static enum ConstructionHeuristicSolverPhaseConfig.ConstructionHeuristicType extends Enum<ConstructionHeuristicSolverPhaseConfig.ConstructionHeuristicType>
Enum Constant and Description |
---|
BEST_FIT |
BEST_FIT_DECREASING |
FIRST_FIT |
FIRST_FIT_DECREASING |
Modifier and Type | Method and Description |
---|---|
boolean |
isSortEntitiesByDecreasingDifficulty() |
boolean |
isSortValuesByIncreasingStrength() |
static ConstructionHeuristicSolverPhaseConfig.ConstructionHeuristicType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ConstructionHeuristicSolverPhaseConfig.ConstructionHeuristicType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ConstructionHeuristicSolverPhaseConfig.ConstructionHeuristicType FIRST_FIT
public static final ConstructionHeuristicSolverPhaseConfig.ConstructionHeuristicType FIRST_FIT_DECREASING
public static final ConstructionHeuristicSolverPhaseConfig.ConstructionHeuristicType BEST_FIT
public static final ConstructionHeuristicSolverPhaseConfig.ConstructionHeuristicType BEST_FIT_DECREASING
public static ConstructionHeuristicSolverPhaseConfig.ConstructionHeuristicType[] values()
for (ConstructionHeuristicSolverPhaseConfig.ConstructionHeuristicType c : ConstructionHeuristicSolverPhaseConfig.ConstructionHeuristicType.values()) System.out.println(c);
public static ConstructionHeuristicSolverPhaseConfig.ConstructionHeuristicType valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant
with the specified nameNullPointerException
- if the argument is nullpublic boolean isSortEntitiesByDecreasingDifficulty()
public boolean isSortValuesByIncreasingStrength()
Copyright © 2006-2013 JBoss by Red Hat. All Rights Reserved.