Quantcast
Channel: GameDev.net
Viewing all articles
Browse latest Browse all 17625

How to Implement Transposition Table for Java and Other Optimizations

$
0
0

I'm currently programming an AI for the game called Lines of Action. As I was looking into how to optimize my program, I learned about alpha-beta pruning, which I have implemented, and I now am looking to implement a transposition table. I have implemented the Zobrist hashing part, but I am not sure how I should store the hash key and the corresponding value object that is meant to store the depth, best move, flag, and score. I think I should be using a hash table or an array, but I am not sure how this should be done …


Viewing all articles
Browse latest Browse all 17625

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>