bug-gnu-chess
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Idepth and other issues


From: Simon Waters
Subject: Re: Idepth and other issues
Date: Fri, 14 Feb 2003 14:33:12 +0000
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.2.1) Gecko/20021130

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Tim Bedding wrote:
> The file main.c has a variable
>   int Idepth;
> and I cannot see what this means.
>
> I checked the README but did not find
> anything on it.
>
> There seems to be a calculation
> Idepth/DEPTH which always returns
> an integer. Is this the number of
> ply?

Idepth is the depth to search to in multiples of DEPTH.

So Idepth=48 (DEPTH=12) means this is the 4th time searching
through iterate, and we should search 4 ply (plus extensions).

> Could the code be simplified
> to avoid this calculation?

Outside of output handling, the code should avoid the division -
I think two exist - I'll look at them but I don't think either
is performance sensitive.

I think there maybe some lurking need to have multiples of
DEPTH, although most of this code is long gone, and losing
"DEPTH" would make much of it more readable.

THREATEXT is also stale code - probably ought to be polished and
included, or dumped.

> Also, it would be nice for the
> README to cover the output format
> of the principal variation.
>
> I see 1+ 2& 2. but do not know
> what they mean.

I'll check the documentation covers these.

AFAIK "+" fail high, "-" fail low, "&" thinking, "." done thinking.
-----BEGIN PGP SIGNATURE-----
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQE+TP4mGFXfHI9FVgYRAn8hAKCZ8xlws5dMgrylphkrDR2gGR2qyQCeIRRs
XY7K5MHxy5MYVR+L1FWM1t0=
=CIdb
-----END PGP SIGNATURE-----




reply via email to

[Prev in Thread] Current Thread [Next in Thread]