The A* search algorithm implemented in gleam
Gleam 100.0%
3 1 0

Clone this repository

https://tangled.org/keii.dev/gleamstar
git@tangled.org:keii.dev/gleamstar

For self-hosted knots, clone URLs may differ based on your setup.

README.md

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