Skip to content

Commit

Permalink
Apply the cheat to genmove
Browse files Browse the repository at this point in the history
  • Loading branch information
Hiraoka committed Sep 10, 2019
1 parent 0ec7275 commit cf25642
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions cpp/gtp.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1186,6 +1186,8 @@ int MainCmds::gtp(int argc, const char* const* argv) {
bool debug = command == "genmove_debug" || command == "search_debug";
bool playChosenMove = command != "search_debug";

// Force OwnerMap for the cheat in nneval.cpp.
engine->bot->setAlwaysIncludeOwnerMap(true);
engine->genMove(
pla,
logger,searchFactorWhenWinningThreshold,searchFactorWhenWinning,
Expand Down

0 comments on commit cf25642

Please sign in to comment.