Author: Matthew McKnight
Date: 21:53:50 11/25/03
Hi Bob,
iterate.c
In the iterative deepening algorithm, where you adjust your alpha and beta
values for researching, i notice this fragment:
else if (value <= root_alpha) {
-----> if (!(root_moves[0].status&2)) {
root_moves[0].status&=255-128;
root_moves[0].nodes=0;
root_moves[0].status|=1;
-----> if (root_moves[0].status&2) root_beta=MATE+1;
..... //code omitted
}
else break;
}
I drew arrows to the lines in question. Correct me if I'm wrong, but isn't this
a contradiction? How will root_beta=MATE+1 ever be executed? I'm looking for
ideas on adjusting alpha/beta at the root, as my current scheme seems poor. Is
there something here I don't understand?
Matt
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.