swarm-support
[Top][All Lists]
Advanced

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

RE: [Swarm-Support] Time Stepping in Swarm.


From: Mervin Chan
Subject: RE: [Swarm-Support] Time Stepping in Swarm.
Date: Tue, 18 Jan 2005 01:07:14 +0800

My simulation is running in Batch mode, no GUI. 

Can I use control panel with my simulation with no GUI? 



-----Original Message-----
From: address@hidden [mailto:address@hidden On
Behalf Of Steve Railsback
Sent: Monday, January 17, 2005 6:24 AM
To: Swarm Support
Subject: Re: [Swarm-Support] Time Stepping in Swarm.

Mervin Chan wrote:
>  
> 
>  
> 
> Is there away to step time in Swarm such that time will only increment

> upon hitting a key?

The main control panel lets you stop a simulation, then step it manually

(via the "Step" button).

In your code, you can tell the model to stop and wait for you to do 
this, once it is all built and ready to run. Send a message 
"setStateStopped" to the control panel (look in the SimtoolsGui library 
documentation for the ControlPanel).

Steve R.

-- 
Lang Railsback & Assoc.
250 California Ave.
Arcata, California 95521
707 822 0453

_______________________________________________
Support mailing list
address@hidden
http://www.swarm.org/mailman/listinfo/support




reply via email to

[Prev in Thread] Current Thread [Next in Thread]