brain

package
v0.0.0-...-4fb7718 Latest Latest
Warning

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

Go to latest
Published: May 3, 2024 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

View Source
const (
	UPPERBOUND = "upper"
	LOWERBOUND = "lower"
	EXACT      = "exact"
)

Variables

This section is empty.

Functions

func IDBRS

func IDBRS(ctx context.Context, b *g.FastBoard) g.Move

Types

type BRSGame

type BRSGame struct {
	// contains filtered or unexported fields
}

func CreateBRSGame

func CreateBRSGame(b *g.FastBoard) *BRSGame

func (*BRSGame) BRS

func (brs *BRSGame) BRS(board *g.FastBoard, move g.Move, depth int, alpha, beta float64, maxPlayer bool) BRSNode

type BRSNode

type BRSNode struct {
	Score float64
	Move  g.Move
}

Jump to

Keyboard shortcuts

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