org.vizzini.game.search
Class TranspositionEntry
java.lang.Object
org.vizzini.game.search.TranspositionEntry
public class TranspositionEntry
- extends Object
Provides an entry for a transposition table.
- Since:
- v0.3
- Version:
- v0.3
- Author:
- Jeffrey M. Thompson
TYPE_EXACT
public static final int TYPE_EXACT
- See Also:
- Constant Field Values
TYPE_ALPHA
public static final int TYPE_ALPHA
- See Also:
- Constant Field Values
TYPE_BETA
public static final int TYPE_BETA
- See Also:
- Constant Field Values
TranspositionEntry
public TranspositionEntry(String key,
int depth,
int type,
int value,
IAction bestMove)
- Construct this object using the given parameters.
- Parameters:
key
- depth
- type
- value
- bestMove
-
getBestMove
public IAction getBestMove()
- Returns:
- Return bestMove.
getDepth
public int getDepth()
- Returns:
- Return depth.
getKey
public String getKey()
- Returns:
- Return key.
getType
public int getType()
- Returns:
- Return type.
getValue
public int getValue()
- Returns:
- Return value.
toString
public String toString()
- Return a string representation of this object.
- Overrides:
toString
in class Object
Copyright © 2007 Vizzini.org. All Rights Reserved.
|
2007.12.25.03.00.02 |