[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Swarm-Modelling] How to drop a agent?
From: |
James Liu |
Subject: |
[Swarm-Modelling] How to drop a agent? |
Date: |
Tue, 29 Mar 2005 16:56:17 +0800 |
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
- [Swarm-Modelling] How to drop a agent?,
James Liu <=