gnugo-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[gnugo-devel] Gnugo timing bug ?


From: Mike Cumpstey
Subject: [gnugo-devel] Gnugo timing bug ?
Date: Tue, 19 Feb 2002 11:34:05 +0000 (GMT)

While trying to figure out why gnugo (version 3.0.0) sometimes overruns
the time control, I spotted a small bug in the Autolevel system. In
function estimate_time_by_move() the line

    res += coef[i] * (clk.date[move-9+i] - clk.date[move-10+i]);

needs to be changed to

    res += coef[i] * (clk.date[move-9+i*2] - clk.date[move-10+i*2]);

in order to calculated an average time per move of it own moves rather
than a mixture of own and opponents.

Also, I think the current Autolevel system is rather inflexible so I am
currently looking at possible ways to improve it and make it more reliable
at sticking to the time limits.

regards,

-- Mike

-----------------------------------------------------------------
Mike Cumpstey, Room IT208, Department of Computer Science,
University of Manchester, Oxford Road, Manchester, M13 9PL, U.K.
Tel: (+44) 161 275 0644                 FAX: (+44) 161 275 6236
EMAIL: address@hidden   Research Group: Amulet
-----------------------------------------------------------------




reply via email to

[Prev in Thread] Current Thread [Next in Thread]