Computer Chess Club Archives


Search

Terms

Messages

Subject: Re: PV length ???

Author: Severi Salminen

Date: 02:17:12 10/26/02

Go up one level in this thread


>score = -alphabeta(board, -alpha-1, -alpha, depth-1);
>
>if(score > alpha && score < beta)
>{
>   score = -alphabeta(board, -beta, -score, depth-1);
>			OR
>    score = -alphabeta(board, -beta, -score+1, depth-1);
>}

-score+1 is correct.

Severi



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.