transtable

package
v0.0.0-...-011dee9 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 24, 2017 License: GPL-3.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

View Source
const (
	LowerBound = iota // cut-node (fail-high)
	UpperBound = iota // all-node (fail-low)
	Exact      = iota // pv-node
)

Transposition table entry types

Variables

View Source
var DefaultTtableSize int = 512 // 512 MB; can be overridden by user

Functions

func Erase

func Erase(b *dragontoothmg.Board)

func Get

func Get(b *dragontoothmg.Board) (found bool, move dragontoothmg.Move,
	eval int16, depth int8, ntype uint8)

func Initialize

func Initialize(sizeInMb int)

Initialize (or reinitialize and clear) the table. Must be called before use.

func Load

func Load() float32

func Put

func Put(b *dragontoothmg.Board, m dragontoothmg.Move, eval int16, depth int8, ntype uint8)

Insert an entry into the transposition table, which requires the board position, the best move, the evaluation score, the entry search depth, and the node type.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL