|
io-chess
UCI chess engine
|
Holds all configurable engine parameters. More...
#include <UciOptions.h>

Public Member Functions | |
| void | printOptions () const |
| Prints all standard options to standard output. | |
| void | setOption (const std::string &name, const std::string &value, UciProtocol *uci) |
| Parses a single option and applies it. | |
Public Attributes | |
| std::string | modelPath |
| Path to neural network weights. | |
| std::string | tbPath |
| Path to Syzygy tablebases. | |
| std::string | bookPath |
| Path to primary Polyglot opening book. | |
| std::string | bookPath2 |
| Path to secondary Polyglot opening book. | |
| size_t | hashSizeMB = 128 |
| Transposition table size in MB. | |
| int | numThreads = 1 |
| Number of search threads (Lazy SMP). | |
| int | evalThreads = 0 |
| Number of eval threads (0 = Auto). | |
| bool | useMCTS = false |
| True to use MCTS, false for Alpha-Beta. | |
| bool | useSimpleEval = false |
| True to fallback to non-neural evaluation. | |
| bool | useBook = true |
| True to use opening books. | |
| bool | analyseMode = false |
| True if analyzing (disables time management). | |
| bool | chess960 = false |
| True if playing Chess960 (Fischer Random). | |
| float | aggression = 0.0f |
| Playstyle aggression modifier. | |
| int | lazyEvalMaxDepth = 6 |
| Maximum depth to use lazy eval. | |
| int | lazyEvalBaseMargin = 500 |
| Static evaluation margin. | |
| int | lazyEvalDepthMargin = 100 |
| Depth scaling margin. | |
| bool | enableLazyEval = true |
| True to enable lazy evaluation. | |
| int | evalScaleBase = 750 |
| Base scale for centipawn conversion. | |
| int | evalScaleWeight = 25 |
| Weight scalar for evaluation. | |
| bool | enableEvalNormalization = true |
| Normalizes scores. | |
| int | nativeRebuildEveryNEvals = 0 |
| Incremental MoE rebuild interval. | |
| SearchSharedData::SearchConfig | searchConfig |
| Search-specific heuristics configuration. | |
| bool | exportTree = false |
| True to export the search tree (debug). | |
| int | exportTreeDepth = 4 |
| Depth limit for tree export. | |
| bool | autoSaveTTSnapshots = false |
| True to automatically save TT. | |
| std::string | ttSnapshotDir = "tt_snapshots" |
| Directory for TT snapshots. | |
Holds all configurable engine parameters.
| void UciOptions::printOptions | ( | ) | const |
Prints all standard options to standard output.
| void UciOptions::setOption | ( | const std::string & | name, |
| const std::string & | value, | ||
| UciProtocol * | uci ) |
Parses a single option and applies it.
Triggers side effects via the UciProtocol pointer if needed (e.g. resizing hash).
| name | The name of the option. |
| value | The value of the option. |
| uci | Pointer to the UCI controller. |

| float UciOptions::aggression = 0.0f |
Playstyle aggression modifier.
| bool UciOptions::analyseMode = false |
True if analyzing (disables time management).
| bool UciOptions::autoSaveTTSnapshots = false |
True to automatically save TT.
| std::string UciOptions::bookPath |
Path to primary Polyglot opening book.
| std::string UciOptions::bookPath2 |
Path to secondary Polyglot opening book.
| bool UciOptions::chess960 = false |
True if playing Chess960 (Fischer Random).
| bool UciOptions::enableEvalNormalization = true |
Normalizes scores.
| bool UciOptions::enableLazyEval = true |
True to enable lazy evaluation.
| int UciOptions::evalScaleBase = 750 |
Base scale for centipawn conversion.
| int UciOptions::evalScaleWeight = 25 |
Weight scalar for evaluation.
| int UciOptions::evalThreads = 0 |
Number of eval threads (0 = Auto).
| bool UciOptions::exportTree = false |
True to export the search tree (debug).
| int UciOptions::exportTreeDepth = 4 |
Depth limit for tree export.
| size_t UciOptions::hashSizeMB = 128 |
Transposition table size in MB.
| int UciOptions::lazyEvalBaseMargin = 500 |
Static evaluation margin.
| int UciOptions::lazyEvalDepthMargin = 100 |
Depth scaling margin.
| int UciOptions::lazyEvalMaxDepth = 6 |
Maximum depth to use lazy eval.
| std::string UciOptions::modelPath |
Path to neural network weights.
| int UciOptions::nativeRebuildEveryNEvals = 0 |
Incremental MoE rebuild interval.
| int UciOptions::numThreads = 1 |
Number of search threads (Lazy SMP).
| SearchSharedData::SearchConfig UciOptions::searchConfig |
Search-specific heuristics configuration.
| std::string UciOptions::tbPath |
Path to Syzygy tablebases.
| std::string UciOptions::ttSnapshotDir = "tt_snapshots" |
Directory for TT snapshots.
| bool UciOptions::useBook = true |
True to use opening books.
| bool UciOptions::useMCTS = false |
True to use MCTS, false for Alpha-Beta.
| bool UciOptions::useSimpleEval = false |
True to fallback to non-neural evaluation.