Author: Nicolas Carrasco
Date: 18:17:21 11/18/99
Go up one level in this thread
Crafty book isn't soo simple as you explained. It separetes the curent position in two parts(only piece locations, not: EP, FIFTY DRAW, NUMBER OF MOVES...). First searchs if the first part is exactly the same and if so, it compares the seccond part, and after that determine if the position can be played as is on the BINARY BOOK because we can't avoid moveing a move that in the book says "moves done 10" and we have done only 5. Nicolás Carrasco http://www.puntadeleste.to/uruchess/ On November 18, 1999 at 01:17:54, Michel Langeveld wrote: >On November 17, 1999 at 23:10:22, James Robertson wrote: > >>My current book format is just an array of hash codes that the program jumps >>through trying to find a match for the current position. There must be something >>faster, so I am wondering what other people do. If programmers could explain to >>me how their books are formatted, I would really appreciate it. >> >>Thanks in advance, >>James > >The format is OK in my opinion (Crafty uses the same format). In this way it's >possible to detect move-order-change, etc. I think if you sort the book you can >find fast position by searching binairy. In this way if you have 65536 position >you can find any book position by reading "only" 16 position from the book. > >Michel Langeveld
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.