public enum ProblemStatisticType extends Enum<ProblemStatisticType> implements StatisticType
Enum Constant and Description |
---|
BEST_SCORE |
BEST_SOLUTION_MUTATION |
CALCULATE_COUNT_PER_SECOND |
IMPROVING_STEP_PERCENTAGE
Deprecated.
|
MEMORY_USE |
MOVE_COUNT_PER_STEP |
STEP_SCORE |
Modifier and Type | Method and Description |
---|---|
ProblemStatistic |
create(ProblemBenchmark problemBenchmark) |
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.
|
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
@Deprecated public static final ProblemStatisticType IMPROVING_STEP_PERCENTAGE
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 ProblemStatistic create(ProblemBenchmark problemBenchmark)
Copyright © 2006-2014 JBoss by Red Hat. All Rights Reserved.