mirror of
https://github.com/opelly27/Stockfish.git
synced 2026-05-20 06:17:49 +00:00
Unify compute_mg_value() and compute_eg_value()
No functional change. Signed-off-by: Marco Costalba <mcostalba@gmail.com>
This commit is contained in:
+5
-2
@@ -315,10 +315,13 @@ private:
|
||||
Key compute_material_key() const;
|
||||
|
||||
// Computing incremental evaluation scores and material counts
|
||||
enum GamePhase {
|
||||
MidGame,
|
||||
EndGame
|
||||
};
|
||||
Value mg_pst(Color c, PieceType pt, Square s) const;
|
||||
Value eg_pst(Color c, PieceType pt, Square s) const;
|
||||
Value compute_mg_value() const;
|
||||
Value compute_eg_value() const;
|
||||
Value compute_value(GamePhase p) const;
|
||||
Value compute_non_pawn_material(Color c) const;
|
||||
|
||||
// Bitboards
|
||||
|
||||
Reference in New Issue
Block a user