Wiki
Clone wikioakfoam / Parameters
Parameters
Most aspects of Oakfoam can be set at runtime using the parameters interface. To get a list of all the parameters and their current values, send the param
command without any arguments. To set a parameter, send the command param <name> <value>
. Parameters can easily be set using the GoGui Analyze Command interface. Refer to the documentation in "Parameters.h" for the most up-to-date documentation on all the parameters.
Here follows a list of some parameters:
Name | Type | Description |
---|---|---|
move_policy | string | Policy used to choose the next move, can be either "playout", "1-ply" or "uct". |
book_use | bool | Whether to use the loaded opening book. Load a book with the command . |
thread_count | int | Number of threads to use. |
memory_usage_max | int | Maximum amount of memory to use for the tree (in MB). |
playouts_per_move | int | Number of playouts to do for the next move. |
playouts_per_move_max | int | Maximum playouts per move if game is timed. |
playouts_per_move_min | int | Minimum playouts per move if game is timed. |
uct_keep_subtree | bool | Whether to keep the relevant part of the tree when a move is made. |
pondering_enabled | bool | Whether to ponder (think during the opponent's turn. |
pondering_playouts_max | int | Maximum number of playouts to do when pondering. |
resign_ratio_threshold | float | Resign only when the winning ratio is below this. |
resign_move_factor_threshold | float | Resign only when this percentage of the board is full. |
time_ignore | bool | Whether to ignore any time settings provided. |
time_k | float | Time allowed per move is remaining time divide by this factor. For 9x9, try 7; for 19x19, try 60. |
time_buffer | float | Amount of time (in seconds) to not use, in case of network lag. |
time_move_minimum | float | Minimum time used per move (in seconds). |
time_move_max | float | Maximum time used per move (in seconds). |
rules_positional_superko_enabled | bool | Whether to take positional superko into account. |
rules_all_stones_alive | bool | Whether to treat all stones after two passes as alive or not. |
live_gfx | bool | Whether to display GoGui Live Graphics. |
debug | bool | Whether to output debug information. Warning: very verbose, degrades performance. |
Example: param live_gfx 1
will turn on Live Graphics.
Updated