Author: David Rasmussen
Date: 08:38:40 11/26/02
Go up one level in this thread
On November 26, 2002 at 10:28:24, Sune Fischer wrote: > >You must have some extension that goes mad, like a threat extension or >something. I get around 55% qnodes, so you are right it is high but not _that_ >high. > An extension? They're Q-nodes, and I don't "extend" in Q-search. >>I'm counting like this: > >Why not do it like this: > >>Score Search(pos,...) >>{ >> ++nodes; >> ... >> if (depth < ONE_PLY) >> return Quiescence(pos,...); >> ... >>} >> >>and >> >>Score Quiescence(pos,...) >>{ > // no counter here... >> ... >> while (anymore interesting moves) >> { >> ... >> MakeMove(pos,move); >> score = -Quiescence(pos,...); >> UnMakeMove(pos,move); >> >> ++qNodes; >> ... >> } >>} > >Then you just have total nodes = nodes+qnodes and the percentage will be >nodes*100/qnodes. Cheaper to do 1 add outside the search of course. > That's just as good (or better). But I don't think it can be measured at all if I do this or that. And the counts should be the same anyway. It's conceptually simpler, though, which is why I might change how I do it. It's still a mystery why I get 97% qNodes in this position. /David
This page took 0.01 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.