mirror of
https://github.com/HChaZZY/Stockfish.git
synced 2025-12-21 01:27:16 +08:00
Revert refinedValue in ProbCut
It seems much worst in number of nodes seacrhed to reach the depth and anyhow does not give any advantage to the Onno's oroginal one. So revert by now and perhaps readd when we find something clearly better. Signed-off-by: Marco Costalba <mcostalba@gmail.com>
This commit is contained in:
@@ -213,6 +213,7 @@ public:
|
||||
// Static exchange evaluation
|
||||
int see(Move m) const;
|
||||
int see_sign(Move m) const;
|
||||
static int see_value(PieceType pt);
|
||||
|
||||
// Accessing hash keys
|
||||
Key get_key() const;
|
||||
@@ -466,6 +467,10 @@ inline bool Position::square_is_weak(Square s, Color c) const {
|
||||
return !(pieces(PAWN, opposite_color(c)) & attack_span_mask(c, s));
|
||||
}
|
||||
|
||||
inline int Position::see_value(PieceType pt) {
|
||||
return seeValues[pt];
|
||||
}
|
||||
|
||||
inline Key Position::get_key() const {
|
||||
return st->key;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user