+ // Collect info about search result
+ bestMove = Rml[0].pv[0];
+ *ponderMove = Rml[0].pv[1];
+ bestValues[depth] = value;
+ bestMoveChanges[depth] = Rml.bestMoveChanges;
+
+ // Do we need to pick now the best and the ponder moves ?
+ if (SkillLevelEnabled && depth == 1 + SkillLevel)
+ do_skill_level(&skillBest, &skillPonder);
+
+ // Send PV line to GUI and to log file
+ for (int i = 0; i < Min(UCIMultiPV, (int)Rml.size()); i++)
+ cout << Rml[i].pv_info_to_uci(pos, depth, alpha, beta, i) << endl;
+
+ if (UseLogFile)
+ LogFile << pretty_pv(pos, depth, value, current_search_time(), Rml[0].pv) << endl;
+
+ // Init easyMove after first iteration or drop if differs from the best move
+ if (depth == 1 && (Rml.size() == 1 || Rml[0].pv_score > Rml[1].pv_score + EasyMoveMargin))
+ easyMove = bestMove;
+ else if (bestMove != easyMove)
+ easyMove = MOVE_NONE;