[computer-go] 10k UCT bots
Gunnar Farnebäck
gunnar at lysator.liu.se
Sun May 18 11:55:14 PDT 2008
Hideki Kato wrote:
> I didn't against you, Álvaro, rather I just made a caution for
> programmers who will use your pseudo code as is. :)
>
> First, I prefer SFMT (SIMD-oriented Fast Mersenne Twister) rather
> than integer pseudo random number generators in practice where the
> quality of play-out is important. Modern processors execute floating
> operations as fast as interger ones and
> picked = mt_rand() * (double) num_candidates;
> is the simplest and safe.
Please note that for uniformity purists this method has exactly the
same problem as good_quality_int_rand() % num_candidates.
/Gunnar
More information about the computer-go
mailing list