mirror of
https://github.com/HChaZZY/Stockfish.git
synced 2025-12-19 00:26:33 +08:00
Use refinedValue in ProbCut condition
After 12613 games at 20"+0.1 on QUAD Mod vs Orig 1870 - 1863 - 8880 ELO +0 (+- 3.3) So no performance change but it is a code semplification and also is more easy to understand. Signed-off-by: Marco Costalba <mcostalba@gmail.com>
This commit is contained in:
@@ -110,13 +110,13 @@ MovePicker::MovePicker(const Position& p, Move ttm, Depth d, const History& h)
|
||||
go_next_phase();
|
||||
}
|
||||
|
||||
MovePicker::MovePicker(const Position& p, Move ttm, const History& h, int parentCapture)
|
||||
MovePicker::MovePicker(const Position& p, Move ttm, const History& h, int threshold)
|
||||
: pos(p), H(h) {
|
||||
|
||||
assert (!pos.in_check());
|
||||
|
||||
// In ProbCut we consider only captures better than parent's move
|
||||
captureThreshold = parentCapture;
|
||||
captureThreshold = threshold;
|
||||
phasePtr = ProbCutTable;
|
||||
|
||||
if ( ttm != MOVE_NONE
|
||||
|
||||
Reference in New Issue
Block a user