gleamstar

The A* search algorithm implemented in gleam

Package Version Hex Docs

gleam add gleamstar@1
import gleamstar

pub fn main() {
  gleamstar.a_star(#(0, 0), #(2, 2), [#(1, 1)])
  // Ok([#(0, 1), #(1, 2), #(2, 2)])
}

Further documentation can be found at https://hexdocs.pm/gleamstar.

Development

gleam test  # Run the tests
Search Document