asmFishW_2017-10-03_popcnt.exe update

Discussion of anything and everything relating to chess playing software and machines.

Moderators: hgm, Rebel, chrisw

User avatar
lantonov
Posts: 216
Joined: Sun Apr 13, 2014 5:19 pm

Re: asmFishW_2017-10-03_popcnt.exe update

Post by lantonov »

Gusev wrote: Thanks!! :idea: Please add native support for Polyglot opening books, as in Houdini 6.02.
I don't know how the new Houdini supports Polyglot books, but asmFish has native Polyglot book (.bin) support since its inception.
Gusev
Posts: 1476
Joined: Mon Jan 28, 2013 2:51 pm

Re: asmFishW_2017-10-03_popcnt.exe update

Post by Gusev »

lantonov wrote:
Gusev wrote: Thanks!! :idea: Please add native support for Polyglot opening books, as in Houdini 6.02.
I don't know how the new Houdini supports Polyglot books, but asmFish has native Polyglot book (.bin) support since its inception.
When I open the asmFish configuration in Arena, I don't see a textbox where I could enter the path to a Polyglot (or any other) opening book. Where can I set it :?:
User avatar
lantonov
Posts: 216
Joined: Sun Apr 13, 2014 5:19 pm

Re: asmFishW_2017-10-03_popcnt.exe update

Post by lantonov »

Gusev wrote: When I open the asmFish configuration in Arena, I don't see a textbox where I could enter the path to a Polyglot (or any other) opening book. Where can I set it :?:
I don't use Arena but Winboard as a GUI. In the engine setting of Winboard I get 2 places to set own book (one from the Polyglot adaptor and the other from asmFish itself).
It is important to say that USE_BOOK is an assembly-time option, so you have to assemble it with USE_BOOK = 1. By default, USE_BOOK is set to 0 (but it may change, if enough users demand this, and it doesn't hamper overall performance)
User avatar
lantonov
Posts: 216
Joined: Sun Apr 13, 2014 5:19 pm

Re: asmFishW_2017-10-03_popcnt.exe update

Post by lantonov »

From the readme at https://github.com/lantonov/asmFish/tree/fasmg

USE_BOOK=1 assemble option
OwnBook Lookup position in book if possible. Ponder moves are also selected from the book when possible
BookFile Loads polyglot book into engine.
BestBookMove Use only the best moves from the book (highest weight)
BookDepth Tricky setting works as follows:
BookDepth <= 0:
suppose the lines the book from the current position are
T0: h2h3(30) c5d4(10) e3d4(14) g4h5(10) g2g4(11)
h2h3(30) g4h5(5)
d4c5(17) d6c5(17) b1c3(7)
the moves g2g4(11), g4h5(5) and b1c3(7) are leaves and don't lead
to a position in the book. Triming off these leaves three times,
T1: h2h3(30) c5d4(10) e3d4(14) g4h5(10)
d4c5(17) d6c5(17)
T2: h2h3(30) c5d4(10) e3d4(14)
d4c5(17)
T3: h2h3(30) c5d4(10)
If BookDepth = 0, probe as if it were in T0 (unchanged)
If BookDepth =-1, probe as if it were in T1 (leaves off)
If BookDepth =-2, probe as if it were in T2 (trim twice)
If BookDepth =-3, probe as if it were in T3 (trim trice)
So with BookDepth <= -3, the move d4c5 is not considered.
With BookDepth <= -5, the move h2h3 is also not considered.

BookDepth >= 1:
Book is not probed if gameply >= BookDepth

The discussion about all these complex book settings is in this feature request https://github.com/lantonov/asmFish/issues/48
Gusev
Posts: 1476
Joined: Mon Jan 28, 2013 2:51 pm

Re: asmFishW_2017-10-03_popcnt.exe update

Post by Gusev »

lantonov wrote:
Gusev wrote: When I open the asmFish configuration in Arena, I don't see a textbox where I could enter the path to a Polyglot (or any other) opening book. Where can I set it :?:
I don't use Arena but Winboard as a GUI. In the engine setting of Winboard I get 2 places to set own book (one from the Polyglot adaptor and the other from asmFish itself).
It is important to say that USE_BOOK is an assembly-time option, so you have to assemble it with USE_BOOK = 1. By default, USE_BOOK is set to 0 (but it may change, if enough users demand this, and it doesn't hamper overall performance)
Hi Lyudmil,
The version of asmFish170825 (from the master branch) that I compiled with USE_BOOK = 1 does not do infinite analysis when it is within the book, unlike Houdini 6.02 that can recognize this situation and handle it.
User avatar
lantonov
Posts: 216
Joined: Sun Apr 13, 2014 5:19 pm

Re: asmFishW_2017-10-03_popcnt.exe update

Post by lantonov »

Gusev wrote: Hi Lyudmil,
The version of asmFish170825 (from the master branch) that I compiled with USE_BOOK = 1 does not do infinite analysis when it is within the book, unlike Houdini 6.02 that can recognize this situation and handle it.
Yes, that's right. There was a discussion about it (https://github.com/lantonov/asmFish/issues/72), where the following became clear:
(1) in analysis mode with ownbook=true, engine will try a book move
(2) in analysis mode with ownbook=false, engine will think think and will not try a book move
My proposal was to switch off the book in analysis mode.
Gusev
Posts: 1476
Joined: Mon Jan 28, 2013 2:51 pm

Re: asmFishW_2017-10-03_popcnt.exe update

Post by Gusev »

lantonov wrote:
Gusev wrote: Hi Lyudmil,
The version of asmFish170825 (from the master branch) that I compiled with USE_BOOK = 1 does not do infinite analysis when it is within the book, unlike Houdini 6.02 that can recognize this situation and handle it.
Yes, that's right. There was a discussion about it (https://github.com/lantonov/asmFish/issues/72), where the following became clear:
(1) in analysis mode with ownbook=true, engine will try a book move
(2) in analysis mode with ownbook=false, engine will think think and will not try a book move
My proposal was to switch off the book in analysis mode.
Naturally, I support your proposal. Then USE_BOOK = 1 can become the new default.
User avatar
lantonov
Posts: 216
Joined: Sun Apr 13, 2014 5:19 pm

Re: asmFishW_2017-10-03_popcnt.exe update

Post by lantonov »

This patch takes care of the issue:
2017-11-06 forget about book upon go infinite
https://github.com/lantonov/asmFish/com ... 6677c4de5c
Gusev
Posts: 1476
Joined: Mon Jan 28, 2013 2:51 pm

Re: asmFishW_2017-10-03_popcnt.exe update

Post by Gusev »

Thank you very much, Lyudmil!
lantonov wrote:This patch takes care of the issue:
2017-11-06 forget about book upon go infinite
https://github.com/lantonov/asmFish/com ... 6677c4de5c