Rev 169 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 169 | Rev 185 | ||
---|---|---|---|
Line 47... | Line 47... | ||
47 | extern int MaxCardinality; |
47 | extern int MaxCardinality; |
48 | 48 | ||
49 | void init(const std::string& paths); |
49 | void init(const std::string& paths); |
50 | WDLScore probe_wdl(Position& pos, ProbeState* result); |
50 | WDLScore probe_wdl(Position& pos, ProbeState* result); |
51 | int probe_dtz(Position& pos, ProbeState* result); |
51 | int probe_dtz(Position& pos, ProbeState* result); |
52 | bool root_probe(Position& pos, Search::RootMoves& |
52 | bool root_probe(Position& pos, Search::RootMoves& rootMoves); |
53 | bool root_probe_wdl(Position& pos, Search::RootMoves& |
53 | bool root_probe_wdl(Position& pos, Search::RootMoves& rootMoves); |
54 | void |
54 | void rank_root_moves(Position& pos, Search::RootMoves& rootMoves); |
55 | 55 | ||
56 | inline std::ostream& operator<<(std::ostream& os, const WDLScore v) { |
56 | inline std::ostream& operator<<(std::ostream& os, const WDLScore v) { |
57 | 57 | ||
58 | os << (v == WDLLoss ? "Loss" : |
58 | os << (v == WDLLoss ? "Loss" : |
59 | v == WDLBlessedLoss ? "Blessed loss" : |
59 | v == WDLBlessedLoss ? "Blessed loss" : |