Article View: gnu.chess
Article #5275Re: Gnuchess pl62 plays inconsistently
From: Tom Vijlbrief
Date: Mon, 29 Nov 1993 16:15
Date: Mon, 29 Nov 1993 16:15
47 lines
2350 bytes
2350 bytes
nsrccks@leonis.nus.sg (Chua Kong Sian) writes: >Even after disabling the cache, Tom Vijlbrief reported that nodes counts >are still differing after an "undo" and a "go". This time the difference >arises only if a capture is undo (non captures will give the same node >count). The reason is because the PieceList array is now arranged >differently. (This array contains the pieces that are remaining on the >board. Undoing a capture will yield a piecelist array that has the >captured piece in a new location in the array then the original array). >With a slightly different PieceList array, the move generation order is >changed. Subsequently a difference sequence of moves will give rise >to different node counts during the search. 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. 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. Tuning gnuchess is ofcourse little fun and almost impossible as long as this happens :-( >If we were to change genmoves.c MoveList() routine to search the board >rather than the PieceList during the move generation, the nodes counts >report will now be correct. >Once I figure out why having cache and not having cache gives rise to >different node counts, I will report the finding. That would be great !!! >Regards. >Kong Sian > Thanks ! Tom
Technical Details
Message-ID:
<CH9H58.Avw@izf.tno.nl>Path:
arc1-ca.pugleaf.net!gmd.de!xlink.net!howland.reston.ans.net!europa.eng.gtefsd.com!uunet!EU.net!sun4nl!izfcs!tomReferences:
<2dbq9b$16o@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-29 10:45:12 PST Newsgroups: gnu.chess Path: arc1-ca.pugleaf.net!gmd.de!xlink.net!howland.reston.ans.net!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: <CH9H58.Avw@izf.tno.nl> Organization: TNO Institute for Perception References: <2dbq9b$16o@nuscc.nus.sg> Date: Mon, 29 Nov 1993 16:15:07 GMT Lines: 47