- void success(Piece p, Square to, Depth d);
- void failure(Piece p, Square to, Depth d);
- int move_ordering_score(Piece p, Square to) const;
- void set_gain(Piece p, Square from, Square to, Value delta);
- Value gain(Piece p, Square from, Square to) const;
+ Value value(Piece p, Square to) const;
+ void update(Piece p, Square to, Value bonus);
+ Value gain(Piece p, Square to) const;
+ void update_gain(Piece p, Square to, Value g);
+
+ static const Value MaxValue = Value(2000);