Hi Ed,

...if all else fails(!), the easiest option might be to run Mason in it's batch mode (from the DOS prompt), using a DOS batch (.bat) script for the different parameterisation runs?

Rgds,

Steven



"Ed Long" <[log in to unmask]>
Sent by: "MASON Multiagent Simulation Toolkit" <[log in to unmask]>

20-Aug-2007 09:39

Please respond to "MASON Multiagent Simulation Toolkit" <[log in to unmask]>

       
To
[log in to unmask]
cc
Subject
Automating multiple runs





Hi,

I'm new to both MASON and Java programming so apologies if this is a bit
simple.

I have a simulation which runs nicely via the GUIState for single runs.  In
order to generate some data for stats analysis I'd like to get it to run
the simulation multiple times without the GUI, and also pass in an
automatically numbered filename to take output and a varying parameter
value.

From what I can see, the doLoop method is what I need but I can't seem to
get my head round the syntax.  Should I be writing the code within my
Engine (extension of SimState) class or a wrapper class which calls Engine?

Any help much appreciated!

Ed Long


-----------------------------------------------------------
This e-mail was sent by GlaxoSmithKline Services Unlimited 
(registered in England and Wales No. 1047315), which is a 
member of the GlaxoSmithKline group of companies. The 
registered address of GlaxoSmithKline Services Unlimited 
is 980 Great West Road, Brentford, Middlesex TW8 9GS.
-----------------------------------------------------------