org.vizzini.game.search
Class TranspositionTable
java.lang.Object
org.vizzini.game.search.TranspositionTable
public class TranspositionTable
- extends Object
- Since:
- v0.3
- Version:
- v0.3
- Author:
- Jeffrey M. Thompson
TranspositionTable
public TranspositionTable()
add
public void add(TranspositionEntry entry)
- Add the given entry to the table.
- Parameters:
entry
-
add
public void add(String key,
int depth,
int type,
int value,
IAction bestMove)
- Create a new entry using the given parameters and add it to the table.
- Parameters:
key
- depth
- type
- value
- bestMove
-
get
public TranspositionEntry get(String key)
- Return the entry for the given key, or null if none is found.
- Parameters:
key
-
- Returns:
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 |