Article View: gnu.chess
Article #5272Gnuchess pl62 plays inconsistently
From: Chua Kong Sian
Date: Mon, 29 Nov 1993 03:28
Date: Mon, 29 Nov 1993 03:28
28 lines
1837 bytes
1837 bytes
After more experiments regarding the different node counts issue, this is what I discovered. Of course, the first thing that causes a difference is the cache. I agree that this shouldn't, but haven't been able to figure out why it did. 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. 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. Regards. Kong Sian
Technical Details
Message-ID:
<2dbq9b$16o@nuscc.nus.sg>Path:
arc1-ca.pugleaf.net!gmd.de!newsserver.jvnc.net!newsserver.technet.sg!nuscc.nus.sg!nsrccksShow Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 10d71d,29333195867e3758,start X-Google-Attributes: gid10d71d,public X-Google-ArrivalTime: 1993-11-28 21:54:31 PST Path: arc1-ca.pugleaf.net!gmd.de!newsserver.jvnc.net!newsserver.technet.sg!nuscc.nus.sg!nsrccks From: nsrccks@leonis.nus.sg (Chua Kong Sian) Newsgroups: gnu.chess Subject: Gnuchess pl62 plays inconsistently Date: 29 Nov 1993 03:28:43 GMT Organization: National University of Singapore Lines: 28 Message-ID: <2dbq9b$16o@nuscc.nus.sg> NNTP-Posting-Host: leonis.nus.sg X-Newsreader: TIN [version 1.2 PL0]