{"title":"基于加权重启自动机的麻将策略","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":"{\"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}","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}
A Mahjong-Strategy based on Weighted Restarting Automata
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.