-
-
Notifications
You must be signed in to change notification settings - Fork 6
UCI options and commands
Fabian Fichter edited this page Oct 14, 2021
·
4 revisions
-
UCI_Variant
defines the chess variant. -
AbsScoreRange
,AbsScoreBias
: seefilter
-
MoveScoreRange
defines the range of good moves in centipawns. -
DepthFactor
is used to modifyMoveScoreRange
in dependence of the depth from the root position. The effective range is calculated asMoveScoreRange * (DepthFactor / 100) ^ depth
. -
MultiPV
defines the maximum branching factor of opening lines during book generation. -
TrimFEN
is true or false and defines whether the half- and fullmove counter should be trimmed from the FEN to avoid duplicates. Default value is false. If set to true the resulting book will contain incomplete FEN/EPDs that are not compatible with all EPD compatible tools. -
EPDPath
specifies where the opening book is stored whensave
is called. Default value is the relative pathbook.epd
.
-
generate n
is used to generate FENs. The argument n is required and specifies the depth of the book in halfmoves, e.g.,generate 3
. Optional arguments aremovetime
,depth
, andperft
. The optional arguments are passed to thego
command when searching positions. Ifperft
is given, all positions that are possible after n ply are generated. -
filter
filters the current set of positions. It performs a search on each position with the given arguments. E.g.,filter depth 12 movetime 100
performs a search up to depth 12 limited to 100 milliseconds. A position is filtered out if it is outside of the range defined by[-AbsScoreRange + AbsScoreBias, AbsScoreRange + AbsScoreBias]
or if there are less moves withinMoveScoreRange
compared to the best move than defined byMultiPV
. -
clear
removes all FENs from the list. -
size
prints the number of positions in the list. -
print
prints the FENs. -
save
writes the FENs to the file specified inEPDPath