Computer Chess Club Archives


Search

Terms

Messages

Subject: Re: Crafty question.

Author: Robert Hyatt

Date: 14:13:54 01/25/00

Go up one level in this thread


On January 25, 2000 at 15:28:19, Tim wrote:

>Hello, Dr. Hyatt.
>
>I read Crafty 17.7 source code.
>I have two questions.
>
>1) Why didn't you initialize history_w, history_b, killer_move at NewGame()?

This is a harmless oversight.  I'll add the code, although it really has little
effect on things, since the history scores are dragged back toward zero after
each move.  4 book moves and these values end up at zero anyway.


>2) last_search_value was used in TimeCheck().
>   But it is updated at the end of Iteration(), not after each iteration loop.
>   So last_search_value doesn't contain updated value in TimeCheck().


This is a messy part of the code... I have been working on this every night,
as it is too complicated...  this happened when Mike Byrne and I were doing some
cute time allocation stuff a couple of years ago.  It will be "sane" in the
next version (I hope).



>
>Thanks.



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.