[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Swarm-Support] a quick question on building actions
From: |
Derek Farren |
Subject: |
[Swarm-Support] a quick question on building actions |
Date: |
Thu, 22 Jul 2004 00:38:53 -0400 |
Hello everyone.
Lets say I have the following messages in ModelSwarm, buildActions:
[ModelActions createActionForEach: agentList message: M(firstMessage)];
[ModelActions createActionForEach: agentList message: M(secondMessage)];
That mean that the application will:
a) send firstMessage to all agents, then send secondMessage to all agents.
b) send firstMessage to the first agent in agentList, then send
secondMessage to the first agent in agentList, then send firstMessage to the
second agent in agentList, then send secondMessage to the second agent in
agentList, and so on...
I strongly believe answer is a), but my application isnĀ“t doing it... and
before starting a serious debugging session I would like to be sure what the
application should be doing.
Thanks
Derek
- [Swarm-Support] a quick question on building actions,
Derek Farren <=