Skip to content

Latest commit

 

History

History
33 lines (25 loc) · 856 Bytes

README.md

File metadata and controls

33 lines (25 loc) · 856 Bytes

pub package Code Quality

a_star_algorithm

A* algorithm

Usage

To use this package, add a_star_algorithm as a dependency in your pubspec.yaml file.

Example

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();
}

Demo Online