Jump to content

  • Log In with Google      Sign In   
  • Create Account

#Actualcryo75

Posted 20 March 2013 - 08:57 AM

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[2][24][24]

 

During placement stage, I will only have one position, so when incrementing the hh counter, should I check what kind of move it is?


#1cryo75

Posted 20 March 2013 - 08:46 AM

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 for that index. Am I right?


PARTNERS