public enum ProblemStatisticType extends Enum<ProblemStatisticType> implements StatisticType
Enum Constant and Description |
---|
BEST_SCORE |
BEST_SOLUTION_MUTATION |
CALCULATE_COUNT_PER_SECOND |
MEMORY_USE |
MOVE_COUNT_PER_STEP |
STEP_SCORE |
Modifier and Type | Method and Description |
---|---|
ProblemStatistic |
buildProblemStatistic(ProblemBenchmarkResult problemBenchmarkResult) |
String |
getLabel() |
boolean |
hasScoreLevels() |
static ProblemStatisticType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ProblemStatisticType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
name
public static final ProblemStatisticType BEST_SCORE
public static final ProblemStatisticType STEP_SCORE
public static final ProblemStatisticType CALCULATE_COUNT_PER_SECOND
public static final ProblemStatisticType BEST_SOLUTION_MUTATION
public static final ProblemStatisticType MOVE_COUNT_PER_STEP
public static final ProblemStatisticType MEMORY_USE
public static ProblemStatisticType[] values()
for (ProblemStatisticType c : ProblemStatisticType.values()) System.out.println(c);
public static ProblemStatisticType 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 String getLabel()
getLabel
in interface StatisticType
public ProblemStatistic buildProblemStatistic(ProblemBenchmarkResult problemBenchmarkResult)
public boolean hasScoreLevels()
Copyright © 2006–2016 JBoss by Red Hat. All rights reserved.