Computer Chess Club Archives


Search

Terms

Messages

Subject: Re: Strange programming problem

Author: Robert Hyatt

Date: 17:09:13 05/30/02

Go up one level in this thread


On May 30, 2002 at 19:25:26, William H Rogers wrote:

>In the last CCC4 tournement, the time controls were set to one minute per move.
>Currently my program only searches to fixed ply depths, so I tried to put in
>time controls. In the place where the program looks to see if the ply-max has
>been reached, I put in a time limit. The limit works and the program stops
>searching and makes a move at the right time. The problem is this, it never
>seems to make the same move that it would have if it had used the ply-max cutoff
>instead. Quite often the moves are different, and I can not say at this time if
>they are better or worse. Is this a normal situation or do I need to do
>something different?
>Thanks in advance
>Bill


make sure that when you notice "out of time" you _stop_ backing up
scores and PVs in your recursive search stuff.  Because you have not
finished the search, _none_ of the stuff can be backed up...

You have to play the best move you have backed up to the root so far...



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.