Rev 169 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 169 | Rev 185 | ||
---|---|---|---|
Line 4... | Line 4... | ||
4 | Copyright (C) 2008-2015 Marco Costalba, Joona Kiiski, Tord Romstad |
4 | Copyright (C) 2008-2015 Marco Costalba, Joona Kiiski, Tord Romstad |
5 | Copyright (C) 2015- |
5 | Copyright (C) 2015-2019 Marco Costalba, Joona Kiiski, Gary Linscott, Tord Romstad |
6 | 6 | ||
7 | Stockfish is free software: you can redistribute it and/or modify |
7 | Stockfish is free software: you can redistribute it and/or modify |
8 | it under the terms of the GNU General Public License as published by |
8 | it under the terms of the GNU General Public License as published by |
9 | the Free Software Foundation, either version 3 of the License, or |
9 | the Free Software Foundation, either version 3 of the License, or |
10 | (at your option) any later version. |
10 | (at your option) any later version. |
Line 58... | Line 58... | ||
58 | void wait_for_search_finished(); |
58 | void wait_for_search_finished(); |
59 | 59 | ||
60 | Pawns::Table pawnsTable; |
60 | Pawns::Table pawnsTable; |
61 | Material::Table materialTable; |
61 | Material::Table materialTable; |
62 | Endgames endgames; |
62 | Endgames endgames; |
63 | size_t |
63 | size_t pvIdx, pvLast; |
64 | int selDepth, |
64 | int selDepth, nmpMinPly; |
- | 65 | Color nmpColor; |
|
65 | std::atomic<uint64_t> nodes, tbHits; |
66 | std::atomic<uint64_t> nodes, tbHits; |
66 | 67 | ||
67 | Position rootPos; |
68 | Position rootPos; |
68 | Search::RootMoves rootMoves; |
69 | Search::RootMoves rootMoves; |
69 | Depth rootDepth, completedDepth; |
70 | Depth rootDepth, completedDepth; |
70 | CounterMoveHistory counterMoves; |
71 | CounterMoveHistory counterMoves; |
71 | ButterflyHistory mainHistory; |
72 | ButterflyHistory mainHistory; |
72 | CapturePieceToHistory captureHistory; |
73 | CapturePieceToHistory captureHistory; |
73 | ContinuationHistory |
74 | ContinuationHistory continuationHistory; |
- | 75 | Score contempt; |
|
74 | }; |
76 | }; |
75 | 77 | ||
76 | 78 | ||
77 | /// MainThread is a derived class specific for main thread |
79 | /// MainThread is a derived class specific for main thread |
78 | 80 | ||
Line 81... | Line 83... | ||
81 | using Thread::Thread; |
83 | using Thread::Thread; |
82 | 84 | ||
83 | void search() override; |
85 | void search() override; |
84 | void check_time(); |
86 | void check_time(); |
85 | 87 | ||
86 | bool failedLow; |
- | |
87 | double bestMoveChanges, previousTimeReduction; |
88 | double bestMoveChanges, previousTimeReduction; |
88 | Value previousScore; |
89 | Value previousScore; |
89 | int callsCnt; |
90 | int callsCnt; |
90 | }; |
91 | }; |
91 | 92 |