Node starts with -160...10000
Code: Select all
START 15f0b8764a43cf81, a -160 b 10000 :
r3k2r/p1p2p2/2n5/qp1Pp1pp/4P3/1QP1NPPb/P2B3P/R3K2R b KQkq - 0 18, blackCode: Select all
15f0b8764a43cf81 got a tt entry c6e7 | 9 | 2 | -160,10000 | -110That 15f0b8764a43cf81 comes from the previous depth 9 where the first move c6-e7 in the first iteration caused the beta cut off. This is then stored:
Code: Select all
oid Brain::updateTT(Tpt *const curtt, const uint64_t hash, const int ttDepth, const int alphaOrig, const int beta, const int bestVal, const Move & m) const
{
tptEntryFlag newFlags = EXACT;
if (bestVal <= alphaOrig)
newFlags = UPPERBOUND;
else if (bestVal >= beta)
newFlags = LOWERBOUND;
curtt -> store(hash, newFlags, ttDepth, bestVal, m);
}