| 32 | |
| 33 | |
| 34 | void ABstats::Reset() |
| 35 | { |
| 36 | for (int depth = 0; depth < DDS_MAXDEPTH; depth++) |
| 37 | ABnodes.list[depth] = 0; |
| 38 | |
| 39 | ABnodes.sum = 0; |
| 40 | ABnodes.sumWeighted = 0; |
| 41 | |
| 42 | for (int side = 0; side < 2; side++) |
| 43 | { |
| 44 | for (int depth = 0; depth < DDS_MAXDEPTH; depth++) |
| 45 | ABsides[side].list[depth] = 0; |
| 46 | |
| 47 | ABsides[side].sum = 0; |
| 48 | ABsides[side].sumWeighted = 0; |
| 49 | } |
| 50 | |
| 51 | for (int place = 0; place < AB_SIZE; place++) |
| 52 | { |
| 53 | for (int depth = 0; depth < DDS_MAXDEPTH; depth++) |
| 54 | ABplaces[place].list[depth] = 0; |
| 55 | |
| 56 | ABplaces[place].sum = 0; |
| 57 | ABplaces[place].sumWeighted = 0; |
| 58 | } |
| 59 | } |
| 60 | |
| 61 | |
| 62 | void ABstats::ResetCum() |
no outgoing calls
no test coverage detected