style

package
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: Dec 20, 2024 License: MIT Imports: 6 Imported by: 0

Documentation

Overview

功能:形态-查询 说明:

功能:跟从形态 说明:

功能:龙形态 说明:

https://bbs.boniu123.cc/thread-834529-1-1.html 长庄:在大路中连续有 4 个或 4 个以上的庄(如下图所示) 长闲:在大路中连续有 4 个或 4 个以上的闲(如下图所示)

功能:mm跳形态 说明:两列保持相同颗数的跳

功能:mn跳形态 说明:两列保持不同颗数的跳

功能:相反形态 说明:列的第一颗之后,执行相反形态

功能:形态- 说明:

Index

Constants

View Source
const (
	LONG_MIN_NODE_CNT = 3 //最少节点数
	LONG_MIN_COL_CNT  = 1 //最少列数
)
View Source
const (
	MN_JUMP_MIN_NODE_CNT = 4 //最少节点数
	MN_JUMP_MIN_COL_CNT  = 2 //最少列数
)

Variables

This section is empty.

Functions

func Style_query

func Style_query(nodes []*suggestion.FeedbackNode) *suggestion.BetAreaSuggestion

查询形态

Types

type CheckItem

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

检测项

type HandlerCheckStyle

type HandlerCheckStyle func([]*suggestion.FeedbackNode) (bool, *suggestion.BetAreaSuggestion)

type STYLE_TYPE

type STYLE_TYPE int //形态类型
const (
	HALF_STYLE STYLE_TYPE = 1 //半形态
	FULL_STYLE STYLE_TYPE = 2 //全形态
)

Jump to

Keyboard shortcuts

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