swarm-support
[Top][All Lists]
Advanced

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

Re: one trick for javaswarm, If you need dynamically adding or removing


From: Paul Johnson
Subject: Re: one trick for javaswarm, If you need dynamically adding or removing agents, use createFActionForEachHeterogeneous$call rather than createFActionEachHomogeneous
Date: Wed, 26 Jun 2002 20:58:56 -0500
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.0.0) Gecko/20020606

If the speed at which the model executes ever becomes a concern, please consider the first message I sent today as a way of speeding things up. In some tests last year, the speedup was several fold.

pj

Hu, Jianjun wrote:
Hi, Buck,

Great thanks.

When I change from createFActionEachHomogeneous to
createFActionForEachHeterogeneous$call,  the new born agents moves!!!

haha.. it works!


Jianjun


--
Paul E. Johnson                       email: address@hidden
Dept. of Political Science            http://lark.cc.ku.edu/~pauljohn
University of Kansas                  Office: (785) 864-9086
Lawrence, Kansas 66045                FAX: (785) 864-5700


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