Author: Bruce Moreland
Date: 23:53:30 04/27/00
Go up one level in this thread
On April 27, 2000 at 22:13:35, Tom Kerrigan wrote: >On April 27, 2000 at 19:06:52, Bruce Moreland wrote: > >>It doesn't change during execution, it's created at boot time. For any given >>material configuration there is a list of endgame handlers, which may be empty. > >How do you encode the material such that it can be used to dispatch? > >-Tom Two 32-bit ints, one for each color, is enough. You just sub-divide into 4-bit bins or whatever. I'm trickier than this, but for these purposes this would be enough. You can hash the configurations or binary search a list each time material is captured. I don't remember what I do. bruce
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.