mjx-project / mjx

Mjx: A framework for Mahjong AI research
https://colab.research.google.com/drive/1m1wOT_K2YFtuV6IO7VgWk4ilVhTKqRFU?usp=sharing
MIT License
167 stars 18 forks source link

Fix calculation of `han22-v0` features (index 70-77) #1133

Closed OkanoShinri closed 2 years ago

OkanoShinri commented 2 years ago
index 定義
70 If t is Dora indicator (≥ 1 repeats)
71 If t is Dora indicator (≥ 2 repeats)
72 If t is Dora indicator (≥ 3 repeats)
73 If t is Dora indicator (4 repeats)
74 If t is Dora (≥ 1 repeats)
75 If t is Dora (≥ 2 repeats)
76 If t is Dora (≥ 3 repeats)
77 If t is Dora (4 repeats)

これを手牌にドラ(表示牌)が何枚あるかと解釈していたが、コードを読むとドラ牌に何枚含まれるかを指していた。 例えば下の図の場合、feature[71][12(4m)]がTrueになる。 スクリーンショット 2022-08-28 194518