[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: terminating the model...
From: |
Marcus G. Daniels |
Subject: |
Re: terminating the model... |
Date: |
10 Apr 1998 09:54:55 -0700 |
>>>>> "LG" == Laszlo Gulyas <address@hidden> writes:
LG> Is it legal to terminate the simulation from an agent?
LG> I want to stop it right away when some condition (inside the
LG> agent) becomes true.
LG> I implemented it by
LG> [getTopLevelActivity() terminate]
Hmm, that should work. Is this in a GUI or Batch mode? If the former,
what if you try to stop the simulation, by sending a setStateStopped
to your GUISwarm subclass controlPanel?
==================================
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.
==================================