Author: Vincent Diepeveen
Date: 18:57:18 06/13/98
Go up one level in this thread
On June 13, 1998 at 16:32:41, Stuart Cracraft wrote: >Hi, > >My program has a strange problem. Perhaps sharing this >will make a lightbulb light up somewhere... I'm fresh out of bulbs. >Fine, it runs well with test positions from Slate's article in >the ICCA Journal. After three "shocks" it's written out >3x28 bytes of information and learns plays Slate's examples >well enough to play all the exact moves as Slate's Mouse program, >avoiding the bad variations it would have naturally gone into >and even avoiding a bad move in a position with quite afew >different pieces and locations than in the learned position >illustrating the sharing of learning experience in some class >of overlapping families of related positions in the search-tree. >So I now let it run on ICS. After a time I come back and >it's written out an ODD number of bytes!!! Impossible. >It is doing only write()'s of sizeof the hash entry which is >28 bytes. I use open and read to read it, nothing buffered. >The effect is when a "bad record" is written, the learn >file restore stops and the program continues but with >far fewer learnt positions than are actually in the >buggy learn file. Cool. In a world consisting out of even number of bytes it learns to work with odd numbers of bytes. What's your problem, it simply has learned to work in another dimension! >--Stuart H. H. Vincent
This page took 0 seconds to execute
Last modified: Thu, 15 Apr 21 08:11:13 -0700
Current Computer Chess Club Forums at Talkchess. This site by Sean Mintz.