Floyd-Warshall Algorithm with Iterative Matrix Output

Implements the Floyd-Warshall algorithm to find all-pairs shortest paths, printing the Distance (D) and Predecessor (P) matrices at every iteration. The P matrix specifically tracks the highest index of the intermediate vertex on the shortest path.

ECNU-ICALK Updated 559 repo stars

File contents

ECNU-ICALK/AutoSkill/tree/main/SkillBank/ConvSkill/english_gpt4_8/floyd-warshall-algorithm-with-iterative-matrix-output commit 92af46ffdd

Frequently asked questions

npx skillmds@latest add ecnu-icalk/floyd-warshall-algorithm-with-iterative-matrix-output