Class HashTableElement
- java.lang.Object
-
- org.swtpra1.alphabetaplayer.transpositiontables.HashTableElement
-
public class HashTableElement extends java.lang.Object
One element that is hashed in the ZobristHashTable.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
HashTableElement.Bound
-
Constructor Summary
Constructors Constructor Description HashTableElement(ValuedTurn bestTurn, long hash, int depth, HashTableElement.Bound flag)
Constructs a new element in the hash table.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ValuedTurn
getBestTurn()
int
getDepth()
HashTableElement.Bound
getFlag()
long
getHash()
-
-
-
Constructor Detail
-
HashTableElement
public HashTableElement(ValuedTurn bestTurn, long hash, int depth, HashTableElement.Bound flag)
Constructs a new element in the hash table.- Parameters:
bestTurn
- the turnhash
- what we has it asdepth
- the depth we are onflag
- a flag
-
-
Method Detail
-
getBestTurn
public ValuedTurn getBestTurn()
-
getHash
public long getHash()
-
getDepth
public int getDepth()
-
getFlag
public HashTableElement.Bound getFlag()
-
-