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
PlanningSolution s 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
PlanningSolution
s would be executed.TotalScoreSolverRankingComparator
public static final SolverRankingType WORST_SCORE
WorstScoreSolverRankingComparator
public static final SolverRankingType TOTAL_RANKING
TotalRankSolverRankingWeightFactory
public 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–2020 JBoss by Red Hat. All rights reserved.