X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=src%2Fsearch.cpp;h=e625405d5eec56d9759df974dfda90cc898aa2d8;hb=81cd417b4584b0e3830940c5cb122c898afde08a;hp=51c2a27d330a7b12626185d74100b5bbc0bcbc6f;hpb=a44c5cf4f77b05a0385c127b7c26cf086a73120e;p=stockfish diff --git a/src/search.cpp b/src/search.cpp index 51c2a27d..e625405d 100644 --- a/src/search.cpp +++ b/src/search.cpp @@ -30,7 +30,6 @@ #include "evaluate.h" #include "history.h" #include "misc.h" -#include "move.h" #include "movegen.h" #include "movepick.h" #include "search.h" @@ -353,10 +352,9 @@ int64_t Search::perft(Position& pos, Depth depth) { } -/// think() is the external interface to Stockfish's search, and is called when -/// the program receives the UCI 'go' command. It initializes various global -/// variables, and calls id_loop(). It returns false when a "quit" command is -/// received during the search. +/// think() is the external interface to Stockfish's search, and is called by the +/// main thread when the program receives the UCI 'go' command. It searches from +/// RootPosition and at the end prints the "bestmove" to output. void Search::think() {