Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.c++ > #10028

Factors Inhibiting Reproducability Of Simulation Results

Path csiph.com!x330-a1.tempe.blueboxinc.net!usenet.pasdenom.info!gegeweb.org!de-l.enfer-du-nord.net!feeder1.enfer-du-nord.net!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail
From Chris Gordon-Smith <use.address@my.homepage>
Newsgroups comp.lang.c++
Subject Factors Inhibiting Reproducability Of Simulation Results
Date 10 Sep 2011 14:26:19 GMT
Lines 13
Message-ID <9d1acbF38fU2@mid.individual.net> (permalink)
Mime-Version 1.0
Content-Type text/plain; charset=UTF-8
Content-Transfer-Encoding 8bit
X-Trace individual.net huKxCI2iaR3HD5PnBL9UsQ1Qw7TEQmTqyB2LrIuYI4csjUojpI
Cancel-Lock sha1:FQSGFJXOTYyE+QE+jT1t7+2Ie7g=
User-Agent Pan/0.133 (House of Butterflies)
Xref x330-a1.tempe.blueboxinc.net comp.lang.c++:10028

Show key headers only | View raw


I just managed to get my artificial chemistry simulation producing the 
same results when I run it twice with the same parameters. Perhaps some  
members of the group will be interested in the two factors that led to 
differing results:

1)   My graphics library (GTKMM2) calling rand() at random times between 
the calls made by my code
2)   My code storing pointers in an std::set, and then iterating over the 
set. The ordering is dependent on the memory locations of the dynamically 
allocated objects to which the pointers point.

Chris Gordon-Smith
www.simsoup.info

Back to comp.lang.c++ | Previous | Next — Next in thread | Find similar | Unroll thread


Thread

Factors Inhibiting Reproducability Of Simulation Results Chris Gordon-Smith <use.address@my.homepage> - 2011-09-10 14:26 +0000
  Re: Factors Inhibiting Reproducability Of Simulation Results "Paul" <pchristor@yahoo.co.uk> - 2011-09-10 17:04 +0100
  Re: Factors Inhibiting Reproducability Of Simulation Results Jorgen Grahn <grahn+nntp@snipabacken.se> - 2011-09-11 20:41 +0000
    Re: Factors Inhibiting Reproducability Of Simulation Results Miles Bader <miles@gnu.org> - 2011-09-12 10:02 +0900

csiph-web