class Dijkstra::Graph(T)
- Dijkstra::Graph(T)
- Reference
- Object
Defined in:
dijkstra.crConstructors
Instance Method Summary
- #add_edge(source : T, target : T, weight : Int32)
- #shortest_path(source : T, target : T) : Tuple(Int32, Array(T)) | Nil
- #shortest_paths(source : T) : Array(Tuple(T, T, Int32 | Nil, Array(T) | Nil))