Author: Peter Fendrich
Date: 16:24:13 02/25/02
Go up one level in this thread
On February 25, 2002 at 17:13:18, Benny Antonsson wrote: >Hi ! > >I have a constant value called DRAW_VALUE = 0. >This constant is used in e.g. the evaluation function, if the position is >a known draw, or in the serach if the position is a stalemate and so on. > >My question is: Can I change this constant to say -30 or something like that, >and this will work as a contempt factor... or are there things I'm missing here >? Hi Benny, That's basicly what I'm doing (with the comment made by Odd Gunnar). A simple solution to the "sign problem" is: return Draw_tab[wtm]; The Draw_Tab has two entries (white and black) and is set before each search. //Peter
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.