Stockfish 17050404 - nowa kompilacja!



Stockfish, silnik szachowy UCI
Lider listy JCER = 3405
馃敩 Auhor: Joergoster 

Wi臋cej:

Timestamp: 1493866000 

Fix multiPV issue #502 

In general, this patch handles the cases where we don't have a valid score for each PV line in a multiPV search. This can happen if the search has been stopped in an unfortunate moment while still in the aspiration loop. The patch consists of two parts. 

Part 1: The new PVIdx was already part of the k-best pv's in the last iteration, and we therefore have a valid pv and score to output from the last iteration. This is taken care of with: 

bool updated = (i <= PVIdx && rootMoves[i].score != -VALUE_INFINITE); 

Case 2: The new PVIdx was NOT part of the k-best pv's in the last iteration, and we have no valid pv and score to output. Not from the current nor from the previous iteration. To avoid this, we are now also considering the previous score when sorting, so that the PV lines with no actual but with a valid previous score are pushed up again, and the previous score can be displayed. 

bool operator<(const RootMove& m) const { 
return m.score != score ? m.score < score : m.previousScore < previousScore; } // Descending sort 

I also added an assertion in UCI::value() to possibly catch similar issues earlier. 

No functional change. 

Closes #502 
Closes #1074  

⭐⭐⭐   Stockfish 17050404 - download


Komentarze

Najpopularniejsze wpisy miesi膮ca

W艂adimir Kramnik zawieszony na Chess.com - bo warto starze膰 si臋 z godno艣ci膮

Nie 偶yje Ryszard Paciejewski - szachista, s臋dzia i dzia艂acz szachowy z Elbl膮ga

Katastrofalny b艂膮d Dinga w 11 partia meczu o Mistrzostwo 艢wiata w szachach

Polacy dochowali tajemnicy - artyku艂 o polskich szachistach kt贸rzy pomogli zdoby膰 tytu艂 Mistrza 艢wiata w szachach

Alina Kaszli艅ska wygra艂a Mistrzostwa Polski Kobiet w szachach szybkich we Wroc艂awiu