能用A*就用A*。但有更容易懂的的做法, cost graph 建好,套 dijkstra 不是最快解法但夠用了 XD(紅格子的edge cost較高)(很多地方可以改良先不細講
2021-10-28 11:10:06 編輯