-
-
-/// History::ok_to_prune() decides whether a move has been sufficiently
-/// unsuccessful that it makes sense to prune it entirely.
-
-bool History::ok_to_prune(Piece p, Square to, Depth d) const {
-
- assert(piece_is_ok(p));
- assert(square_is_ok(to));
-
- return (int(d) * successCount[p][to] < failureCount[p][to]);
-}