Computer Chess Club Archives


Search

Terms

Messages

Subject: Re: FRC start position generator

Author: Dann Corbit

Date: 17:28:51 06/07/04

Go up one level in this thread


On June 07, 2004 at 20:19:12, Dann Corbit wrote:

>ftp://cap.connx.com/pub/chess-engines/new-approach/frcpos.c

It would be a lot better as a C++ class with srand((unsigned)time(NULL)) in the
constructor.  Also, the C/C++ prng of questionable quality would be much better
replaced by the Mersenne Twister.  In fact, the MT prng is so good, you could
replace the monkey business with floating point and division by a modulus
operator.



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.