X-Git-Url: https://git.sesse.net/?p=stockfish;a=blobdiff_plain;f=src%2Fmovepick.cpp;h=09f7611c527b8e397f6422c2901f7a48854726cd;hp=e0bd2a674025d0795955310c60758127509b4867;hb=62c0dc5dea4b3398afbf2bc015e91fdaedfdb81e;hpb=7bdb8c9c5c82629f50252151afd542316665c505 diff --git a/src/movepick.cpp b/src/movepick.cpp index e0bd2a67..09f7611c 100644 --- a/src/movepick.cpp +++ b/src/movepick.cpp @@ -30,7 +30,7 @@ namespace { EVASION, EVASIONS_S2, QSEARCH_0, CAPTURES_S3, QUIET_CHECKS_S3, QSEARCH_1, CAPTURES_S4, - MULTICUT, CAPTURES_S5, + PROBCUT, CAPTURES_S5, RECAPTURE, CAPTURES_S6, STOP }; @@ -128,9 +128,9 @@ MovePicker::MovePicker(const Position& p, Move ttm, const HistoryStats& h, Piece assert(!pos.checkers()); - stage = MULTICUT; + stage = PROBCUT; - // In MultiCut we generate only captures that are better than the parent's + // In ProbCut we generate only captures that are better than the parent's // captured piece. captureThreshold = PieceValue[MG][pt]; ttMove = (ttm && pos.pseudo_legal(ttm) ? ttm : MOVE_NONE); @@ -281,7 +281,7 @@ void MovePicker::generate_next_stage() { end = generate(pos, moves); return; - case EVASION: case QSEARCH_0: case QSEARCH_1: case MULTICUT: case RECAPTURE: + case EVASION: case QSEARCH_0: case QSEARCH_1: case PROBCUT: case RECAPTURE: stage = STOP; case STOP: end = cur + 1; // Avoid another next_phase() call @@ -309,7 +309,7 @@ Move MovePicker::next_move() { switch (stage) { - case MAIN_SEARCH: case EVASION: case QSEARCH_0: case QSEARCH_1: case MULTICUT: + case MAIN_SEARCH: case EVASION: case QSEARCH_0: case QSEARCH_1: case PROBCUT: ++cur; return ttMove;