Computer Chess Club Archives


Search

Terms

Messages

Subject: Re: Eugene's EGTBs.

Author: frank phillips

Date: 07:48:09 09/02/99

Go up one level in this thread


On September 01, 1999 at 13:42:46, Eugene Nalimov wrote:

>On September 01, 1999 at 08:28:55, frank phillips wrote:
>
>>If I understand Eugene's  HOWTO document  about integrating his probing code
>>into programs, then I have to (only) set up the rgiCounters, which is a 10
>>element array giving the number of pieces of various types for each side, and
>>provide a pointer to two arrays giving the locations of white and black's
>>pieces, respectively.
>>
>>Are these two arrays two 64 element integer arrays and I pass the address of the
>>first element?
>
>You also have to provide macro (or functions) to fetch the information from
>those arrays. I beleive it's documented in file probe.txt, lines 39-61.
>
>>
>>Can I safely change the #defines so that, for instance, the piece-type
>>x_piecePawn is 0 instead of 1.  Or do I have to map my piece codes onto the ones
>>given?
>
>I think you cannot change those constants, but you can make conversion "on the
>fly" inside mentioned above macros/functions.
>
>Maybe you should look at the example code that I wrote for Crafty (probe.c and
>egtb.cpp). Or you can just use it with small modifications - neither Bob nor I
>will protest.
>
>Eugene
>
>>
>>Frank


Got it!  Thanks.
And thankyou for making these tables available.

Frank



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.