jildt.agent
Enum LearningSettings.SettingsAtt
java.lang.Object
java.lang.Enum<LearningSettings.SettingsAtt>
jildt.agent.LearningSettings.SettingsAtt
- All Implemented Interfaces:
- java.io.Serializable, java.lang.Comparable<LearningSettings.SettingsAtt>
- Enclosing class:
- LearningSettings
public static enum LearningSettings.SettingsAtt
- extends java.lang.Enum<LearningSettings.SettingsAtt>
Enumerates the possible settings for learning. The settings are defined after jildt_settings/2
literals in the agent code. Possible settings are:
- trace. Indicates if a trace of the learning process must be shown.
jildt_settings(trace, {true, false}).
- biasMode. Indicates the mode in which the language bias will be defined. Value
automatic for computing all the possibilities, manual for using only the
user-defined directives.
jildt_settings(biasMode, {automatic, manual}).
- learningPlansSrc: Indicates the source where the learning plans are. By default, agents
of the class
Learner
load these plans from the file learningPlans.asl.
jildt_settings(learningPlansSrc, "../../file.asl").
- excludeBels: Define the functors of the beliefs that are not part of the training examples.
jildt_settings(excludeBels, [functor(b0),...,functor(bn)]).
- inductionLevel: Define the level which the learning will be induced in.
jildt_settings(inductionLevel,{java, agentSpeak}).
- displayMode: Defines the way for displaying the learned tree.
jildt_settings(displayMode, {none, gui, console, both}).
- randomSeed: Defines a seed for generating random numbers. These random number are used for
selecting candidates in case of ties when a candidate is being selected to be part of the learned tree.
jildt_settings(randomSeed, < Long value >).
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 |
trace
public static final LearningSettings.SettingsAtt trace
biasMode
public static final LearningSettings.SettingsAtt biasMode
learningPlansSrc
public static final LearningSettings.SettingsAtt learningPlansSrc
excludeBels
public static final LearningSettings.SettingsAtt excludeBels
inductionLevel
public static final LearningSettings.SettingsAtt inductionLevel
displayMode
public static final LearningSettings.SettingsAtt displayMode
randomSeed
public static final LearningSettings.SettingsAtt randomSeed
values
public static LearningSettings.SettingsAtt[] 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.SettingsAtt c : LearningSettings.SettingsAtt.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.SettingsAtt 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