Overview | Package | Class | Use | Tree | Deprecated | Index | Help
| OptaPlanner distribution 6.2.0.CR1
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD

## 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

Enum Constant Summary
`CONSTRAINT_MATCH_TOTAL_BEST_SCORE`
`CONSTRAINT_MATCH_TOTAL_STEP_SCORE`
`PICKED_MOVE_TYPE_BEST_SCORE_DIFF`
`PICKED_MOVE_TYPE_STEP_SCORE_DIFF`

Method Summary
`PureSingleStatistic` | `buildPureSingleStatistic(SingleBenchmarkResult singleBenchmarkResult)`
`String` | `getAnchorId()`
`boolean` | `hasScoreLevels()`
`static SingleStatisticType` | `valueOf(String name)` Returns the enum constant of this type with the specified name.
`static SingleStatisticType[]` | `values()` Returns an array containing the constants of this enum type, in the order they are declared.

Methods inherited from class java.lang.Enum
`clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf`

Methods inherited from class java.lang.Object
`getClass, notify, notifyAll, wait, wait, wait`

Methods inherited from interface org.optaplanner.benchmark.impl.statistic.StatisticType
`name`

Enum Constant Detail

### 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

Method Detail

### 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()

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
| OptaPlanner distribution 6.2.0.CR1
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD

Copyright © 2006-2014 JBoss by Red Hat. All Rights Reserved.