Computer Chess Club Archives


Search

Terms

Messages

Subject: Re: definition of fh first move

Author: Michael Henderson

Date: 12:33:53 09/19/04

Go up one level in this thread


On September 19, 2004 at 15:08:59, Steve Maughan wrote:

>Pallav,
>
>>...don't count NULL moves & hash hits.
>
>I, and I think most people, count hash hits.
>
>Steve

I have this code:
Is this what most people do?

int Search() {
  HashProbe(val, flag, alpha, beta, hashMove);
  if ((val >= beta) && (hashMove != NULLMOVE)) {
    stats.fHighs++;
    stats.fHFirst++;
  }

  for (all moves) {
    val = Search();
    if (val >= beta) {
      if (movesSearched == 1) {
        stats.fHFirst++;
      }
      stats.fHighs++;
    }
  }
}



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.