[Posting via comp.lang.pop
To reply replace "Aaron.Sloman.XX" with "A.Sloman"]
Darryl davis wrote a few days ago:
> > My old code for sim_agent (when i was working with aaron)
> > now longer runs with the newkit version for Unix platforms.
I wrote, in respose to Darryl
> Date: 5 Nov 1999 00:08:34 GMT
>
> The problem is that if an agent or object has an empty list in its
> sim_rulesystem slot, then sim_run_agent is not applied to it.
> ....
> I had assumed that if there's no rulesystem there's nothing for
> sim_run_agent to do, and the object is there only to be sensed or
> acted on by other agents. I assumed nobody would notice the change!
>
> It looks as if I was wrong to assume this, and I should change the
> definition of sim_scheduler in LIB SIM_AGENT
I have now made the changes required in this file
http://www.cs.bham.ac.uk/research/poplog/newkit/sim/lib/sim_agent.p
also described in HELP sim_agent_news.
The changes are now in the relevant tar files
newkit.tar.gz
sim.tar.gz
in this directory
ftp://ftp.cs.bham.ac.uk/pub/dist/poplog/
http://www.cs.bham.ac.uk/research/poplog/
Apologies for trouble and confusion caused by the change.
So now even if an agent or object has an empty sim_rulesystem slot,
sim_scheduler will apply sim_run_agent to it in every timeslice.
Users can then redefine the method sim_run_agent to do whatever is
required for that type of agent.
Aaron
--
Aaron Sloman, ( http://www.cs.bham.ac.uk/~axs/ )
School of Computer Science, The University of Birmingham, B15 2TT, UK
EMAIL A.Sloman AT cs.bham.ac.uk (NB: Anti Spam address)
PAPERS: http://www.cs.bham.ac.uk/research/cogaff/
|