| 92 | |
| 93 | |
| 94 | void ABstats::IncrPos( |
| 95 | const ABCountType no, |
| 96 | const bool side, |
| 97 | const int depth) |
| 98 | { |
| 99 | if (no < 0 || no >= AB_SIZE) |
| 100 | return; |
| 101 | |
| 102 | ABplaces[no].list[depth]++; |
| 103 | ABplaces[no].sum++; |
| 104 | ABplaces[no].sumWeighted += depth; |
| 105 | ABplaces[no].sumCum++; |
| 106 | ABplaces[no].sumCumWeighted += depth; |
| 107 | |
| 108 | const int iside = (side ? 1 : 0); |
| 109 | |
| 110 | ABsides[iside].list[depth]++; |
| 111 | ABsides[iside].sum++; |
| 112 | ABsides[iside].sumWeighted += depth; |
| 113 | ABsides[iside].sumCum++; |
| 114 | ABsides[iside].sumCumWeighted += depth; |
| 115 | |
| 116 | } |
| 117 | |
| 118 | |
| 119 | void ABstats::IncrNode(const int depth) |
nothing calls this directly
no outgoing calls
no test coverage detected