Computer Chess Club Archives


Search

Terms

Messages

Subject: Re: Just one more thing

Author: Robert Hyatt

Date: 07:53:33 07/29/02

Go up one level in this thread


On July 29, 2002 at 04:48:31, Alvaro Jose Povoa Cardoso wrote:

>How do you use the 2 element array draw_score[]?
>It is a bit difficult to me to grasp the use of this small array.
>Could you explain please?
>
>Best regards,
>Alvaro Cardoso

draw_score[0] is the draw score for black to move positions.  draw_score[1]
is the draw_score for white to move positions.

when you want to set the draw score to a non-zero value, this makes it easier
for the search to get a drawscore.  IE I can do

score=draw_score[wtm];

rather than

score=(wtm)? drawscore : -drawscore;




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.