Packages

A versatile implementation of Dijkstra's shortest path algorithm for Gleam.

Current section

Files

Jump to
dijkstra include dijkstra_ShortestPaths.hrl
Raw

include/dijkstra_ShortestPaths.hrl

-record(shortest_paths, {
distances :: gleam@dict:dict(any(), integer()),
predecessors :: gleam@dict:dict(any(), any())
}).