v0.4.1
a_star_algorithm
障害物を通過して目的地までの経路を見つけるためにA*アルゴリズムを使用するパッケージ。
22いいね 63230日間ダウンロード160Pub ポイント
AndroidiOSWebmacOSWindowsLinux
障害物を通過して目的地までの経路を見つけるためにA*アルゴリズムを使用するパッケージ。
^1.15.0^1.2.1^1.25.13以下は英語原文のスナップショットです。最新版は GitHub をご覧ください。
https://github.com/RafaelBarbosatec/a_star/blob/main/img/example.jpg
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();
}