Add syzygy support

bench: 8080602
This commit is contained in:
Marco Costalba
2015-01-18 08:05:05 +01:00
parent 3c07603dac
commit f53aea45e3
8 changed files with 113 additions and 11 deletions

View File

@@ -170,6 +170,7 @@ public:
uint64_t nodes_searched() const;
void set_nodes_searched(uint64_t n);
bool is_draw() const;
int rule50_count() const;
Score psq_score() const;
Value non_pawn_material(Color c) const;
@@ -347,6 +348,10 @@ inline int Position::game_ply() const {
return gamePly;
}
inline int Position::rule50_count() const {
return st->rule50;
}
inline uint64_t Position::nodes_searched() const {
return nodes;
}