|
io-chess
UCI chess engine
|
Functions | |
| std::optional< Move > | probeRoot (Board &root, IEvaluator &evalCtx, std::shared_ptr< SearchSharedData > &shared, const InfoCallback &infoCallback) |
| Probes the tablebase at the root node. | |
| std::optional< Move > TablebaseFallback::probeRoot | ( | Board & | root, |
| IEvaluator & | evalCtx, | ||
| std::shared_ptr< SearchSharedData > & | shared, | ||
| const InfoCallback & | infoCallback ) |
Probes the tablebase at the root node.
If a tablebase move is found and verified (including falling back to WDL if DTZ is missing), it prints info strings, optionally calls the infoCallback, sets shared->stop to true, and returns the best move.
| root | The root board position. |
| evalCtx | The active evaluator context. |
| shared | Shared data across search threads (for stop flags). |
| infoCallback | Callback to emit UCI info strings. |

