pychess.Utils.TranspositionTable
index
/home/thomas/Programmering/python/skak/svn/lib/pychess/Utils/TranspositionTable.py

This is a dictionary, that supports a max of items.
This is good for the transportation table, as some old entries might not
be useable any more, as the position has totally changed

 
Classes
       
UserDict.UserDict
TranspositionTable

 
class TranspositionTable(UserDict.UserDict)
     Methods defined here:
__init__(self, maxSize)
__setitem__(self, key, item)
probe(self, board, depth, alpha, beta)
record(self, board, moves, depth, score, hashf)

Methods inherited from UserDict.UserDict:
__cmp__(self, dict)
__contains__(self, key)
__delitem__(self, key)
__getitem__(self, key)
__len__(self)
__repr__(self)
clear(self)
copy(self)
get(self, key, failobj=None)
has_key(self, key)
items(self)
iteritems(self)
iterkeys(self)
itervalues(self)
keys(self)
pop(self, key, *args)
popitem(self)
setdefault(self, key, failobj=None)
update(self, dict=None, **kwargs)
values(self)

Class methods inherited from UserDict.UserDict:
fromkeys(cls, iterable, value=None) from __builtin__.classobj

 
Data
        hashfALPHA = 0
hashfBETA = 1
hashfEXACT = 2