Author: Uri Blass
Date: 21:42:07 10/28/02
Go up one level in this thread
On October 29, 2002 at 00:30:28, Pham Hong Nguyen wrote: >On October 28, 2002 at 23:10:31, Russell Reagan wrote: > >>On October 28, 2002 at 20:28:43, Pham Hong Nguyen wrote: >> >>>Hi all, >>> >>>I read that someone suggests the margin between the evaluations and materials >>>should not excess 1.5 of pawn. However, my margin is 1.5 of ... queen and I >>>think that causes many problems for my program: difficult to apply razoring, >>>lazy eval, cut off in qsearch... >>> >>>So my questions here are: >>>- What is the margin of Crafty? >>>- Could you share some experiences about your margin and its >>>advances/disadvances? >>> >>>Many thanks for any answers. >>>+PHN >> >>You can't set a static margin. If MATE is 32768 (or whatever) that's not going > >Russell, MATE is returned by searching, not by evaluation function. My evaluation function can return mate score. If the number of moves of the side to move is 0 then I return 0 or mate in my evaluation function(0 if the side to move is not in check). I guess that you search until the king is captured and only after the king is captured you return mate or stalemate but it is not a general rule for all the programs. Uri
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.