diff options
| author | tslil clingman <tslil@posteo.de> | 2021-01-26 14:38:19 -0500 |
|---|---|---|
| committer | tslil <tslil@posteo.de> | 2026-08-28 19:37:41 +0100 |
| commit | 277b3150630878f83a6895bea73c6d5d36ed0dbf (patch) | |
| tree | 5c59f6214d662721e83ff2218cba88a4a096deba /include/tt_treap.h | |
| parent | fb48dd17615d7380d1b78bd6d32ebe7ea989af1f (diff) | |
Stable negamax-alpha-beta fail-soft
Diffstat (limited to 'include/tt_treap.h')
| -rw-r--r-- | include/tt_treap.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/include/tt_treap.h b/include/tt_treap.h index 793d536..1a15e1b 100644 --- a/include/tt_treap.h +++ b/include/tt_treap.h @@ -1,5 +1,6 @@ #include <stdlib.h> #include <stdint.h> +#include <action_list.h> #include <xorshift64.h> #ifndef TT_TREAP_H @@ -18,6 +19,7 @@ typedef struct treap_node_s { enum TT_FLAG flag; uint8_t depth; float value; + action_node_t *action; } tt_entry_t; // =================================================================== @@ -34,7 +36,9 @@ int tt_init(void); void tt_free(void); tt_entry_t *tt_seek(uint64_t key); + int tt_insert(const uint64_t key, const enum TT_FLAG flag, const uint8_t depth, const float value); + // const action_node_t* action); #endif |
