Computer Chess Club Archives


Search

Terms

Messages

Subject: Re: Contempt factor

Author: Robert Hyatt

Date: 21:03:25 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
>?


That's all there is too it.  :)

Just beware of making it too big or too small.   I have gone as small as
-1.00 (ie a draw is as bad as losing a pawn)..  to +1.00, which means a draw
is as good as winning a pawn.



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.