Article View: gnu.chess
Article #5281Re: Gnuchess pl62 plays inconsistently
From: Tom Vijlbrief
Date: Tue, 30 Nov 1993 13:43
Date: Tue, 30 Nov 1993 13:43
53 lines
2212 bytes
2212 bytes
nsrccks@leonis.nus.sg (Chua Kong Sian) writes:
>> 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.
...... (Correct explanation of PieceList ordering deleted.)
I tried to say that inserting a InitializeStats() at the start
of SelectMove() generates a fresh PieceList. This means that
undoing a move (with the undo command from the commandline)
does no longer change the piecelist with which the search is
started in SelectMove, i.e. it does not explain the differing tree
counts.
I think I found a small problem. INCscore is not initialised
at ply 1. So I added:
if (ply == 1)
INCscore= 0;
at the start of search().
I also added:
#if 1
/* Make sure that width test at lower ply gets non random move
count in case of pruning: -- TomV
This test also allows us to delay move generation till the
null move is done.
*/
if (ply>1)
TrPnt[ply+1]= TrPnt[ply];
#endif
/*
* if more then DepthBeyond ply past goal depth or at goal depth and
* score > beta quit - means we are out of the window
*/
......
Both changes do however still not solve my original tree count problems.
Anyway, I'll continue to give the code a close look.
Thanks for doing the same. I hope we (or someone else) can solve this soon...
Tom
Technical Details
Message-ID:
<CHB4s4.FqG@izf.tno.nl>Path:
arc1-ca.pugleaf.net!gmd.de!newsserver.jvnc.net!darwin.sura.net!paladin.american.edu!europa.eng.gtefsd.com!uunet!EU.net!sun4nl!izfcs!tomReferences:
<2dbq9b$16o@nuscc.nus.sg> <CH9H58.Avw@izf.tno.nl> <2de880$l8f@nuscc.nus.sg>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-30 07:12:30 PST Newsgroups: gnu.chess Path: arc1-ca.pugleaf.net!gmd.de!newsserver.jvnc.net!darwin.sura.net!paladin.american.edu!europa.eng.gtefsd.com!uunet!EU.net!sun4nl!izfcs!tom From: tom@izf.tno.nl (Tom Vijlbrief) Subject: Re: Gnuchess pl62 plays inconsistently Message-ID: <CHB4s4.FqG@izf.tno.nl> Organization: TNO Institute for Perception References: <2dbq9b$16o@nuscc.nus.sg> <CH9H58.Avw@izf.tno.nl> <2de880$l8f@nuscc.nus.sg> Date: Tue, 30 Nov 1993 13:43:15 GMT Lines: 53