Last2libatari playouts at the end of ladder

Issue #33 resolved
dsmic created an issue

At the end of a ladder the playouts go wrong.

The reason in my screenshot it uses the last2libatari playout for the group with the A11 stone, triggers stopsconnection and this is the best.

Of cause it must play b13 instead. As a quick "fix" I added

int Playout::getTwoLibertyMoveLevel(Go::Board board, Go::Move move, Go::Group group) { if (params->playout_last2libatari_complex) { if (!board->isSelfAtari(move) && group->numOfStones()>1) //a single ladder block at the boards was used as 2 lib string, this should not harm, as single stones should not be extended by this rule

which should not harm and makes the position evaluation in the case of this game much more realistic:)

Comments (2)

  1. Log in to comment