Skip to content

Commit

Permalink
Force resign if po winrate is lower than 1%
Browse files Browse the repository at this point in the history
  • Loading branch information
zakki committed Aug 7, 2018
1 parent 1e8e612 commit 90db936
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/UctSearch.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -751,6 +751,8 @@ UctSearchGenmove( game_info_t *game, int color )
pos = PASS;
} else if (best_wp <= resign_threshold && (!use_nn || best_wpv < resign_threshold)) {
pos = RESIGN;
} else if (best_wp <= 0.01) {
pos = RESIGN;
} else {
pos = uct_child[select_index].pos;
}
Expand Down

0 comments on commit 90db936

Please sign in to comment.