Author: Robert Hyatt
Date: 14:10:33 08/16/02
Go up one level in this thread
On August 16, 2002 at 16:59:02, Alvaro Jose Povoa Cardoso wrote:
>Could someone (namely Dr. Hyatt) please explain to me the meaning/purpose of the
>PATH structure member variables pathh, pathl and pathd ?
>
>Thanks in advance,
>Alvaro Cardoso
>
>typedef struct {
> int path[MAXPLY];
> unsigned char pathh;
> unsigned char pathl;
> unsigned char pathd;
>} PATH;
pathh is normally zero (0) It is set to 1 if the path is a hashed
PV, which means it is "short". I use this to add the <HT> or <EGTB>
strings to the PV as it is displayed. A path with pathh == 0 is a path
that was backed up by the normal means from a regular terminal position
scored in Evaluate(). A path with pathh==1 terminated with an EXACT
hash match or an EGTB hit.
pathl is the number of moves in the path.
pathd is the depth of search used to find this path, ie the iteration
number. Since pathl and pathd don't have to be the same, due to extensions
and depth reductions, I need both for clarity.
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.