Author: Antonio Dieguez
Date: 09:54:58 10/26/02
Go up one level in this thread
actually this
make
score=-alphabeta(board, -beta, -alpha, depth-1);
unmake
...
then a loop:
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.