Computer Chess Club Archives


Search

Terms

Messages

Subject: Re: PV length ???

Author: Antonio Dieguez

Date: 09:50:15 10/26/02

Go up one level in this thread


or may be something like this(note that im not doing this so errors are likely)

score=-infinity

make
aux = -alphabeta(board, -alpha-1, -alpha, depth-1);
if(aux > alpha && aux < beta)
{
    unmake & make(depends on the program)
    aux = -alphabeta(board, -beta, -aux+1, depth-1);
}
unmake

if (aux>score)
{ score=aux; }

if (aux>alpha)
{
    if (aux>=beta)
    {....return aux }
    alpha=aux
...
}
etc.




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.