swarm-support
[Top][All Lists]
Advanced

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

Re: [Swarm-Support] randomly select an Agent from the List


From: Pietro Terna
Subject: Re: [Swarm-Support] randomly select an Agent from the List
Date: Mon, 11 Aug 2003 12:04:24 +0200

        Dear Anthony,

        try:

  listShuffler=[ListShuffler createBegin: self];
  listShuffler=[listShuffler createEnd];

  [modelActions1 createActionTo: listShuffler
                 message: M(shuffleWholeList:) : agentList];

A lot of resources for Objective C Swarm are in the www.swarm.org, starting from
http://www.swarm.org/community-contrib.html

        All the best, Pietro

At 06.11 11/08/2003 +0000, you wrote:
Hi, Does anyone know is there a way to send message to agents inside a list but in a random order? it there a list methods that I can use or I have to implement my own?

Also does anyone know any good resource for swarm in objective C on the web?
  Thanks in advance.


Yours sincerely,
Chi Wai Wong( Anthony)

_________________________________________________________________
¨Ï¥Î¥þ²y¥Î¤á³Ì¦hªº¹q¤l¶l¥óªA°È MSN Hotmail¡G http://www.hotmail.com
_______________________________________________
Support mailing list
address@hidden
http://www.swarm.org/mailman/listinfo/support




reply via email to

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