🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.chess
Article #5277

Re: Gnuchess pl62 plays inconsistently

#5277
From: Chua Kong Sian
Date: Tue, 30 Nov 1993 01:39
43 lines
2508 bytes
> Shouldn't a call to InitializeStats before the iterative deepening
> begins fix this (Because a new PieceList is generated?)
> I did this but I still have the following problem.

Ah, not really.  Let me try and explain it with an example.  Suppose
that before iterative deepening begins, the PieceList for white is
as follows.

PieceList[] = { K, P, P, P, R, N, Q, B };

Let say that during the search, the white N is captured by the opponent.
The new PieceList would e

PieceList[] = { K, P, P, P, R, Q, B };

Now when the search is undoing the capture, it would stick the N right
at the back (all these is in UpdatePieceList() routine in search.c).

PieceList[] = { K, P, P, P, R, Q, B, N };

It is very likely that moves generated from this PieceList and moves
generated from the original PieceList will gives a slightly different order.
This is because move generation begins from the start of the PieceList array.
Even after applying some ordering heuristics (see my previous post), the
order will still be slightly different.  This is where the inconsistency
arises.


> I'm really beginning to become paranoid because my current version
> finds the solution to bk010 in 5 seconds (Sdepth=4) when started fresh.
> When I have a dirty gnuchessr (by first solving another bk problem) then
> the solution is found after 50 seconds in Sdepth 5 !!!
> Turning of the nullmove heuristic and the hashtable makes no difference
> and I have the evaluation cache disabled.

This is interesting.  All the while my impression is that the difference
between a "clean" and a "dirty" gnuchessr is the hashtable.  Perhaps I 
was mistaken.  This is definitely not due to the PieceList thingie discussed
above.  I'll try and see if I can figure this one out.

Regards.

Kong Sian
Technical Details
Message-ID: <2de880$l8f@nuscc.nus.sg>
Path: arc1-ca.pugleaf.net!gmd.de!xlink.net!sol.ctr.columbia.edu!math.ohio-state.edu!darwin.sura.net!newsserver.jvnc.net!newsserver.technet.sg!nuscc.nus.sg!nsrccks
References: <2dbq9b$16o@nuscc.nus.sg> <CH9H58.Avw@izf.tno.nl>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 10d71d,29333195867e3758
X-Google-Attributes: gid10d71d,public
X-Google-ArrivalTime: 1993-11-29 19:21:36 PST
Path: arc1-ca.pugleaf.net!gmd.de!xlink.net!sol.ctr.columbia.edu!math.ohio-state.edu!darwin.sura.net!newsserver.jvnc.net!newsserver.technet.sg!nuscc.nus.sg!nsrccks
From: nsrccks@leonis.nus.sg (Chua Kong Sian)
Newsgroups: gnu.chess
Subject: Re: Gnuchess pl62 plays inconsistently
Date: 30 Nov 1993 01:39:12 GMT
Organization: National University of Singapore
Lines: 43
Message-ID: <2de880$l8f@nuscc.nus.sg>
References: <2dbq9b$16o@nuscc.nus.sg> <CH9H58.Avw@izf.tno.nl>
NNTP-Posting-Host: leonis.nus.sg
X-Newsreader: TIN [version 1.2 PL0]