issues
search
tyhsu
/
Ewn
Artificial Intelligence of the game EinStein würfelt nicht
6
stars
2
forks
source link
Questions and bugs for tree_node.cpp
#14
Closed
tyhsu
closed
7 years ago
tyhsu
commented
7 years ago
score, num_visit 等變數希望改名@@
legal_move_list 是做什麼用的?
與其多一個 is_legal_list 來判斷,為什麼 children_list 不只存合法的 child nodes 並多一個 member 去存合法的 child 的個數就好?目前有自行新增名叫 child_num 在 .h 檔裡,並在 uct.cpp 中被拿來使用
is_legal_list 等紀錄合法的方式需要多加注意有哪些判斷 ex.該棋子存在與否
請大家再看一次 naming rule 喔<3 (
區域變數
: 重複使用的變數名稱後面加入
_
ex:
turn_
,
symbol_
...)
tyhsu
commented
7 years ago
各個 .h 檔已經完成改名,也刪除多餘的member了
children_list 現在只儲存 legal 的 child nodes,若跑迴圈直到指標為 null 才結束
_
ex:turn_
,symbol_
...)