文件名称:A*算法之Nilson(八数码)
文件大小:489KB
文件格式:PDF
更新时间:2021-12-31 06:03:25
PY 人工智能 八数码 Nilson seque
Nilsson's sequence score A tile in the center scores 1 (since it should be empty) For each tile not in the center, if the tile clockwise to it is not the one that should be clockwise to it then score 2. Multiply this sequence by three and finally add the total distance you need to move each tile back to its correct position.