#include <hash.h>

Public Member Functions | |
| void | print () |
| void | update (u64 key, uint playerIndex) |
| Updates number of repetitions (+1). | |
| bool | isThirdRep (u64 key, uint playerIndex) |
| Checks whether position is third repetition. | |
Protected Attributes | |
| u64 | playerSignature_ [2] |
Stores key(position, playerIndex) ---> number of position repetitions so far
| void ThirdRep::update | ( | u64 | key, | |
| uint | playerIndex | |||
| ) |
Updates number of repetitions (+1).
Number of repetitions for giben key,playerIndex must be < 2 (asserts)!
1.5.7.1