X-Git-Url: https://git.sesse.net/?p=stockfish;a=blobdiff_plain;f=src%2Fendgame.cpp;h=05de131fb2b26deff9336ddc2137db701752d56e;hp=3e01259c9745b01d90c0e9731f5bf2a6727fdf20;hb=a6fe035977830a3a91add3a5b043609d7c9a0c04;hpb=fc3af7c4fbeaa3c5b85424077829223f9d18184e diff --git a/src/endgame.cpp b/src/endgame.cpp index 3e01259c..05de131f 100644 --- a/src/endgame.cpp +++ b/src/endgame.cpp @@ -86,30 +86,6 @@ namespace { } // namespace -/// Endgames members definitions - -Endgames::Endgames() { - - add("KPK"); - add("KNNK"); - add("KBNK"); - add("KRKP"); - add("KRKB"); - add("KRKN"); - add("KQKP"); - add("KQKR"); - - add("KNPK"); - add("KNPKB"); - add("KRPKR"); - add("KRPKB"); - add("KBPKB"); - add("KBPKN"); - add("KBPPKB"); - add("KRPPKRP"); -} - - /// Mate with KX vs K. This function is used to evaluate positions with /// king and plenty of material vs a lone king. It simply gives the /// attacking side a bonus for driving the defending king towards the edge @@ -240,7 +216,7 @@ Value Endgame::operator()(const Position& pos) const { } -/// KR vs KB. This is very simple, and always returns drawish scores. The +/// KR vs KB. This is very simple, and always returns drawish scores. The /// score is slightly bigger when the defending king is close to the edge. template<> Value Endgame::operator()(const Position& pos) const {