swarm-support
[Top][All Lists]
Advanced

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

Agent Pools


From: Rob Leclerc
Subject: Agent Pools
Date: Tue, 27 Mar 2001 17:54:23 -0700

    Given that my predation model both creates and drops a lot of agents
through the simulation, I am curious to know whether or not it would be
cheaper if I created a large pool of agents at the begining of the
simulation, and set a flag in the methods normally scheduled, such that  if
"isDead == true", that this would simply leave that method call.  This way I
don't have to do dynamic scheduling OR object creation, but would the extra
overhead be worth it?  I simply don't know the costs of each.

Rob Leclerc



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