Computer Chess Club Archives


Search

Terms

Messages

Subject: Re: PV update after retrieval from hash table

Author: Leen Ammeraal

Date: 11:24:37 11/30/00

Go up one level in this thread


On November 30, 2000 at 12:57:08, Jon Dart wrote:

>On November 30, 2000 at 12:09:02, Leen Ammeraal wrote:
>
>>I use a trangular array pv[i][j] to
>>keep track of the principle variation,
>>as usual. Each row has length pv_length[i].
>>However, it is not clear
>>to me what to do with this array
>>when I retrieve a move from my hash table.
>>Can anyone give me a hint, please?
>
>I do the following, *only* if the hash move returned has an
>exact value:
>
>               if (score > alpha && score < beta)
>	       {
>                  pv[ply][ply] = hash_move;
>                  pv_length[ply] = 1;
>	       }
>
>--Jon

This seems to work well.
Thanks.
Leen




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.