]> git.sesse.net Git - remoteglot/blob - book/count.h
Store sum and number of Elo values instead of averages, for easier merging.
[remoteglot] / book / count.h
1
2 struct Count {
3         int white = 0;
4         int draw = 0;
5         int black = 0;
6         int opening_num = -1;
7         unsigned long long sum_white_elo = 0;
8         unsigned long long sum_black_elo = 0;
9         int num_elo = 0;
10 };