v0.4.1
a_star_algorithm
使用 A* 演算法透過障礙物找到通往目的地路徑的套件。
23喜歡 1570近 30 天下載160Pub 分數
AndroidiOSWebmacOSWindowsLinux
使用 A* 演算法透過障礙物找到通往目的地路徑的套件。
以下為英文專案原文快照,最新內容請造訪 GitHub。
A* algorithm
To use this package, add a_star_algorithm as a dependency in your pubspec.yaml file.
void main() {
Iterable<(int, int)> result = AStar(
rows: 20,
columns: 20,
start: (5,0),
end: (8,19),
barriers: [
(10,5),
(10,6),
(10,7),
(10,8),
],
).findThePath();
}
依賴清單 3 項
^1.15.0^1.2.1^1.25.13先依使用情境篩選,再比較專案活躍情況,最後到原始儲存庫確認使用要求。
“A repository is the most basic element of GitHub.”
GitHub Docs — About repositories ↗