You are now following this Submission
- You will see updates in your followed content feed
- You may receive emails, depending on your communication preferences
-- The input weight (or initial distance) matrix must have Inf values where the nodes aren't connected and 0's on the diagonal.
-- Outputs are the shortpaths' distance matrix D, and predecessor's matrix P such that P(i,j) is the node before j on the shortest path from i to j, so if you want to build the paths you have to read P backwards.
Hope it helps!
Cite As
Giorgos Dim (2026). Floyd-Warshall (vectorized) (https://uk.mathworks.com/matlabcentral/fileexchange/67503-floyd-warshall-vectorized), MATLAB Central File Exchange. Retrieved .
General Information
- Version 1.0.0.0 (159 Bytes)
MATLAB Release Compatibility
- Compatible with any release
Platform Compatibility
- Windows
- macOS
- Linux
| Version | Published | Release Notes | Action |
|---|---|---|---|
| 1.0.0.0 |
