[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE:using createFActionForEachHeterogeneous$call rather than createFActi
From: |
William T. Stockhausen |
Subject: |
RE:using createFActionForEachHeterogeneous$call rather than createFActionEachHomogeneous |
Date: |
Thu, 27 Jun 2002 09:37:19 -0400 |
Paul,
Great point regarding the speed issue. I noticed that using the
createFActionForEachHeterogeneous REALLY slowed things down from using the
createFActionEachHomogeneous--I typically had ~10,000 larval "agents" in the
plankton. When I get back to working on that model, I may see if your
approach would work for me.
Best regards,
Buck
***********************************************************************
*William T. Stockhausen, PhD e-mail: address@hidden *
*Senior Marine Scientist voice : 804-684-7643 *
*Virginia Institute of Marine Science fax : 804-684-7250 *
*College of William and Mary http://www.vims.edu/~buck *
*Greate Road *
*Gloucester Point, VA 23062-1346 *
***********************************************************************
-----Original Message-----
From: address@hidden
[mailto:address@hidden Behalf Of Paul Johnson
Sent: Wednesday, June 26, 2002 9:59 PM
To: address@hidden
Subject: Re: one trick for javaswarm, If you need dynamically adding or
removing agents, use createFActionForEachHeterogeneous$call rather than
createFActionEachHomogeneous
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.
==================================
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.
- Re: Is this the defects of Javaswarm? the swarm kernel neglect new added agents!, Paul Johnson, 2002/06/26
- RE: Is this the defects of Javaswarm? the swarm kernel neglect new added agents!, Hu, Jianjun, 2002/06/26
- Re: Is this the defects of Javaswarm? the swarm kernel neglect new added agents!, Paul E Johnson, 2002/06/26
- RE: Is this the defects of Javaswarm? the swarm kernel neglect new added agents!, Hu, Jianjun, 2002/06/26
- Re: Is this the defects of Javaswarm? the swarm kernel neglect new added agents!, Paul E Johnson, 2002/06/26
- RE: Is this the defects of Javaswarm? the swarm kernel neglect new added agents!, William T. Stockhausen, 2002/06/26
- one trick for javaswarm, If you need dynamically adding or removing agents, use createFActionForEachHeterogeneous$call rather than createFActionEachHomogeneous, Hu, Jianjun, 2002/06/26
- Re: one trick for javaswarm, If you need dynamically adding or removing agents, use createFActionForEachHeterogeneous$call rather than createFActionEachHomogeneous, Paul Johnson, 2002/06/26
- RE:using createFActionForEachHeterogeneous$call rather than createFActionEachHomogeneous,
William T. Stockhausen <=