A dynamic-programming algorithm that computes the shortest path between every pair of vertices in a weighted graph at once, running in cubic time in the number of vertices regardless of how many edges the graph has.
Facts
Time Complexity
Time Complexity (category) Classification
Design Technique Connections
Credited To
Source Wikipedia, Floyd-Warshall algorithm
In Field
Source Wikipedia, Floyd-Warshall algorithm
Invented By
Robert W. Floyd published the all-pairs shortest path algorithm in 1962, building on a related result by Stephen Warshall.
Uses Design Technique
Sources
1. Floyd-Warshall Algorithm (Wikipedia)
Wikipedia infobox: time complexity cubic
cubic
History and naming
The Floyd-Warshall algorithm is an example of dynamic programming, and was published in its currently recognized form by Robert Floyd in 1962.
View the Source2. Wikipedia, Floyd-Warshall algorithm
History and naming
The Floyd-Warshall algorithm is an example of dynamic programming, and was published in its currently recognized form by Robert Floyd in 1962.
entity record, description (design-technique)
A dynamic-programming algorithm that computes the shortest path between every pair of vertices in a weighted graph at once, running in cubic time in the number of vertices regardless of how many edges the graph has.
In Field: Algorithms and Complexity Theory, Lead sentence
Floyd-Warshall algorithm (also known as Floyd's algorithm, the Roy-Warshall algorithm, the Roy-Floyd algorithm, or the WFI algorithm) is an algorithm for finding shortest paths in a directed weighted graph with positive or negative edge weights (but with no ne
In Group: Shortest Path Algorithms, Lead
In computer science, the Floyd-Warshall algorithm (also known as Floyd's algorithm, the Roy-Warshall algorithm, the Roy-Floyd algorithm, or the WFI algorithm) is an algorithm for finding shortest paths in a directed weighted graph with positive or negative edge weights (but with no negative cycles).
View the SourceWikidata: Floyd-Warshall Algorithm
Wikidata Q1047576, class allow-list match (w-wdresolver-0926)View the Source Reader Challenges (0)
No disputes yet. Spotted an error or a better source? Open the first one.
Sign in to dispute this or suggest a correction.