Record number of times when TT was used to return node score
Added trivial unit tests for statistics behaviour
Ideally would like to also:
record different types of pruning's, and
add more tests, specifically checking if the searcher is indeed incrementing the statistics accurately
can decide later if we want to do in this PR.
Context:
Previously, the statistics class only records number of nodes visited, and did not distinguish between the nature of the nodes. For performance and (more generally) behavioural analysis, we would like to be able to record:
different types of nodes visited
number of prunings that took place
number of times when TT was used to return node score
Change:
Ideally would like to also:
can decide later if we want to do in this PR.
Context:
Previously, the statistics class only records number of nodes visited, and did not distinguish between the nature of the nodes. For performance and (more generally) behavioural analysis, we would like to be able to record:
See #99 for more background