A Novel Discrete Differential Evolution with Varying Variables for the Deficiency Number of Mahjong Hand

The deficiency number of one hand, i.e., the number of tiles needed to change in order to win, is an important factor in the game Mahjong, and plays a significant role in the development of artificial intelligence (AI) for Mahjong. However, it is often difficult to compute due to the large amount of...

Full description

Bibliographic Details
Main Authors: Xueqing Yan, Yongming Li
Format: Article
Language:English
Published: MDPI AG 2023-05-01
Series:Mathematics
Subjects:
Online Access:https://www.mdpi.com/2227-7390/11/9/2135
_version_ 1827742864581328896
author Xueqing Yan
Yongming Li
author_facet Xueqing Yan
Yongming Li
author_sort Xueqing Yan
collection DOAJ
description The deficiency number of one hand, i.e., the number of tiles needed to change in order to win, is an important factor in the game Mahjong, and plays a significant role in the development of artificial intelligence (AI) for Mahjong. However, it is often difficult to compute due to the large amount of possible combinations of tiles. In this paper, a novel discrete differential evolution (DE) algorithm is presented to calculate the deficiency number of the tiles. In detail, to decrease the difficulty of computing the deficiency number, some pretreatment mechanisms are first put forward to convert it into a simple combinatorial optimization problem with varying variables by changing its search space. Subsequently, by means of the superior framework of DE, a novel discrete DE algorithm is specially developed for the simplified problem through devising proper initialization, a mapping solution method, a repairing solution technique, a fitness evaluation approach, and mutation and crossover operations. Finally, several experiments are designed and conducted to evaluate the performance of the proposed algorithm by comparing it with the tree search algorithm and three other kinds of metaheuristic methods on a large number of various test cases. Experimental results indicate that the proposed algorithm is efficient and promising.
first_indexed 2024-03-11T04:13:24Z
format Article
id doaj.art-a4110832e02d44908517cc03cf8dc364
institution Directory Open Access Journal
issn 2227-7390
language English
last_indexed 2024-03-11T04:13:24Z
publishDate 2023-05-01
publisher MDPI AG
record_format Article
series Mathematics
spelling doaj.art-a4110832e02d44908517cc03cf8dc3642023-11-17T23:20:28ZengMDPI AGMathematics2227-73902023-05-01119213510.3390/math11092135A Novel Discrete Differential Evolution with Varying Variables for the Deficiency Number of Mahjong HandXueqing Yan0Yongming Li1School of Computer Science, Shaanxi Normal University, Xi’an 710062, ChinaSchool of Mathematics and Statistics, Shaanxi Normal University, Xi’an 710062, ChinaThe deficiency number of one hand, i.e., the number of tiles needed to change in order to win, is an important factor in the game Mahjong, and plays a significant role in the development of artificial intelligence (AI) for Mahjong. However, it is often difficult to compute due to the large amount of possible combinations of tiles. In this paper, a novel discrete differential evolution (DE) algorithm is presented to calculate the deficiency number of the tiles. In detail, to decrease the difficulty of computing the deficiency number, some pretreatment mechanisms are first put forward to convert it into a simple combinatorial optimization problem with varying variables by changing its search space. Subsequently, by means of the superior framework of DE, a novel discrete DE algorithm is specially developed for the simplified problem through devising proper initialization, a mapping solution method, a repairing solution technique, a fitness evaluation approach, and mutation and crossover operations. Finally, several experiments are designed and conducted to evaluate the performance of the proposed algorithm by comparing it with the tree search algorithm and three other kinds of metaheuristic methods on a large number of various test cases. Experimental results indicate that the proposed algorithm is efficient and promising.https://www.mdpi.com/2227-7390/11/9/2135Mahjongdifferential evolutiondeficiency numbercombinatorial optimization
spellingShingle Xueqing Yan
Yongming Li
A Novel Discrete Differential Evolution with Varying Variables for the Deficiency Number of Mahjong Hand
Mathematics
Mahjong
differential evolution
deficiency number
combinatorial optimization
title A Novel Discrete Differential Evolution with Varying Variables for the Deficiency Number of Mahjong Hand
title_full A Novel Discrete Differential Evolution with Varying Variables for the Deficiency Number of Mahjong Hand
title_fullStr A Novel Discrete Differential Evolution with Varying Variables for the Deficiency Number of Mahjong Hand
title_full_unstemmed A Novel Discrete Differential Evolution with Varying Variables for the Deficiency Number of Mahjong Hand
title_short A Novel Discrete Differential Evolution with Varying Variables for the Deficiency Number of Mahjong Hand
title_sort novel discrete differential evolution with varying variables for the deficiency number of mahjong hand
topic Mahjong
differential evolution
deficiency number
combinatorial optimization
url https://www.mdpi.com/2227-7390/11/9/2135
work_keys_str_mv AT xueqingyan anoveldiscretedifferentialevolutionwithvaryingvariablesforthedeficiencynumberofmahjonghand
AT yongmingli anoveldiscretedifferentialevolutionwithvaryingvariablesforthedeficiencynumberofmahjonghand
AT xueqingyan noveldiscretedifferentialevolutionwithvaryingvariablesforthedeficiencynumberofmahjonghand
AT yongmingli noveldiscretedifferentialevolutionwithvaryingvariablesforthedeficiencynumberofmahjonghand