mcts

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

This section is empty.

Variables

This section is empty.

Functions

func MCTS

func MCTS(board *bo.FastBoard, txn *newrelic.Transaction) bo.SnakeMove

func RandomRollout

func RandomRollout(fb *board.FastBoard)

func StrategicRollout

func StrategicRollout(fb *board.FastBoard)

Types

type Node

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

func Shuffle

func Shuffle(nodes []*Node) []*Node

type Payoff

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

type SnakeScore

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

Jump to

Keyboard shortcuts

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