Floyd-Warshall (vectorized)

Version 1.0.0.0 (159 Bytes) von Giorgos Dim
Vectorized Floyd-Warshall algorithm to find shortest paths and distances between every node pair.
552 Downloads
Aktualisiert 26. Mai 2018

Lizenz anzeigen

-- 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!

Zitieren als

Giorgos Dim (2026). Floyd-Warshall (vectorized) (https://de.mathworks.com/matlabcentral/fileexchange/67503-floyd-warshall-vectorized), MATLAB Central File Exchange. Abgerufen.

Kompatibilität der MATLAB-Version
Erstellt mit R2018a
Kompatibel mit allen Versionen
Plattform-Kompatibilität
Windows macOS Linux
Kategorien
Mehr zu Graph and Network Algorithms finden Sie in Help Center und MATLAB Answers
Quellenangaben

Inspiriert von: Vectorized Floyd-Warshall

Inspiriert: Floyd-Warshall (vectorized)

Version Veröffentlicht Versionshinweise
1.0.0.0