diff --git a/docs/stats.md b/docs/stats.md index 2a2d3a07..78fe9051 100644 --- a/docs/stats.md +++ b/docs/stats.md @@ -21,3 +21,25 @@ Any name that doesn't designate an argument name or is not an argument will be i `position_count` - `struct PositionCounter` - the total number of positions in the file. + + + reg.add("king", "king_square_count"); + + reg.add("move", "move_from_count"); + reg.add("move", "move_to_count"); + reg.add("move", "move_type"); + reg.add("move", "moved_piece_type"); + + reg.add("piece_count"); + +`king`, `king_square_count` - the number of times a king was on each square. Output is layed out as a chessboard, with the 8th rank being the topmost. Separate values for white and black kings. + +`move`, `move_from_count` - same as `king_square_count` but for from_sq(move) + +`move`, `move_to_count` - same as `king_square_count` but for to_sq(move) + +`move`, `move_type` - the number of moves with each type. Includes normal, captures, castling, promotions, enpassant. The groups are not disjoint. + +`move`, `moved_piece_type` - the number of times a piece of each type was moved + +`piece_count` - the histogram of the number of pieces on the board