public enum PerformanceMetric extends java.lang.Enum<PerformanceMetric>
PerformancePlotter
.Enum Constant and Description |
---|
AVERAGE_EPISODE_REWARD |
CUMULATIVE_REWARD_PER_EPISODE |
CUMULATIVE_REWARD_PER_STEP |
CUMULATIVE_STEPS_PER_EPISODE |
MEDIAN_EPISODE_REWARD |
STEPS_PER_EPISODE |
Modifier and Type | Method and Description |
---|---|
static PerformanceMetric |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static PerformanceMetric[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PerformanceMetric CUMULATIVE_REWARD_PER_STEP
public static final PerformanceMetric CUMULATIVE_REWARD_PER_EPISODE
public static final PerformanceMetric AVERAGE_EPISODE_REWARD
public static final PerformanceMetric MEDIAN_EPISODE_REWARD
public static final PerformanceMetric CUMULATIVE_STEPS_PER_EPISODE
public static final PerformanceMetric STEPS_PER_EPISODE
public static PerformanceMetric[] values()
for (PerformanceMetric c : PerformanceMetric.values()) System.out.println(c);
public static PerformanceMetric valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null