MASON-INTEREST-L Archives

May 2014

MASON-INTEREST-L@LISTSERV.GMU.EDU

Options: Use Monospaced Font
Show Text Part by Default
Condense Mail Headers

Message: [<< First] [< Prev] [Next >] [Last >>]
Topic: [<< First] [< Prev] [Next >] [Last >>]
Author: [<< First] [< Prev] [Next >] [Last >>]

Print Reply
Content-Transfer-Encoding:
8bit
Sender:
MASON Multiagent Simulation Toolkit <[log in to unmask]>
Subject:
From:
Sean Luke <[log in to unmask]>
Date:
Tue, 13 May 2014 22:02:26 -0400
MIME-version:
1.0 (Mac OS X Mail 7.2 \(1874\))
Content-type:
text/plain; charset=us-ascii
Reply-To:
MASON Multiagent Simulation Toolkit <[log in to unmask]>
Parts/Attachments:
text/plain (8 lines)
I want to give everyone a heads-up on a change made to MASON tonight.  SimState.start() now pulses the random number generator 1249 times before running the simulation.  As a result, simulations you had previously run with specific seeds will have different outcomes than before.

Why do this?  MersenneTwister initially returns the values used to seed it initially via its Knuth seeding generator.  These values are okay but not fantastically random.  After you pulse it about 624 times, these values are replaced with good solid MT numbers.  I'm pulsing it two rounds plus one extra (1249 = 624 * 2 + 1).

Also in case you're interested, MASON's doLoop() method now supports running multiple simulations in parallel at the command line.  I'm getting pretty good speedups with it.

Sean

ATOM RSS1 RSS2