Computer Chess Club Archives


Search

Terms

Messages

Subject: Re: Fafis and the virus

Author: Dieter Buerssner

Date: 13:15:28 05/25/05

Go up one level in this thread


On May 25, 2005 at 08:11:05, Thomas Mayer wrote:

>Hi Dieter,
>
>>> By the way: The reason why I send an "ucinewgame" before every position is
>>> simple: just to keep sure that the hash is cleared. Else solutions are not
>>> reproduceable at all.
>
>> It is of course no guarantee, that the engine will clear the hash tables.
>
>Well, I know that, but what else should I do ?

I think, you cannot do much better.

>I think in many engines this will
>clear the hash. By the way: When I want to use the clear hash function ? How is
>it done ? setoption Clear Hash value true or what ? I did not find anything
>about that in the specs...

There isn't anything defined. Many engines will send

option name Clear Hash type button

at startup (because this is given as an example in the UCI text). When they send
this, you can be pretty sure, that the engine will support hash clearing with
exactly this option.

eb2wb would send

setoption name Clear Hash

(note the "name" and the missing "value true" compared to your example). CB is
doing exactly this, IIRC. It does not check, that the engine sent option Clear
Hash ...

Cheers,
Dieter



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.