mirror of
https://github.com/peterosterlund2/droidfish.git
synced 2025-02-08 21:29:11 +01:00
20 lines
473 B
C++
20 lines
473 B
C++
#ifndef TBPROBE_H
|
|
#define TBPROBE_H
|
|
|
|
#include "../search.h"
|
|
|
|
namespace Tablebases {
|
|
|
|
extern int MaxCardinality;
|
|
|
|
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, Search::RootMoves& rootMoves, Value& score);
|
|
bool root_probe_wdl(Position& pos, Search::RootMoves& rootMoves, Value& score);
|
|
void filter_root_moves(Position& pos, Search::RootMoves& rootMoves);
|
|
|
|
}
|
|
|
|
#endif
|