diff options
| author | eug-vs <eugene@eug-vs.xyz> | 2022-08-31 17:21:08 +0300 |
|---|---|---|
| committer | eug-vs <eugene@eug-vs.xyz> | 2022-08-31 17:21:08 +0300 |
| commit | 43ce3c7deb85363102d810bf8478982c956cd0fe (patch) | |
| tree | eefe184493de0d49169d76ed2400649fae20014b /src/structs.h | |
| parent | bc42b0b1746bc316c8e63b42c64bcf17a1ac011f (diff) | |
| download | c-chess-43ce3c7deb85363102d810bf8478982c956cd0fe.tar.gz | |
feat: only recalculate higher-depth transpositions
Diffstat (limited to 'src/structs.h')
| -rw-r--r-- | src/structs.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/structs.h b/src/structs.h index 643e7f2..5a60ba9 100644 --- a/src/structs.h +++ b/src/structs.h @@ -4,3 +4,8 @@ typedef struct { int value; // Estimated move value } Move; +typedef struct { + int value; // Estimated position value + int depth; // Depth -1 indicates it has not been evaluated yet +} Transposition; + |