On Friday, June 6, 2014 10:33:04 PM UTC-5, Mars0i wrote:
>
> On Friday, June 6, 2014 2:26:25 PM UTC-5, Linus Ericsson wrote:
>>
>> Here I assume that the incoming calls to agents aren't guaranteed to 
>> strictly ordered among different agents, even though the agents reside in 
>> one of two thread-pools (the send- vs. send-off pools). If two agents sent 
>> messages that arrived a third agent in different order, the rng-state would 
>> differ between the runs). Please correct me if I'm wrong on this one. 
>>
>
> No, there's no issue about the order in which messages are received, I 
> believe.  Communication is effectively simultaneous, because all sending 
> happens in one step, and all receiving happens in another step.
>  
> (Here are the details, if you're interested:  Each Person random chooses 
> other Persons to send a message to, and then randomly chooses a message to 
> send.  The pmap over the Persons ends, and all of the messages are 
> collected into a single hashmap.  Then a separate pmap goes through each 
> Person, applying the messages in the hashmap that are supposed to be sent 
> to that Person.  Thus, although Persons perform their work in some order, 
> the sending and the receiving of the messages are separated, so that 
> message sending and receipt occurs as if all messages were sent 
> simultaneously.  In the next timestep, the messages received by a Person 
> affect the probabilities that various messages will be chosen to send to 
> another Person.) 
>

One more point about the detailed description: The immediate effects of 
messages on a Person who receives them are commutative (literally: they are 
additions).  Nothing else happens until all of the immediate effects of all 
messages are applied.

-- 
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send email to clojure@googlegroups.com
Note that posts from new members are moderated - please be patient with your 
first post.
To unsubscribe from this group, send email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"Clojure" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to clojure+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to