[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Swarm-Modelling] How to drop a agent?
From: |
Konrad_Richter |
Subject: |
Re: [Swarm-Modelling] How to drop a agent? |
Date: |
Tue, 29 Mar 2005 10:47:56 +0100 |
The code is just:
[theAgent drop];
No need to refer to any zone.
Greetings,
Konrad
______________________________________
Konrad Richter
McKinsey & Company, Inc.
Herrengasse 1-3
A-1010 Wien
Austria
Phone +43 1 5370-6160
Fax +43 1 5370-6161
Mobile +49 175 318-6160
"James Liu" <address@hidden>
Sent by: address@hidden
29.03.2005 10:56
Please respond to
Swarm Modelling <address@hidden> |
|
To
| "modelling" <address@hidden>
|
cc
|
|
Subject
| [Swarm-Modelling] How to
drop a agent? |
|
Dear All:
I want to drop a agent A1 in Swarm created from the class A when A1 dies,that
is,A1 have no
food to eat.The "Swarm User Guide" does not say clearly about
this.I used
the "drop" mothed as follows:
[[self getZone] drop]
But the application stoped with the error: Segmentation fault <core
dumped>.What is the
problem? How to drop a agent directly?
Thanks a ton!
Best regards,
James
address@hidden
2005-03-29
_______________________________________________
Modelling mailing list
address@hidden
http://www.swarm.org/mailman/listinfo/modelling
+=========================================================+
This message may contain confidential and/or privileged
information. If you are not the addressee or authorized to
receive this for the addressee, you must not use, copy,
disclose or take any action based on this message or any
information herein. If you have received this message in
error, please advise the sender immediately by reply e-mail
and delete this message. Thank you for your cooperation.
+=========================================================+