public enum SolverRankingType extends Enum<SolverRankingType>
| Enum Constant and Description |
|---|
TOTAL_RANKING
Maximize the overall ranking.
|
TOTAL_SCORE
Maximize the overall score, so minimize the overall cost if all
PlanningSolutions would be executed. |
WORST_SCORE
Minimize the worst case scenario.
|
| Modifier and Type | Method and Description |
|---|---|
static SolverRankingType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static SolverRankingType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SolverRankingType TOTAL_SCORE
PlanningSolutions would be executed.TotalScoreSolverRankingComparatorpublic static final SolverRankingType WORST_SCORE
WorstScoreSolverRankingComparatorpublic static final SolverRankingType TOTAL_RANKING
TotalRankSolverRankingWeightFactorypublic static SolverRankingType[] values()
for (SolverRankingType c : SolverRankingType.values()) System.out.println(c);
public static SolverRankingType 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 nullCopyright © 2006–2021 JBoss by Red Hat. All rights reserved.