Remove classical evaluation · official-stockfish/Stockfish@af110e0

1 min read Original article ↗
Original file line numberDiff line numberDiff line change

@@ -56,8 +56,8 @@ else

5656

endif

5757
5858

### Source and object files

59-

SRCS = benchmark.cpp bitbase.cpp bitboard.cpp endgame.cpp evaluate.cpp main.cpp \

60-

material.cpp misc.cpp movegen.cpp movepick.cpp pawns.cpp position.cpp psqt.cpp \

59+

SRCS = benchmark.cpp bitboard.cpp evaluate.cpp main.cpp \

60+

misc.cpp movegen.cpp movepick.cpp position.cpp psqt.cpp \

6161

search.cpp thread.cpp timeman.cpp tt.cpp uci.cpp ucioption.cpp tune.cpp syzygy/tbprobe.cpp \

6262

nnue/evaluate_nnue.cpp nnue/features/half_ka_v2_hm.cpp

6363
Original file line numberDiff line numberDiff line change

@@ -153,24 +153,15 @@ vector<string> setup_bench(const Position& current, istream& is) {

153153

list.emplace_back("setoption name Hash value " + ttSize);

154154

list.emplace_back("ucinewgame");

155155
156-

size_t posCounter = 0;

157-
158156

for (const string& fen : fens)

159157

if (fen.find("setoption") != string::npos)

160158

list.emplace_back(fen);

161159

else

162160

{

163-

if (evalType == "classical" || (evalType == "mixed" && posCounter % 2 == 0))

164-

list.emplace_back("setoption name Use NNUE value false");

165-

else if (evalType == "NNUE" || (evalType == "mixed" && posCounter % 2 != 0))

166-

list.emplace_back("setoption name Use NNUE value true");

167161

list.emplace_back("position fen " + fen);

168162

list.emplace_back(go);

169-

++posCounter;

170163

}

171164
172-

list.emplace_back("setoption name Use NNUE value true");

173-
174165

return list;

175166

}

176167
Original file line numberDiff line numberDiff line change

@@ -25,13 +25,6 @@

2525
2626

namespace Stockfish {

2727
28-

namespace Bitbases {

29-
30-

void init();

31-

bool probe(Square wksq, Square wpsq, Square bksq, Color us);

32-
33-

} // namespace Stockfish::Bitbases

34-
3528

namespace Bitboards {

3629
3730

void init();