28 DoSearchPerft(b,
getLevel()->getDepth());
30 }
catch (...) {
throw;
39 void SearchPerft::DoSearchPerft(
bBoard const& b,
depth_t const& nDepth)
44 movenum_t n_moves = ml.getNumberOfMoves();
45 for (
movenum_t moveid = 1; moveid <= n_moves; moveid++) {
46 bBoard newboard(b, ml[moveid]);
47 DoSearchPerft(newboard, nDepth - 1);
This is the main include file, needs to be included before any other include.
uint_fast16_t movenum_t
moveflags (high order word) & basicmove (low order word)
bBestMoveInfo CalcBestMove(bBoard &b) override