Package search.ab
Class TranspositionTableObject
java.lang.Object
search.ab.TranspositionTableObject
Represents an entry in the transposition table used for optimizing the search algorithm.
This class stores information about previously evaluated game positions, including
their scores, the best move found, the search depth, and a list of possible moves.
-
Constructor Summary
ConstructorsConstructorDescriptionTranspositionTableObject(double currentPosRating, LinkedList<Integer> movesList, int depth) Constructs a newTranspositionTableObjectwith the position rating, a list of moves, and the search depth. -
Method Summary
-
Constructor Details
-
TranspositionTableObject
Constructs a newTranspositionTableObjectwith the position rating, a list of moves, and the search depth.- Parameters:
currentPosRating- The rating of the current position.movesList- A list of possible moves from the current position.depth- The depth at which the position was evaluated.
-