]> git.sesse.net Git - stockfish/blobdiff - src/syzygy/tbprobe.h
Syzygy tablebases
[stockfish] / src / syzygy / tbprobe.h
diff --git a/src/syzygy/tbprobe.h b/src/syzygy/tbprobe.h
new file mode 100644 (file)
index 0000000..9ed6f0a
--- /dev/null
@@ -0,0 +1,16 @@
+#ifndef TBPROBE_H
+#define TBPROBE_H
+
+namespace Tablebases {
+
+extern int TBLargest;
+
+void init(const std::string& path);
+int probe_wdl(Position& pos, int *success);
+int probe_dtz(Position& pos, int *success);
+bool root_probe(Position& pos, Value& TBScore);
+bool root_probe_wdl(Position& pos, Value& TBScore);
+
+}
+
+#endif