Author: Severi Salminen
Date: 01:22:12 11/23/00
Go up one level in this thread
>For mates it is easy. Just set the length of the PV to ply-1, when you find >you have no legal moves at ply. IE in Crafty, I have a string of moves in >the PV array, and a path_length variable that tells me how many moves are >in there... > >This also saves a bit of memory copying as when you back up a PV, you only >have to back up the PV array from the current ply to the end of the PV. The >previous ply can add in its move after it chooses what to back up. Etc... Thanks! Are there any other situations where things go wrong and do you know how to handle them? I was able to fix the mate problem but then I found another problem. But let's see what I can do... Severi
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.