Now the next step is to add history heuristics. If I understand correctly, hh is just a table that increments a counter on every beta cut-off. Then in the next call to the recursive function, the generated moves are sorted by the counter value (or weights depending on the move type) for that index. Am I right?
So in the case of the nine men morris game I'm doing, i will have this hh:
int[color][posFrom][posTo] hh = new int
During placement stage, I will only have one position, so when incrementing the hh counter, should I check what kind of move it is?