Author: Severi Salminen
Date: 12:33:06 02/25/02
Go up one level in this thread
Hi!
Remember also that the general concensus is to count horizon nodes as "normal"
nodes and only nodes generated in qsearch() as qnodes. I used to increment
qnodes at the beginning of qsearch() but this lead to some odd figures: 80% of
all my nodes were qnodes as it "should" be below 20%. But all the mistakes are
easily corrected if you increase after makemove(). But don't increase if you
make an illegal move or if you futility prune the move. So something like
ab()
{
if(depth==0)
qsearch();
make_pseudo_legal_move();
if(move_was_legal() and !pruned_last_move())
{
nodes++;
ab();
}
}
And the same in qsearch() but increase qnodes instead. I'm not doing the exact
above so it might contain some errors...
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.