Computer Chess Club Archives


Search

Terms

Messages

Subject: Re: Pro Deo wish for Ed

Author: Odd Gunnar Malin

Date: 07:40:18 06/15/05

Go up one level in this thread


On June 15, 2005 at 06:32:19, Ed Schröder wrote:

>On June 15, 2005 at 06:11:15, Odd Gunnar Malin wrote:
>
>
>>I can add this feature to the adapter if it is needed, is there any wb-engine
>>that support this feature (I didn't find a command in ProDeo for this)?
>>
>>In my own engine I have two commands:
>>
>>discard [movelist]   - To exclude moves from the search
>>search  [movelist]   - To only search for the moves in the list.
>>
>>Both of these command are easy to implement in the adapter.
>
>It would be nice to have it in wb2uci. I would certainly program it.
>
>Ed
>
>
>
>>The first (discard) is because it's easier to use when you run the engine in
>>console mode, but from a gui it shouldn't be needed.
>>
>>[movelist] is a list of moves with space inbetween ( search Nxf6 a2a4 Ra1-c1
>>etc.).
>>


I put up a version with this feature at:
http://home.online.no/~malin/sjakk/download/Wb2Uci_1.3_B21.zip

To enable this you must but either discard or search into the option section.

Search = command
  Restrict the search to only moves in a movelist.

Discard = command
  Exclude moves from searchlist.

Search have preference over discard.

Ex.

[OPTIONS]
...
...
Search = setvar search

You can also use %s if the movelist should be put into the string and not at the
end.

Ex. If Lex's version need a analyze command after the setvar command.

[OPTIONS]
...
...
Search = setvar search %s\nanalyze

I update the helptext at the webpage later.

Odd Gunnar



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.