... | ... | @@ -42,7 +42,7 @@ For performance reasons, we represent codes as integers between $`0`$ and $`M - |
|
|
|
|
|
The feedbacks are also encoded as integers between $`0`$ and $`F - 1`$, where $`F = \frac{(N + 1)(N + 2)}{2}`$. To reduce the size of arrays indexed by the possible feedbacks, we use the fact that $`b + w \le N`$. Here is an example of encoding for $`N = 3`$.
|
|
|
|
|
|
| b/w| O| 1| 2| 3|
|
|
|
| b\w| O| 1| 2| 3|
|
|
|
|---:|---:|---:|---:|---:|
|
|
|
| 0| 6| 7| 8| 9|
|
|
|
| 1| 3| 4| 5| -|
|
... | ... | |