jildt.agent
Enum LearningSettings.DispTreeMode
java.lang.Object
java.lang.Enum<LearningSettings.DispTreeMode>
jildt.agent.LearningSettings.DispTreeMode
- All Implemented Interfaces:
- java.io.Serializable, java.lang.Comparable<LearningSettings.DispTreeMode>
- Enclosing class:
- LearningSettings
public static enum LearningSettings.DispTreeMode
- extends java.lang.Enum<LearningSettings.DispTreeMode>
Enumerates the way for displaying the learned tree. By default, this option is set as both in agents
of the class Learner
. To change this configuration, a literal jildt_settings(displayMode, Opt) is
needed, where Opt ∈ {none, gui,console, both}).
- none disables the display, anything is displayed.
- gui displays a frame like the one below.
- console displays in console a tree like the shown below
clear(X)
| + yes: clear(Y)
| | + yes: success (1 examples)
| | + no: fail (1 examples)
| + no: fail (2 examples)
.
- both console and gui modes are shown
Methods inherited from class java.lang.Enum |
compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
Methods inherited from class java.lang.Object |
getClass, notify, notifyAll, wait, wait, wait |
none
public static final LearningSettings.DispTreeMode none
gui
public static final LearningSettings.DispTreeMode gui
console
public static final LearningSettings.DispTreeMode console
both
public static final LearningSettings.DispTreeMode both
values
public static LearningSettings.DispTreeMode[] 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 (LearningSettings.DispTreeMode c : LearningSettings.DispTreeMode.values())
System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in
the order they are declared
valueOf
public static LearningSettings.DispTreeMode valueOf(java.lang.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:
java.lang.IllegalArgumentException
- if this enum type has no constant
with the specified name
java.lang.NullPointerException
- if the argument is null