tasksimulators.newsimu.XOR
Class TaskXOR

java.lang.Object
  extended byclarion.system.Task
      extended bytasksimulators.newsimu.XOR.TaskXOR
All Implemented Interfaces:
SimuTask

public class TaskXOR
extends Task
implements SimuTask


Field Summary
 
Fields inherited from class clarion.system.Task
agents, globals, modelDataFile, runningAgentNum, settingNames
 
Constructor Summary
TaskXOR()
          Constructor: initializes data structures, etc.
 
Method Summary
 java.lang.String getTaskName()
           
 void init()
          Loads the agent settings from the configuration files.
 void start()
          The method overrides the one in Task, it implements the process of initialization of Global objects assoicated with the running agents by loading the existing setting groups from the hard disk.
 void start(int expMode, int blockNum, WriteFile wFile)
           
 
Methods inherited from class clarion.system.Task
getAgent, getRunningAgentNum, getSettingName, setAgent, setDataFile, setGlobals, setRunningAgentNum, setSettingNames
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TaskXOR

public TaskXOR()
Constructor: initializes data structures, etc. for the task. Should not be used to configure the agents' settings (e.g., learning rate) since that is properly the function of init().

Method Detail

getTaskName

public java.lang.String getTaskName()
Specified by:
getTaskName in interface SimuTask

start

public void start(int expMode,
                  int blockNum,
                  WriteFile wFile)
Specified by:
start in interface SimuTask

init

public void init()
Loads the agent settings from the configuration files. This method is automatically called (unless the user decides to configure the agents interactively using the GUI).

Overrides:
init in class Task

start

public void start()
The method overrides the one in Task, it implements the process of initialization of Global objects assoicated with the running agents by loading the existing setting groups from the hard disk.

Specified by:
start in class Task