v0.4.1
a_star_algorithm
Package that uses the A * algorithm to find a way to the destination through the barriers.
23Likes 1.6K30-day downloads160Pub points
AndroidiOSWebmacOSWindowsLinux
Package that uses the A * algorithm to find a way to the destination through the barriers.
English project snapshot. Visit GitHub for the latest content.
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();
}
Dependency list 3 items
^1.15.0^1.2.1^1.25.13Start with your use case, compare repository activity, and check the original project before adopting it.
“A repository is the most basic element of GitHub.”
GitHub Docs — About repositories ↗