Computer Chess Club Archives


Search

Terms

Messages

Subject: Re: Strange programming problem

Author: Russell Reagan

Date: 16:35:54 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

If you search based on time, you are never going to search to the same depth as
if you would have searched based on depth. You are always going to get a partial
ply that wasn't searched completely. So the results will probably be different
as well. Probably the only way to determine which one is more accurate is for
you to run your program for longer and see which move your program likes after a
much longer search, then see if that move is either of the moves your program
likes when using time and depth.

Also, in CCT4, I don't think the time limit was 1 minute per move. I think it
was 60/10, which means that you start with 60 minutes on your clock, and you add
10 seconds each time a move is made. I could be wrong though.

In any case, it will be good to add time based searching into your engine, since
it will help when playing in tournaments.

Russell



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.