Computer Chess Club Archives


Search

Terms

Messages

Subject: Re: How to count the nodes?

Author: Benny Antonsson

Date: 14:43:17 02/26/02

Go up one level in this thread


On February 25, 2002 at 15:33:06, Severi Salminen wrote:

>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

How about the hashtable-lookup ?



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.