counting nodes on MakeMove | bench 4096824
This commit is contained in:
1 parent
28bec280cc
commit
15676a09e0
2 files changed
+1
-4
No files matched your search
@@ -334,6 +334,7 @@ void Board::Promote(int square, int pieceType, int color, bool isCapture) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
void Board::MakeMove(Move move) {
|
void Board::MakeMove(Move move) {
|
||||||
|
nodes++;
|
||||||
|
|
||||||
// Null Move
|
// Null Move
|
||||||
if (!move) {
|
if (!move) {
|
||||||
|
|||||||
@@ -94,8 +94,6 @@ static SearchResults Quiescence(Board board, int alpha, int beta) {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
nodes++;
|
|
||||||
|
|
||||||
int staticScore = Evaluate(board);
|
int staticScore = Evaluate(board);
|
||||||
int bestScore = alpha;
|
int bestScore = alpha;
|
||||||
|
|
||||||
@@ -190,8 +188,6 @@ SearchResults PVS(Board board, int depth, int alpha, int beta) {
|
|||||||
int score = -inf;
|
int score = -inf;
|
||||||
int nodeType = AllNode;
|
int nodeType = AllNode;
|
||||||
|
|
||||||
nodes++;
|
|
||||||
|
|
||||||
GenerateMoves(board, board.sideToMove);
|
GenerateMoves(board, board.sideToMove);
|
||||||
SortMoves(board);
|
SortMoves(board);
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user