Subversion Repositories Games.Chess Giants

Rev

Rev 96 | Go to most recent revision | Blame | Compare with Previous | Last modification | View Log | Download | RSS feed

  1. #ifndef TBPROBE_H
  2. #define TBPROBE_H
  3.  
  4. #include "../search.h"
  5.  
  6. namespace Tablebases {
  7.  
  8. extern int MaxCardinality;
  9.  
  10. void init(const std::string& path);
  11. int probe_wdl(Position& pos, int *success);
  12. int probe_dtz(Position& pos, int *success);
  13. bool root_probe(Position& pos, Search::RootMoves& rootMoves, Value& score);
  14. bool root_probe_wdl(Position& pos, Search::RootMoves& rootMoves, Value& score);
  15. void filter_root_moves(Position& pos, Search::RootMoves& rootMoves);
  16.  
  17. }
  18.  
  19. #endif
  20.