]> git.sesse.net Git - stockfish/blobdiff - src/evaluate.h
Merge Joona Kiiski NULL search beta correction
[stockfish] / src / evaluate.h
index d573e2df3e49f2e04c4dbc5f28191ad30ae61a2e..1e97fd35ad9b32542d9a1560398b7bd5110433c3 100644 (file)
@@ -7,12 +7,12 @@
   it under the terms of the GNU General Public License as published by
   the Free Software Foundation, either version 3 of the License, or
   (at your option) any later version.
-  
+
   Stockfish is distributed in the hope that it will be useful,
   but WITHOUT ANY WARRANTY; without even the implied warranty of
   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
   GNU General Public License for more details.
-  
+
   You should have received a copy of the GNU General Public License
   along with this program.  If not, see <http://www.gnu.org/licenses/>.
 */
@@ -43,7 +43,7 @@
 /// EvalInfo object which is used by the search is futilityMargin.
 
 struct EvalInfo {
-  
+
   // Middle game and endgame evaluations:
   Value mgValue, egValue;
 
@@ -91,7 +91,7 @@ struct EvalInfo {
   Value mgMobility, egMobility;
 
   // Extra futility margin.  This is added to the standard futility margin
-  // in the quiescence search.  
+  // in the quiescence search.
   Value futilityMargin;
 };
 
@@ -105,6 +105,7 @@ extern Value quick_evaluate(const Position &pos);
 extern void init_eval(int threads);
 extern void quit_eval();
 extern void read_weights(Color sideToMove);
+extern Value scale_by_game_phase(Value mv, Value ev, Phase ph, const ScaleFactor sf[]);
 
 
 #endif // !defined(EVALUATE_H_INCLUDED)