swarm-support
[Top][All Lists]
Advanced

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

Re: how works forEach?


From: address@hidden
Subject: Re: how works forEach?
Date: Tue, 27 Feb 2001 10:26:31 +0100

> Many thanks for answer and advise 
Gigi

 >>>>> "GF" == Ferraris  <address@hidden> writes:
> 
> GF> when we create the actions in modelSwarm (using:
> GF> [modelActions createActionForEach: agentList message: M(step)];
> GF> how exactly does Swarm work?  It sends the messagge "step" to each
> GF> member in the list without waiting for answer or it sends "step"
> GF> to the first member waiting the agent executes the return self
> GF> before sending the "step" selector to the second and so on?
> 
> Clearly we would prefer to have Swarm implement the former, but all
> it currently implements is the latter.  However, you can determine
> if concurrency would change the dynamics of your model by calling
> "[forEachAction setDefaultOrder: Randomized]" where "forEachAction"
> is the result of createActionForEach:message:.
> 
>                   ==================================
>    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.
> 
> 


                  ==================================
   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]