org.optaplanner.benchmark.config.statistic
Enum SingleStatisticType
java.lang.Object
java.lang.Enum<SingleStatisticType>
org.optaplanner.benchmark.config.statistic.SingleStatisticType
- All Implemented Interfaces:
- Serializable, Comparable<SingleStatisticType>, StatisticType
public enum SingleStatisticType
- extends Enum<SingleStatisticType>
- implements StatisticType
Methods inherited from interface org.optaplanner.benchmark.impl.statistic.StatisticType |
name |
CONSTRAINT_MATCH_TOTAL_BEST_SCORE
public static final SingleStatisticType CONSTRAINT_MATCH_TOTAL_BEST_SCORE
CONSTRAINT_MATCH_TOTAL_STEP_SCORE
public static final SingleStatisticType CONSTRAINT_MATCH_TOTAL_STEP_SCORE
PICKED_MOVE_TYPE_BEST_SCORE_DIFF
public static final SingleStatisticType PICKED_MOVE_TYPE_BEST_SCORE_DIFF
PICKED_MOVE_TYPE_STEP_SCORE_DIFF
public static final SingleStatisticType PICKED_MOVE_TYPE_STEP_SCORE_DIFF
values
public static SingleStatisticType[] 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 (SingleStatisticType c : SingleStatisticType.values())
System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in
the order they are declared
valueOf
public static SingleStatisticType 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 name
NullPointerException
- if the argument is null
buildPureSingleStatistic
public PureSingleStatistic buildPureSingleStatistic(SingleBenchmarkResult singleBenchmarkResult)
getAnchorId
public String getAnchorId()
hasScoreLevels
public boolean hasScoreLevels()
Copyright © 2006-2015 JBoss by Red Hat. All Rights Reserved.