mirror of
https://github.com/opelly27/Stockfish.git
synced 2026-05-20 06:17:49 +00:00
Merge Connected and Candidate
These two notions are very correlated. Since connected has the most generality, it makes sense to generalize it to encompass what is covered by candidate. STC: LLR: 4.03 (-2.94,2.94) [-3.00,1.00] Total: 11970 W: 2577 L: 2379 D: 7014 LTC: LLR: 2.96 (-2.94,2.94) [-3.00,1.00] Total: 13194 W: 2389 L: 2255 D: 8550 bench 7328585
This commit is contained in:
@@ -35,7 +35,6 @@ struct Entry {
|
||||
Score pawns_value() const { return value; }
|
||||
Bitboard pawn_attacks(Color c) const { return pawnAttacks[c]; }
|
||||
Bitboard passed_pawns(Color c) const { return passedPawns[c]; }
|
||||
Bitboard candidate_pawns(Color c) const { return candidatePawns[c]; }
|
||||
|
||||
int semiopen_file(Color c, File f) const {
|
||||
return semiopenFiles[c] & (1 << f);
|
||||
@@ -68,7 +67,6 @@ struct Entry {
|
||||
Key key;
|
||||
Score value;
|
||||
Bitboard passedPawns[COLOR_NB];
|
||||
Bitboard candidatePawns[COLOR_NB];
|
||||
Bitboard pawnAttacks[COLOR_NB];
|
||||
Square kingSquares[COLOR_NB];
|
||||
Score kingSafety[COLOR_NB];
|
||||
@@ -81,7 +79,6 @@ struct Entry {
|
||||
|
||||
typedef HashTable<Entry, 16384> Table;
|
||||
|
||||
void init();
|
||||
Entry* probe(const Position& pos, Table& entries);
|
||||
|
||||
} // namespace Pawns
|
||||
|
||||
Reference in New Issue
Block a user