class Mazebot::Dijkstra
- Mazebot::Dijkstra
- Reference
- Object
Defined in:
mazebot/dijkstra.crConstructors
Instance Method Summary
- #distance_to : Hash(Mazebot::Node, Float64)
-
#relax(from : Mazebot::Node, to : Mazebot::Node, weight : Float64)
Edge relaxation basically means that we are checking if the shortest known path to a given node is still valid (i.e.
- #shortest_path_to(node : Mazebot::Node)
- #update_distance_of_all_edges_to(distance : Float64)
Constructor Detail
Instance Method Detail
Edge relaxation basically means that we are checking if the shortest known path to a given node is still valid (i.e. we didn't find an even shorter path).