Packages

Eastar is a pure-Elixir implementation of A* graph pathfinding algorithm. All graph environment, like nodes connectivity, distance & H-metric are abstracted away - you provide them as functions.

Current section

Files

Jump to
eastar lib app.ex
Raw

lib/app.ex

defmodule Astar.App do
use Application
@moduledoc false
def start(_type, _args) do
kids = []
# what can be done here: some kind of caching
opts = [strategy: :one_for_one, name: Astar.Supervisor]
Supervisor.start_link(kids, opts)
end
end