Introduce MovePicker::isBadCapture() and use in probcut

Small functional change due to the fact that now we skip
probcut on evasions.

Signed-off-by: Marco Costalba <mcostalba@gmail.com>
This commit is contained in:
Marco Costalba
2011-05-21 10:40:36 +01:00
parent 13d8af1852
commit 3ef4fdeaa0
3 changed files with 10 additions and 12 deletions

View File

@@ -43,6 +43,7 @@ public:
MovePicker(const Position&, Move, Depth, const History&, SearchStack*, Value);
MovePicker(const Position&, Move, Depth, const History&);
Move get_next_move();
bool isBadCapture() const;
private:
void score_captures();