public Agent ( |
||
env | ||
options | string>.Dictionary | |
return | System |
public Agent(AIXIEnvironment env, Dictionary<string, string> options)
{
this.Environment = env;
this.Options = options;
this.LastUpdate = ActionUpdate;
if (options.ContainsKey("learning-period"))
{
Int32.TryParse(options["learning-period"], out this.LearningPeriod);
}
else {
this.LearningPeriod = 0;
}
}