1,a) 2,b) 3 Modeling of Agitation Method in Automatic Mahjong Table using Multi-Agent Simulation Hiroyasu Ide 1,a) Takashi Okuda 2,b) Abstract: Automatic mahjong table refers to mahjong table which automatically performs the action of stirring tiles and stacking them on the wall. Since the agitation method of automatic mahjong table has certain regularity, it is considered that there is a possibility that bias has occurred in the tile as a factor. Therefore, in this research, we propose modeling of agitation method in automatic mahjong table using Multi-Agent Simulation, and analyzed agitation rate of tiles. As a result, it was found that biasing of the tiles occurred to a considerable extent by agitation method of automatic mahjong table. Moreover, agitation rate was improved by adding idle rotation to the drum of automatic mahjong table, and it was found that the whole tile was agitated sufficiently when applying idle rotation more than three rotations. 1. 1 Graduate School of Information Science and Technology, Aichi Prefectural University 2 Department of Information Science and Technology, Faculty of Information Science and Tehnology, Aichi Prefectural University a) k619154u@gmail.com b) okuda@ist.aichi-pu.ac.jp [1] [2] [3][4] [5][6] 2017 Information Processing Society of Japan - 171 -
1: A/B/C/D Fig. 1 Modeling Based on Difference in Agitation Method artisoc[7] 2. 2.1 4 136 34 2 17 4 136 2 1 1 8 2.2 4 A D 2017 Information Processing Society of Japan - 172 -
A R L 1 2 B R L 1 4 2 C 4 F M 1 F M D R C 1 1 34 4 1 34 B R L A D A/B/C/D A L B R C F D R L/R/F/R 3. 3.1 Q i 2 20 20 0 360 45 8 35 8.75% 280 70% 4 i = {1, 2, 3, 4} 8 2 Q i i Q i i = 1 Q 1 6 7 i = 2 Q 2 1 8 i = 3 Q 3 2 3 i = 4 Q 4 4 5 2: 8 Fig. 2 Octant Drum Space Model 136 Q i Q i Q 2 i = 2 3.2 P n 136 [8][9] 136 n = {1, 2,, 136} P n P n P n ( 1 ) 70% 1 ( 2 ) 30% 45 1 ( 1 ) 70% 45 1 ( 2 ) 30% 1 P n P n 1 T P 2017 Information Processing Society of Japan - 173 -
3.3 G i W i,j 4 G i G i W i,j j = {1, 2,, 34} i G i W i,j i G 2 P n P n W 2,j G i P n 1 P n 1 P n P n W i,j P n T H G i i W i,j W i,34 34 P n G i P n T G G i P n N 3.4 A i,j W i,j A i,j {S, G} {Q i } S S = 10 3 G G = 4 Q i W i,j P n S Q i i (0 Q i S) A i,j Q i σ (1) G ( S G Q i) 2 i=1 σ = (1) G Q i σ max (1) Q 1 = S Q 2 = 0 Q 3 = 0 Q 4 = 0 (2) ( S σ max = G S)2 + (G 1)( S G )2 (2) G σ/σ max 1 (3) A i,j (0 A i,j 1) G ( S G Q i) 2 A i,j = 1 i=1 ( S G S)2 + (G 1)( S (3) G )2 1: Table 1 Parameter Setting of Simulation P n 1 T P 53 G i P n T H 10 G i P n T G 424 N 0 G 4 S 10 3 (3) Q i S/G A i,j = 1 σ = σ max A i,j = 0 W i,j A i,j 0.9 4. 4.1 L/R/F/R P n 1 T P G i P n T H G i P n T G T P = 53 T H = 10 T G = 424 artisoc N N = 0 L/R/F/R 1 A i,j 4.2 1 3 3(a) W 1,j 3(b) W 2,j 3(c) W 3,j 3(d) W 4,j A i,j Q i Q i S i Q i Q i /S A i,j A i,1 = 0 j j = 10 A i,j = 0.9 A i,j 0.9 j 10 2017 Information Processing Society of Japan - 174 -
(a) W 1,j N = 0 (b) W 2,j N = 0 (c) W 3,j N = 0 (d) W 4,j N = 0 3: W i,j A i,j Q i N = 0 Fig. 3 Agitation Rate A i,j and Q i Rate in Walls of Each Players W i,j Q i 0.25 1/G Q i A i,j A i,j Q i 0.25 Q i A i,j i A D 3(a) W 1,j Q 2 Q 1 Q 4 Q 3 3(b) W 2,j Q 3 Q 2 Q 1 Q 4 3(c) W 3,j Q 4 Q 3 Q 2 Q 1 3(d) W 4,j Q 1 Q 4 Q 3 Q 2 3(a) W 1,1 100% Q 2 P n W 1,2 90% Q 1 P n W i,j 4.3 2 N = 0 N = 1 N 4 4(a) N = 1 4(b) N = 2 4(c) N = 3 4(d) N = 4 W 1,j A 1,j Q i N A 1,j Q i N = 0 3(a) (d) A i,1 = 0 4(a) N = 1 A 1,1 = 0.66 4(b) N = 2 A 1,1 = 0.83 4(c) N = 3 A 1,1 = 0.91 4(d) N = 4 A 1,1 = 0.96 N 3 j A 1,j 0.9 Q i [0.2, 0.3] 2017 Information Processing Society of Japan - 175 -
(a) W 1,j N = 1 (b) W 1,j N = 2 (c) W 1,j N = 3 (d) W 1,j N = 4 4: W 1,j A 1,j Q i N = 1, 2, 3, 4 Fig. 4 Agitation Rate A 1,j and Q i Rate in the Wall of East Player W 1,j 5. A/B/C/D L/R/F/R W i,j j = 10 N N 3 79 2017 3 [10] [1] Vol.53, No.2, pp.112-117 (2012) [2] Vol.52 No.1 pp.27-34 (2007) [3] Vol.53 No.2 pp.118-125 (2012) [4] Vol.3 No.9 pp.65-70 (2000) [5] (2004) [6] (2009) [7] artisoc (2008) [8] Amy Lo The Complete Book of Mah Jongg An Illustrated Guide to the Asian, American and International Styles of Play TUTTLE 2001 [9] Scott D. Miller Riichi Mahjong The Ultimate Guide to the Japanese Game Taking the World by Storm Psionic Press 2015 [10] 79 7P-04 (2017) 2017 Information Processing Society of Japan - 176 -