Unify compute_mg_value() and compute_eg_value()

No functional change.

Signed-off-by: Marco Costalba <mcostalba@gmail.com>
This commit is contained in:
Marco Costalba
2009-02-20 12:05:07 +01:00
parent 1dc27f3232
commit f30aa83f8a
2 changed files with 15 additions and 31 deletions
+5 -2
View File
@@ -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