2015-02-01 01:46:09 +01:00
|
|
|
#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);
|
2016-05-30 20:56:34 +02:00
|
|
|
bool root_probe(Position& pos, Search::RootMoves& rootMoves, Value& score);
|
|
|
|
bool root_probe_wdl(Position& pos, Search::RootMoves& rootMoves, Value& score);
|
2016-07-16 17:22:54 +02:00
|
|
|
void filter_root_moves(Position& pos, Search::RootMoves& rootMoves);
|
2015-02-01 01:46:09 +01:00
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
#endif
|