Computer Chess Club Archives


Search

Terms

Messages

Subject: Re: Question: PVS and Mate Search

Author: Robert Hyatt

Date: 08:33:36 06/02/04

Go up one level in this thread


On June 01, 2004 at 20:39:22, William Bryant wrote:

>If you are re-searching a score from the root that is a mate score
>(alpha is > 32000 or alpha is < -32000),
>should you turn PVS off?
>
>Has this been looked at before?
>


I don't see any reason to do this.  The PVS principle applies to mate positions
just as well as it applies to non-mate positions...



>Example code:
>
>//Do PVS
>if ((foundOne) && (alpha < 32000) && (alpha > -32000)) {
>	X = -NMSearch(-alpha-1, -alpha, depth+extensions, &line);
>	//Don't trust a first fail high until it has been researched
>	//  therefore don't use (X < beta) in the below equasion
>	if ((X > alpha) && (!gAbort))
>		X = -NMSearch(-beta, -alpha, depth+extensions, &line);
>	}
>else
>	X = -NMSearch(-beta, -alpha, depth+extensions, &line);
>
>William



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.