for (Move move : moveList) {
setMoveValue(weights, (GoMove)move);
}
boolean player1 = (lastMove == null) || !lastMove.isPlayer1();
BestMoveFinder finder = new BestMoveFinder(searchable_.getSearchOptions().getBestMovesSearchOptions());
moveList = finder.getBestMoves(player1, moveList);
addPassingMoveIfNeeded(lastMove, moveList);
prof.stopGenerateMoves();
return moveList;