Author: Camp Troll
Date: 07:11:11 11/09/05
Hello, Dr.Hyatt.
I added following lines to see if it works when move is found from hash table.
When Crafty runs, it prints a lot of illegal hash move statement.
For example, it prints "Illegal hash mvoe i = 10 null".
OutputMove() is null.
Is this normal?
if (pv->pathh == 1) {
for (i = pv->pathl + 1; i < MAXPLY; i++) {
HashProbe(tree, i, 0, wtm, &dummy, dummy, &dummy);
if (tree->hash_move[i] && LegalMove(tree, i, wtm, tree->hash_move[i])) {
.................
Print(4095, "Legal hash move i = %d %s\n", i, OutputMove
.................
}
else {
.................
Print(4095, "Illegal hash move i = %d %s\n", i, OutputMove(tree, tree-
>hash_move[i],i,wtm));
...................
break;
}
wtm = Flip(wtm);
if (wtm)
t_move_number++;
}
sprintf(buffer + strlen(buffer), " <HT>");
} else if (pv->pathh == 2)
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.