katrain icon indicating copy to clipboard operation
katrain copied to clipboard

Feature Request: Localized Analysis for Local Variations

Open Giannechini opened this issue 6 years ago • 5 comments

It would be really cool if you could implement a local analysis region on the board, so the AI would only search for moves in the highlighted area. It would be very helpful when looking at local variations where the AI likes to tenuki. I believe the android app 'Lazy Baduk' has this functionality, but I'm not sure how difficult it would be to implement. As always amazing work, I use this program to analyze my games every time I play!

Giannechini avatar Oct 12 '20 05:10 Giannechini

Find alternative moves is sort of meant for this, the first use of that will usually give you a local response. A specialized option which only does this is possible by just telling kata to avoid all non-local moves. The hardest part is defining 'local'.

sanderland avatar Oct 12 '20 07:10 sanderland

That's a great tip, I'll check that out more closely. Very good point, I think the app let you drag a box to define the area on the board that you wanted to let the analysis run on (which I assume would also speed up the analysis?). But that seems like it could introduce some GUI issues. Anyway, thank you for the response!

-Lucca

On Mon, Oct 12, 2020 at 3:46 AM sanderland [email protected] wrote:

Find alternative moves is sort of meant for this, the first use of that will usually give you a local response. A specialized option which only does this is possible by just telling kata to avoid all non-local moves. The hardest part is defining 'local'.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/sanderland/katrain/issues/216#issuecomment-706942018, or unsubscribe https://github.com/notifications/unsubscribe-auth/AQNCXSBIB5WJFLI6M4WHGA3SKKX35ANCNFSM4SMKX3MA .

Giannechini avatar Oct 12 '20 13:10 Giannechini

Maybe this could be implemented as a semi-automated process where the user draws a selection rectangle on a portion of a board and the app copy-n-paste the selected stones to a new KaTrain instance.

hemme avatar Oct 24 '20 09:10 hemme

1.6 has some find local response option, fixed region for now as drawing boxes gets a bit complicated.

sanderland avatar Nov 15 '20 19:11 sanderland

That sounds awesome, looking forward to the release. Thanks for the update!

-Lucca

On Sun, Nov 15, 2020 at 2:27 PM sanderland [email protected] wrote:

Closed #216 https://github.com/sanderland/katrain/issues/216.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/sanderland/katrain/issues/216#event-3997722721, or unsubscribe https://github.com/notifications/unsubscribe-auth/AQNCXSCH6ZMJER45GWS7Y73SQATTTANCNFSM4SMKX3MA .

Giannechini avatar Nov 18 '20 14:11 Giannechini