Computer Chess Club Archives


Search

Terms

Messages

Subject: Re: Questions about hash table implementation?

Author: Gian-Carlo Pascutto

Date: 22:20:06 05/22/01

Go up one level in this thread


On May 22, 2001 at 20:21:37, Pham Minh Tri wrote:

>Actually, I use the random seed in hope that my program could play the little
>different games even they have the same openings. But I should agree with you
>because of other reasons.

You can use your packaged random number generator to generate the numbers
for your hashtable (or precalculate them once and store them in the source)
and rely on the system's random number generator for the opening book choice.

You can seed the second one with the time so it varies, and the first one
with a fixed value so it is reproducible.

--
GCP



This page took 0 seconds to execute

Last modified: Thu, 15 Apr 21 08:11:13 -0700

Current Computer Chess Club Forums at Talkchess. This site by Sean Mintz.