public enum TrialMode extends java.lang.Enum<TrialMode>
PerformanceMetric
will be plotted by PerformancePlotter
.
The MOSTRECENTTTRIALONLY mode will result in only the most recent trial's performance being displayed. TRIALAVERAGESONLY will
result in only plots for the trial averages to be shown. MOSTRECENTANDAVERAGE will result in both the most recent trial and the trial
average plots to be shown.Enum Constant and Description |
---|
MOST_RECENT_AND_AVERAGE |
MOST_RECENT_TRIAL_ONLY |
TRIAL_AVERAGES_ONLY |
Modifier and Type | Method and Description |
---|---|
boolean |
averagesEnabled()
Returns true if the trial average plots will be plotted by this mode.
|
boolean |
mostRecentTrialEnabled()
Returns true if the most recent trial plots will be plotted by this mode.
|
static TrialMode |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static TrialMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TrialMode MOST_RECENT_TRIAL_ONLY
public static final TrialMode TRIAL_AVERAGES_ONLY
public static final TrialMode MOST_RECENT_AND_AVERAGE
public static TrialMode[] values()
for (TrialMode c : TrialMode.values()) System.out.println(c);
public static TrialMode 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 nullpublic boolean mostRecentTrialEnabled()
public boolean averagesEnabled()