Documentation ¶
Index ¶
- Constants
- func ValueFromTrans(value int16, height int) int16
- func ValueToTrans(value int, height int) int16
- type TranspositionTable
- func (t *TranspositionTable) Clear()
- func (t *TranspositionTable) Get(key uint64) (ok bool, value int16, eval int16, depth int16, move backend.Move, flag uint8, ...)
- func (t *TranspositionTable) Prefetch(key uint64)
- func (t *TranspositionTable) Set(key uint64, value int16, eval int16, depth int, bestMove backend.Move, ...)
Constants ¶
View Source
const NoneDepth = -6
Variables ¶
This section is empty.
Functions ¶
func ValueFromTrans ¶
func ValueToTrans ¶
Types ¶
type TranspositionTable ¶
type TranspositionTable struct { Entries []transEntry Mask uint64 }
var GlobalTransTable TranspositionTable
func NewTransTable ¶
func NewTransTable(megabytes int) TranspositionTable
func (*TranspositionTable) Clear ¶
func (t *TranspositionTable) Clear()
func (*TranspositionTable) Prefetch ¶
func (t *TranspositionTable) Prefetch(key uint64)
Click to show internal directories.
Click to hide internal directories.