summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
1d01590)
No functional change.
Signed-off-by: Marco Costalba <mcostalba@gmail.com>
-/// perft() is our utility to verify move generation. All the legal moves up to
-/// given depth are generated and counted and the sum returned.
+/// perft() is our utility to verify move generation. All the leaf nodes up to
+/// the given depth are generated and counted and the sum returned.
int64_t perft(Position& pos, Depth depth) {
int64_t perft(Position& pos, Depth depth) {
// perft() is called when engine receives the "perft" command.
// The function calls perft() passing the required search depth
// perft() is called when engine receives the "perft" command.
// The function calls perft() passing the required search depth
- // then prints counted nodes and elapsed time.
+ // then prints counted leaf nodes and elapsed time.
void perft(Position& pos, UCIParser& up) {
void perft(Position& pos, UCIParser& up) {