[gambit-list] Hashing of types
Alex Queiroz
asandroq at gmail.com
Mon Aug 10 15:31:31 EDT 2009
Hallo,
Is there a way to tell the table hashing function to ignore a
field of a define-type'd value? I am writing a function for alpha-beta
searching, and I'd like to use a cache to avoid re-searching
previously calculated positions. So I have defined the type:
(define-type node
id: d7aba792-963c-41c9-b1fd-e5e26590ab34
seq
ply
move
value ; cached value of evaluation function,
; not full search value
(board unprintable:))
I need that the field 'move' be ignored by the hash function for
equal?. Is that possible?
Cheers,
--
-alex
http://www.ventonegro.org/
More information about the Gambit-list
mailing list