swarm-support
[Top][All Lists]
Advanced

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

RE: freedom using Activity


From: paulbox
Subject: RE: freedom using Activity
Date: Tue, 09 May 2000 08:02:06 -0600

>===== Original Message From address@hidden =====

>Welcome to the group.  I think in the User Guide there is a section "How
>do I kill off those poor devils" or something like that, and it is based
>on the example code "sss", the swarm sugar scape.  You can get that in
>the swarm ftp.  That model has agents that can get killed and removed
>from the simulation.  The basic idea is to put some kind of a method in
>the agent itself so it knows when to die.  Then it messages to the model
>swarm and tells it "kill me" and the model swarm adds that agent to a
>list of victims to be recycled at a later time, when it is safe.  The
>recycler removes the agents from the list of agents and does other
>cleanup.
>

If you search the swarm archives and look for a "suicidal banana" or search 
for a keyword of "kevorkian", you will find a well-explained example.

////////////////////////////////////////
// Paul Box
// Geography and Earth Resources
// Utah STate University


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