X-Git-Url: https://git.sesse.net/?p=stockfish;a=blobdiff_plain;f=src%2Fevaluate.h;h=1e97fd35ad9b32542d9a1560398b7bd5110433c3;hp=d573e2df3e49f2e04c4dbc5f28191ad30ae61a2e;hb=c8773c720af6fd5c3a8f84550ee36e5eb89f929e;hpb=5dc23121215039938a9ef4e59ae934312774571c diff --git a/src/evaluate.h b/src/evaluate.h index d573e2df..1e97fd35 100644 --- a/src/evaluate.h +++ b/src/evaluate.h @@ -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 . */ @@ -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)