[Top][All Lists]

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

[Bug-gnubg] Setting the random seed

From: Timothy Y. Chow
Subject: [Bug-gnubg] Setting the random seed
Date: Wed, 10 Mar 2010 16:40:40 -0500 (EST)
User-agent: Alpine 2.00 (LFD 1167 2008-08-23)

Currently I do the majority of my rollouts (on my Linux box) by preparing a text file that looks something like this---

set gnubgid 0DNjwDDg6+ABDA:cAkTAAAAAAAA
cmark move set rollout 1 2 3
analyse rollout move
save position "mypos.sgf"

---and then piping it to "gnubg -t". What I want to do is to set the seed for the random number generator. If I add the command "set seed 123" to the above text file, e.g., just before "analyse rollout move", then gnubg will report "Seed set to 123". However, this is apparently a lie, because if you examine the actual rollout results, the seed used will *not* be 123. How do I set the seed to 123?


reply via email to

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