Remove threat move stuff

A great simplification that shows no regression
and it seems even a bit scalable.

Tested with fixed number of games:

Short TC
ELO: 0.60 +-2.1 (95%) LOS: 71.1%
Total: 39554 W: 7477 L: 7409 D: 24668

Long TC
ELO: 2.97 +-2.0 (95%) LOS: 99.8%
Total: 36424 W: 5894 L: 5583 D: 24947

bench: 8184352
This commit is contained in:
Lucas Braesch
2013-12-14 19:27:29 +08:00
committed by Marco Costalba
parent b96079f86b
commit f5727deee3
3 changed files with 8 additions and 123 deletions

View File

@@ -67,7 +67,6 @@ struct SplitPoint {
Depth depth;
Value beta;
int nodeType;
Move threatMove;
bool cutNode;
// Const pointers to shared data
@@ -118,7 +117,7 @@ struct Thread : public ThreadBase {
template <bool Fake>
void split(Position& pos, const Search::Stack* ss, Value alpha, Value beta, Value* bestValue, Move* bestMove,
Depth depth, Move threatMove, int moveCount, MovePicker* movePicker, int nodeType, bool cutNode);
Depth depth, int moveCount, MovePicker* movePicker, int nodeType, bool cutNode);
SplitPoint splitPoints[MAX_SPLITPOINTS_PER_THREAD];
Material::Table materialTable;