analyze

package
v0.0.0-...-c841390 Latest Latest
Warning

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

Go to latest
Published: Apr 24, 2023 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Analyze

func Analyze(tiles34 []int)

Analyze 分析麻将 tiles34不要包含杠和碰的牌,只计算能打出的牌

func CalcInCard13

func CalcInCard13(tile []int)

func CalcOutCard14

func CalcOutCard14(tile []int)

Types

type SearchNode

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

type SortNode

type SortNode []*SearchNode // 子节点排序

func (SortNode) Len

func (sn SortNode) Len() int

func (SortNode) Less

func (sn SortNode) Less(i, j int) bool

func (SortNode) Swap

func (sn SortNode) Swap(i, j int)

Jump to

Keyboard shortcuts

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