|
From: Jorge <jc...@gm...> - 2015-06-29 01:59:31
|
I'm using Repast Simphony 2.3.1. In the GUI I set the random seed to "1" and ran the simulation a few times. I received consistent results (Zombie Count goes from 9 to 10 at tick 165). "tick","run","random_seed","Human Count","Zombie Count" ... 164.0,1,1,3,9 165.0,1,1,2,10 However, when I run the same simulation using AbstractRunner and setting the seed to "1", I get different results (Zombie Count goes from 9 to 10 at tick 190). These results are consistent across AbstractRunner runs, but not consistent with GUI runs using the same random seed. "tick","run","random_seed","Human Count","Zombie Count" ... 189.0,2,1,3,9 190.0,2,1,2,10 On a different note, I tried to change the parameter values in the GUI, clicked "set current parameter as default value", and hit save, and the parameters were not updated in the parameter.xml file. It may also be useful to have a checkbox for the random seed to represent null. <parameter name="randomSeed" displayName="Default Random Seed" type="int" defaultValue="__NULL__" isReadOnly="false" converter="repast.simphony.parameter.StringConverterFactory$IntConverter" /> -- View this message in context: http://repast.10935.n7.nabble.com/Random-Seed-tp11068.html Sent from the repast-interest mailing list archive at Nabble.com. |