Init function


Init is a function added to the TaskableAgent. Init allows you to specify a given TACL file to load. This is very helpful when running multiple agents. Each agent can have their own TACL file specifying their own individual parameters. Using init.TACL does not allow for different specifications for different agents, and thus things that differ across agents (for example usermi names) have to be typed in by hand individually for each agent running. To use init just type init and the file to load. For example:

>(init S2.TACL)
executing: ((init S2.TACL))
executing: ((usermi S2))
MsgQueue created.
executing: ((read builtin.TRL))
executing: ((read S2.TRL))
executing: ((batch S2.KB))
reading: S2.KB
S2>

After the TACL file has been loaded the command prompt should appear again. If a usermi name was specified, then the command line will print the name it is register as. This allows for easier identification of agents if multiple agents are being used.