Computer Chess Club Archives


Search

Terms

Messages

Subject: Gerbil implementation request to Bruce Moreland

Author: Alvaro Jose Povoa Cardoso

Date: 06:31:02 08/09/01


Since you are undertaking the Gerbil educational project, I would like to ask
you if you could implement Enhanced Transposition Cuttofs (ETC) in Gerbil with a
switch so that it can be turned on/off.
I know ETC doesn't give much in chess but I would like to experiment in
checkers.
My inplementation is working but it is not elegant at all.
Since we are dealing with the other player I avoided some complications
by creating a special version of Hashprobe() wich returns a score and by use of
an additonal flag informs me if there was a cutoff at the next ply.
So, and using 'crafty language' I do the following:

for every move at this ply:

Makemove

Score =
-ETC_HashProbe(tree,ply+1,depth-INCPLY,ChangeSide(wtm),-beta,-alpha,&cutoff)

Unmakemove

if (cutoff) {
  if (Score >= beta) {
     return (Score);
  }
}


Best regards,
Alvaro Cardoso



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.