[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Lists, scheduling and repeated objects
From: |
Marcus G. Daniels |
Subject: |
Re: Lists, scheduling and repeated objects |
Date: |
07 Aug 1999 07:21:16 -0700 |
User-agent: |
Gnus/5.070084 (Pterodactyl Gnus v0.84) Emacs/20.4 |
>>>>> "JG" == Jonathan Greenberg <address@hidden> writes:
JG> Model adds object "A" to list. Model Schedules "A" to be dropped
JG> at t + n. Model adds object "A" AGAIN and then schedules it to be
JG> dropped AGAIN at a later time.
If you drop an object, it's gone. If you recreate an instance of the
same kind of object and insert it on a List, it's a different object.
(And the variable you assign the object to is incidental.)
JG> At a time after object A was added and dropped, but before the second
JG> time A was dropped, what will the list contain?
Garbage -- that's a programming error. Also note that dropping an
object does not mean it is removed from the lists that reference it.
(Btw, this is really a question for swarm-support, not swarm-modelling.)
==================================
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.
==================================