ShantenWithoutGot

@Serializable
@SerialName(value = "ShantenWithoutGot")
data class ShantenWithoutGot(val shantenNum: Int, val advance: Set<Tile>, val advanceNum: Int = 0, val goodShapeAdvance: Set<Tile>? = if (shantenNum == 1) emptySet() else null, val goodShapeAdvanceNum: Int? = if (shantenNum == 1) 0 else null, val improvement: Map<Tile, List<Improvement>>? = if (shantenNum == 0) emptyMap() else null, val improvementNum: Int? = if (shantenNum == 0) 0 else null, val goodShapeImprovement: Map<Tile, List<Improvement>>? = if (shantenNum == 0) emptyMap() else null, val goodShapeImprovementNum: Int? = if (shantenNum == 0) 0 else null) : CommonShanten

未摸牌的手牌的向听信息

Constructors

Link copied to clipboard
constructor(shantenNum: Int, advance: Set<Tile>, advanceNum: Int = 0, goodShapeAdvance: Set<Tile>? = if (shantenNum == 1) emptySet() else null, goodShapeAdvanceNum: Int? = if (shantenNum == 1) 0 else null, improvement: Map<Tile, List<Improvement>>? = if (shantenNum == 0) emptyMap() else null, improvementNum: Int? = if (shantenNum == 0) 0 else null, goodShapeImprovement: Map<Tile, List<Improvement>>? = if (shantenNum == 0) emptyMap() else null, goodShapeImprovementNum: Int? = if (shantenNum == 0) 0 else null)

Properties

Link copied to clipboard

进张

Link copied to clipboard
@EncodeDefault
val advanceNum: Int = 0

进张数

Link copied to clipboard
Link copied to clipboard
@EncodeDefault
val goodShapeAdvance: Set<Tile>?

好型进张 仅当一向听时进行计算

Link copied to clipboard
@EncodeDefault
val goodShapeAdvanceNum: Int?

好型进张数 仅当一向听时进行计算

Link copied to clipboard

好型改良张(能让听牌数目增加到大于4张的牌) 对于每种改良张,只计算能让进张最多的打法 仅当听牌时进行计算

Link copied to clipboard
@EncodeDefault
val goodShapeImprovementNum: Int?

好型改良张数(能让听牌数目增加到大于4张的牌) 仅当听牌时进行计算

Link copied to clipboard
@EncodeDefault
val improvement: Map<Tile, List<Improvement>>?

改良张(能让听牌数目增加的牌) 对于每种改良张,只计算能让进张最多的打法 仅当听牌时进行计算

Link copied to clipboard
@EncodeDefault
val improvementNum: Int?

改良张数(能让听牌数目增加的牌) 仅当听牌时进行计算

Link copied to clipboard
open override val shantenNum: Int

向听数