A Mahjong-Strategy based on Weighted Restarting Automata

Qichao Wang, Yongming Li, Xiaoyin Chen
{"title":"A Mahjong-Strategy based on Weighted Restarting Automata","authors":"Qichao Wang, Yongming Li, Xiaoyin Chen","doi":"10.1145/3426826.3426848","DOIUrl":null,"url":null,"abstract":"Mahjong is a popular and traditional tile-based game in China, which has a history of several hundred years. In general, Mahjong is played by four players, and each player begins with 13 tiles and changes (i.e., draws and discards) tiles in turn, until a player obtains a so-called winning hand consisting of 14 tiles. We are interested in the minimal number of necessary tile changes in order to obtain a winning hand, i.e., the so-called deficiency number. For this purpose, we develop a Mahjong-intelligence by using weighted restarting automata. Originally, restarting automata have been introduced as a formal model of the linguistic technique of analysis by reduction, which can be used to check the correctness of natural language sentence. In order to study quantitative aspects of restarting automata, we introduce the concept of a weighted restarting automaton. Such an automaton is defined as a pair (M, ω), where M is a restarting automaton on some input alphabet Σ, and ω is a weight function that assigns an element of a semiring S to each transition of M. Thus, each weighted restarting automaton defines a function f: Σ* → S that associates an element of S to each input word over Σ. In this work, we will construct a weighted restarting automaton over the tropical semiring that can determine the deficiency number of a hand of Mahjong-tiles.","PeriodicalId":202857,"journal":{"name":"Proceedings of the 2020 3rd International Conference on Machine Learning and Machine Intelligence","volume":"201 1","pages":"0"},"PeriodicalIF":0.0000,"publicationDate":"2020-09-18","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"4","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"Proceedings of the 2020 3rd International Conference on Machine Learning and Machine Intelligence","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.1145/3426826.3426848","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 4

Abstract

Mahjong is a popular and traditional tile-based game in China, which has a history of several hundred years. In general, Mahjong is played by four players, and each player begins with 13 tiles and changes (i.e., draws and discards) tiles in turn, until a player obtains a so-called winning hand consisting of 14 tiles. We are interested in the minimal number of necessary tile changes in order to obtain a winning hand, i.e., the so-called deficiency number. For this purpose, we develop a Mahjong-intelligence by using weighted restarting automata. Originally, restarting automata have been introduced as a formal model of the linguistic technique of analysis by reduction, which can be used to check the correctness of natural language sentence. In order to study quantitative aspects of restarting automata, we introduce the concept of a weighted restarting automaton. Such an automaton is defined as a pair (M, ω), where M is a restarting automaton on some input alphabet Σ, and ω is a weight function that assigns an element of a semiring S to each transition of M. Thus, each weighted restarting automaton defines a function f: Σ* → S that associates an element of S to each input word over Σ. In this work, we will construct a weighted restarting automaton over the tropical semiring that can determine the deficiency number of a hand of Mahjong-tiles.
基于加权重启自动机的麻将策略
麻将在中国是一种流行的传统麻将游戏,已有几百年的历史。一般来说,麻将是由四个玩家玩的,每个玩家从13张牌开始,然后依次更换(即抽牌和弃牌),直到玩家获得由14张牌组成的所谓胜利手牌。我们感兴趣的是为了获得获胜手牌所需的最少数量的瓷砖更改,即所谓的缺陷数。为此,我们使用加权重启自动机开发了一个麻将智能。重新启动自动机最初是作为约简分析语言技术的形式化模型引入的,它可以用来检查自然语言句子的正确性。为了研究重起动自动机的定量问题,我们引入了加权重起动自动机的概念。这样的自动机被定义为一对(M, ω),其中M是某个输入字母Σ上的重新启动自动机,ω是一个权重函数,它将一个半循环S的元素分配给M的每个转换。因此,每个加权重新启动自动机定义了一个函数f: Σ*→S,该函数将S的一个元素关联到Σ上的每个输入单词。在这项工作中,我们将在热带半环上构造一个加权重新启动自动机,该自动机可以确定一副麻将的不足数。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
求助全文
约1分钟内获得全文 求助全文
来源期刊
自引率
0.00%
发文量
0
×
引用
GB/T 7714-2015
复制
MLA
复制
APA
复制
导出至
BibTeX EndNote RefMan NoteFirst NoteExpress
×
提示
您的信息不完整,为了账户安全,请先补充。
现在去补充
×
提示
您因"违规操作"
具体请查看互助需知
我知道了
×
提示
确定
请完成安全验证×
copy
已复制链接
快去分享给好友吧!
我知道了
右上角分享
点击右上角分享
0
联系我们:info@booksci.cn Book学术提供免费学术资源搜索服务,方便国内外学者检索中英文文献。致力于提供最便捷和优质的服务体验。 Copyright © 2023 布克学术 All rights reserved.
京ICP备2023020795号-1
ghs 京公网安备 11010802042870号
Book学术文献互助
Book学术文献互助群
群 号:604180095
Book学术官方微信