[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [gnugo-devel] rand() % n
From: |
Douglas Ridgway |
Subject: |
Re: [gnugo-devel] rand() % n |
Date: |
Thu, 13 May 2004 15:01:05 -0600 (MDT) |
On Thu, 13 May 2004, David G Doshay wrote:
> How often is the RNG called in Gnu Go?
engine/value_moves.c and engine/fuseki.c (and handicap.c?) are I think the
primary places where they are used.
> I am having a problem imagining that the specific details of the RNG
> are really important. It seems that most any reasonable RNG, even
> a simple and direct linear congruential generator with "proper"
> parameters, should be fine.
Add "used appropriately", and I think we'll all agree. The only question,
no doubt overbelabored already, is whether using low order bits of TT800
is appropriate.
I think there is a problem with predictability -- in autoplay, I see lots
of repeat games. But you're right that it's unlikely to be the fault of
the generator, or even inappropriate use of a good generator.
doug.
- [gnugo-devel] rand() % n, Douglas Ridgway, 2004/05/07
- Re: [gnugo-devel] rand() % n, Gunnar Farnebäck, 2004/05/07
- Re: [gnugo-devel] rand() % n, Douglas Ridgway, 2004/05/07
- Re: [gnugo-devel] rand() % n, Paul Pogonyshev, 2004/05/13
- Re: [gnugo-devel] rand() % n, David G Doshay, 2004/05/13
- Re: [gnugo-devel] rand() % n, Gunnar Farnebäck, 2004/05/13
- Re: [gnugo-devel] rand() % n, Douglas Ridgway, 2004/05/14
- Re: [gnugo-devel] rand() % n, Gunnar Farnebäck, 2004/05/14
- Re: [gnugo-devel] rand() % n, Arend Bayer, 2004/05/15
- Re: [gnugo-devel] rand() % n, Gunnar Farnebäck, 2004/05/13
- Re: [gnugo-devel] rand() % n, Douglas Ridgway, 2004/05/13