X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=src%2Fvalue.h;h=3e41be48e4ca38b9a15f1696e73c3c2dd930639e;hb=d9e3be4790bb04820d80dacfedd162b4b03971f2;hp=a3ddc00048408ff927d214169965b76f922c6b2d;hpb=3ed603cd64624d27de3f3f6e8f4e5dfccaaed420;p=stockfish diff --git a/src/value.h b/src/value.h index a3ddc000..3e41be48 100644 --- a/src/value.h +++ b/src/value.h @@ -1,7 +1,7 @@ /* Stockfish, a UCI chess playing engine derived from Glaurung 2.1 Copyright (C) 2004-2008 Tord Romstad (Glaurung author) - Copyright (C) 2008 Marco Costalba + Copyright (C) 2008-2009 Marco Costalba Stockfish is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -36,7 +36,8 @@ enum ValueType { VALUE_TYPE_NONE = 0, VALUE_TYPE_UPPER = 1, // Upper bound VALUE_TYPE_LOWER = 2, // Lower bound - VALUE_TYPE_EXACT = 3 // Exact score + VALUE_TYPE_EXACT = 3, // Exact score + VALUE_TYPE_EVAL = 4 // Evaluation cache }; @@ -92,7 +93,7 @@ const Value PieceValueEndgame[17] = { Value(0), Value(0), Value(0) }; -/// Bonus for having the side to move +/// Bonus for having the side to move (modified by Joona Kiiski) const Value TempoValueMidgame = Value(48); const Value TempoValueEndgame = Value(21);