🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.chess
Article #5619

Re: Hashing in gnuchess 4.0 pl 61

#5619
From: Urban Koistinen
Date: Mon, 26 Apr 1993 16:33
45 lines
2373 bytes
In article <1rglhs$l3d@news.cs.tu-berlin.de> dietmar@cs.tu-berlin.de (Dietmar Wolz) writes:
->Content-Transfer-Encoding: 8bit
->
->
->Some ideas about hashing in gnuchess4pl61:
->
->1) routine PutInTTable in util.c
->
->      if (score > beta)
->        {
->          ptbl->flags = lowerbound;
->          ptbl->score = beta + 1;
->        }
->      else
->        ptbl->flags = truescore;
->
->Why beta+1 is stored ? If we have a window (alpha,beta) and a result score
->with score > beta, then score should be a lower bound for the real value.
->Storing score instead of beta+1 would cause more (correct) cuts.

The evaluation routine use a less scoring routine when the score seem
certain to be outside the alpha-beta interval anyway.
If the score is known to be evaluated accurately, then your
suggestion would be useful. Maybe adding a flag to tell if
the score is based on inaccurate calculations would be useful.
The simplest thing would be to make the inaccurate calculation
return beta+1, then no flag is needed.

->    
->2) routine ProbeTTable in util.c:
->
->#ifdef notdef                   /* Never happens! see search */
->          else if (ptbl->flags & upperbound)
->
->Thats true, but why ? Todays machines have large memory resulting in large
->transposition tables. Why not also store upper bounds ? This again results
->in more cuts during search.

Try it! With large transposition tables it might, as you say, result
in more cuts. It might also not be worth it.

Comment I fully agree with deleted.
-- 
Urban Koistinen - md85-epi@nada.kth.se
Stop software patents, interface copyrights:  contact lpf@uunet.uu.net
Technical Details
Message-ID: <1993Apr26.163353.24916@kth.se>
Path: arc1-ca.pugleaf.net!gmd.de!newsserver.jvnc.net!howland.reston.ans.net!zaphod.mps.ohio-state.edu!cs.utexas.edu!uunet!mcsun!sunic!celsiustech.se!admin.kth.se!kth.se!hemul.nada.kth.se!md85-epi

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 10d71d,d290045303a8aad2
X-Google-Attributes: gid10d71d,public
X-Google-ArrivalTime: 1993-04-26 11:02:46 PST
Newsgroups: gnu.chess
Path: arc1-ca.pugleaf.net!gmd.de!newsserver.jvnc.net!howland.reston.ans.net!zaphod.mps.ohio-state.edu!cs.utexas.edu!uunet!mcsun!sunic!celsiustech.se!admin.kth.se!kth.se!hemul.nada.kth.se!md85-epi
From: md85-epi@hemul.nada.kth.se (Urban Koistinen)
Subject: Re: Hashing in gnuchess 4.0 pl 61
Message-ID: <1993Apr26.163353.24916@kth.se>
Sender: usenet@kth.se (Usenet)
Nntp-Posting-Host: hemul.nada.kth.se
Organization: Royal Institute of Technology, Stockholm, Sweden
Date: Mon, 26 Apr 1993 16:33:53 GMT
Lines: 45