一種基于Dijkstra算法的啟發式最優路徑搜索算法
A heuristic optimization path-finding algorithm based on Dijkstra algorithm
-
摘要: 為了建立一個高效的路徑搜索引擎,針對大型應用系統中尋徑算法的平衡最優性、時間復雜度以及空間復雜度問題,從經典Dijkstra算法出發,將AI領域的決策機制引入到路徑搜索中來,提出了一個啟發式最優路徑搜索算法.該算法在尋徑過程中引入代價函數,由代價函數來決定尋徑策略(即優先搜索哪些中間節點),以期望減少搜索節點數.給出了該算法得到最佳解的條件及其證明過程,并且以實例數據對兩種算法進行了對比測試.Abstract: To make an efficient path-finding engine, a heuristic optimization path-finding algorithm was proposed for resolving the time and space complexity problems of a searching algorithm in a large application system. The algorithm was based on the classical Dijkstra algorithm and introduced the decision mechanism in AI into path-finding. To decrease the number of nodes to search, cost-function was incorporated into this algorithm and used to decide the path-finding policy, that was, which nodes were searched firstly. The condition of getting the optimal solution from this algorithm was put forward and proved. These two algorithms were tested comparatively.
下載: