swarm-modeling
[Top][All Lists]
Advanced

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

Lists, scheduling and repeated objects


From: Jonathan Greenberg
Subject: Lists, scheduling and repeated objects
Date: Fri, 6 Aug 1999 23:35:33 -0700

I'm a bit confused about how lists work, if I schedule an object which has previously been added to a list to be dropped sometime in the future, and that object is added again, what happens? Does the command drop based on some sort of index or based on an equivalent object? Here's the general idea:

Model adds object "A" to list.
Model Schedules "A" to be dropped at t + n.
Model adds object "A" AGAIN and then schedules it to be dropped AGAIN at a later time.

At a time after object A was added and dropped, but before the second time A was dropped, what will the list contain?



::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
Jonathan Greenberg                              Graduate Group in Ecology
address@hidden                 University of California, Davis
AIM: jgrn307          http://www.anthro.ucdavis.edu/~greenberg
::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::


                 ==================================
  Swarm-Modelling is for discussion of Simulation and Modelling techniques
  esp. using 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]