X-Git-Url: https://git.sesse.net/?p=stockfish;a=blobdiff_plain;f=src%2Fhistory.cpp;h=e2ce6486e7af5685317c9778dd10b651df4873be;hp=29631489aac7c5e1e2e37f53f764f51a76e5a2bc;hb=24485c96ec7dcb743c1dac8cf0cccc96456893d9;hpb=bb751d6c890f5c50c642366d601740366cfae8d0 diff --git a/src/history.cpp b/src/history.cpp index 29631489..e2ce6486 100644 --- a/src/history.cpp +++ b/src/history.cpp @@ -1,17 +1,18 @@ /* - Glaurung, a UCI chess playing engine. - Copyright (C) 2004-2008 Tord Romstad + Stockfish, a UCI chess playing engine derived from Glaurung 2.1 + Copyright (C) 2004-2008 Tord Romstad (Glaurung author) + Copyright (C) 2008 Marco Costalba - Glaurung is free software: you can redistribute it and/or modify + Stockfish is free software: you can redistribute it and/or modify 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. - - Glaurung is distributed in the hope that it will be useful, + + 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 . */ @@ -22,6 +23,7 @@ //// #include +#include #include "history.h" @@ -90,7 +92,7 @@ int History::move_ordering_score(Piece p, Move m) const { /// History::ok_to_prune() decides whether a move has been sufficiently -/// unsuccessful that it makes sense to prune it entirely. +/// unsuccessful that it makes sense to prune it entirely. bool History::ok_to_prune(Piece p, Move m, Depth d) const { assert(piece_is_ok(p));