mirror of
https://github.com/HChaZZY/Stockfish.git
synced 2025-12-21 09:37:16 +08:00
Symmetric King Safety: take 2
Another attempt at retiring current asymmetric king evaluation and use a much simpler symmetric one. As a good side effect we can avoid recalculating eval after a null move. Tested in no-regression mode and passed STC LLR: 2.96 (-2.94,2.94) [-3.00,1.00] Total: 21580 W: 3752 L: 3632 D: 14196 LTC LLR: 2.96 (-2.94,2.94) [-3.00,1.00] Total: 18253 W: 2593 L: 2469 D: 13191 And a LTC regression test against SF DD to verify we don't have regression against weaker engines due to some kind of 'contempt' effect: ELO: 54.69 +-2.1 (95%) LOS: 100.0% Total: 40000 W: 11072 L: 4827 D: 24101 bench: 8205159
This commit is contained in:
committed by
Marco Costalba
parent
187a9fe5e7
commit
adeded29fb
@@ -197,11 +197,7 @@ void UCI::loop(int argc, char* argv[]) {
|
||||
<< "\n" << Options
|
||||
<< "\nuciok" << sync_endl;
|
||||
|
||||
else if (token == "eval")
|
||||
{
|
||||
Search::RootColor = pos.side_to_move(); // Ensure it is set
|
||||
sync_cout << Eval::trace(pos) << sync_endl;
|
||||
}
|
||||
else if (token == "eval") sync_cout << Eval::trace(pos) << sync_endl;
|
||||
else if (token == "ucinewgame") TT.clear();
|
||||
else if (token == "go") go(pos, is);
|
||||
else if (token == "position") position(pos, is);
|
||||
|
||||
Reference in New Issue
Block a user