connected TT to search
This commit is contained in:
1 parent
f3cedadbb4
commit
defba40979
4 files changed
+28
-10
No files matched your search
+2
-1
@@ -1,5 +1,6 @@
|
||||
#pragma once
|
||||
#include "board.h"
|
||||
#include "search.h"
|
||||
|
||||
// 5 MB
|
||||
constexpr int hashSize = 0x500000;
|
||||
@@ -28,5 +29,5 @@ public:
|
||||
|
||||
extern TTEntry TTable[hashSize];
|
||||
|
||||
int ReadEntry(U64 &hashKey, int depth, int alpha, int beta);
|
||||
SearchResults ReadEntry(U64 &hashKey, int depth, int alpha, int beta);
|
||||
void WriteEntry(U64 &hashKey, int depth, int score, int nodeType);
|
||||
Reference in new issue
Block a user