swarm-support
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Synchronized Activity


From: Marcus G. Daniels
Subject: Re: Synchronized Activity
Date: 20 Feb 2001 10:59:30 -0800
User-agent: Gnus/5.070084 (Pterodactyl Gnus v0.84) Emacs/20.4

>>>>> "RL" == Rob Leclerc <Rob> writes:

RL> Now it seems that in between checking to see if the move is okay,
RL> and then by the time I am actually making the move, one of the
RL> other agents has moved as well.  Thus although no agent should be
RL> more than one x/y coordinate away, they both end up moving away
RL> from each other and then locking. 

space.DblBuffer2d is one way to address the problem.  Decisions about
changes to an agent are all relative to the space as of a model step
that leads agent steps.  The actual changes are made to another
(yet-to-be-visible) lattice.  When the agents are done stepping,
this space moves to replace the lead-in space.

                  ==================================
   Swarm-Support is for discussion of the technical details of the day
   to day usage of Swarm.  For list administration needs (esp.
   [un]subscribing), please send a message to <address@hidden>
   with "help" in the body of the message.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]