Floyd–Warshall algorithm

algorithm for finding all-pairs shortest paths in graphs, allowing some edge weights to be negative
Place pathfinding_algorithm Q1047576
Press Enter · cited answer in seconds

Floyd–Warshall algorithm

Summary

Floyd–Warshall algorithm is a pathfinding algorithm[1]. It draws 13 Wikipedia views per month (pathfinding_algorithm category, ranking #4 of 5).[2]

Key Facts

  • Floyd–Warshall algorithm is credited with the discovery of Bernard Roy[3].
  • Floyd–Warshall algorithm's instance of is recorded as pathfinding algorithm[4].
  • Floyd–Warshall algorithm's instance of is recorded as graph algorithm[5].
  • Robert W. Floyd is named after Floyd–Warshall algorithm[6].
  • Stephen Warshall is named after Floyd–Warshall algorithm[7].
  • Floyd–Warshall algorithm's Commons category is recorded as Floyd-Warshall algorithm[8].
  • Floyd–Warshall algorithm's time of discovery or invention is recorded as 1959[9].
  • Floyd–Warshall algorithm's different from is recorded as Floyd Cycle Detection Algorithm[10].
  • Floyd–Warshall algorithm's computes solution to is recorded as all-pairs shortest path problem[11].
  • Floyd–Warshall algorithm's uses is recorded as graph data structure[12].
  • Floyd–Warshall algorithm's maintained by WikiProject is recorded as WikiProject Mathematics[13].

Body

Designation and Status

Recorded instance of include pathfinding algorithm[4] and graph algorithm[5].

History and Context

Things named after include Robert W. Floyd[6], a computer scientist[14], 1936–2001[15], of United States[16], awarded the Guggenheim Fellowship[17], specialised in computer science[18] and Stephen Warshall[7], a mathematician[19], 1935–2006[20], of United States[21].

Why It Matters

Floyd–Warshall algorithm draws 13 Wikipedia views per month (pathfinding_algorithm category, ranking #4 of 5).[2] It has Wikipedia articles in 21 language editions, a strong signal of global cultural recognition.[22] It is known by 62 alternative names across languages and contexts.[23]

References

Programmatic citations — every numbered marker resolves to a verifiable graph row below.

Direct Wikidata claims

  1. [4] ↑ . wikidata.org.
  2. [5] ↑ . wikidata.org.
  3. [3] ↑ . wikidata.org.
  4. [6] ↑ . wikidata.org.
  5. [7] ↑ . wikidata.org.
  6. [8] ↑ . wikidata.org.
  7. [9] ↑ . wikidata.org.
  8. [10] ↑ . wikidata.org.
  9. [11] ↑ . wikidata.org.
  10. [12] ↑ . wikidata.org.
  11. [13] ↑ . wikidata.org.

Inline context (facts about related entities)

  1. [14] ↑ . Wikidata. wikidata.org. → on this site
  2. [15] ↑ . Wikidata. wikidata.org. → on this site
  3. [16] ↑ . Wikidata. wikidata.org. → on this site
  4. [17] ↑ . Wikidata. wikidata.org. → on this site
  5. [18] ↑ . Wikidata. wikidata.org. → on this site
  6. [19] ↑ . Wikidata. wikidata.org. → on this site
  7. [20] ↑ . Wikidata. wikidata.org. → on this site
  8. [21] ↑ . Wikidata. wikidata.org. → on this site

Class ancestry

  1. [1] ↑ . Wikidata. wikidata.org.

Aggregate / graph-position facts

  1. [2] ↑ . Wikimedia Foundation. dumps.wikimedia.org.
  2. [22] ↑ . Wikidata sitelinks. wikidata.org.
  3. [23] ↑ . Wikidata aliases. wikidata.org.

📑 Cite this page

Use these citations when quoting this entity in research, articles, AI prompts, or wherever provenance matters. We aggregate Wikidata + Wikipedia + authoritative open-data sources; the stitched, scored, cross-referenced view is what 4ort.xyz contributes.

APA 4ort.xyz Knowledge Graph. (2026). Floyd–Warshall algorithm. Retrieved October 4, 2026, from https://4ort.xyz/entity/floyd-warshall-algorithm
MLA “Floyd–Warshall algorithm.” 4ort.xyz Knowledge Graph, 4ort.xyz, 4 Oct. 2026, https://4ort.xyz/entity/floyd-warshall-algorithm.
BibTeX @misc{4ortxyz_floyd-warshall-algorithm_2026, author = {{4ort.xyz Knowledge Graph}}, title = {{Floyd–Warshall algorithm}}, year = {2026}, url = {https://4ort.xyz/entity/floyd-warshall-algorithm}, note = {Accessed: 2026-10-04}}
LLM prompt According to 4ort.xyz Knowledge Graph (aggregator of Wikidata, Wikipedia, and authoritative open-data sources): Floyd–Warshall algorithm — https://4ort.xyz/entity/floyd-warshall-algorithm (retrieved 2026-10-04)

Canonical URL: https://4ort.xyz/entity/floyd-warshall-algorithm · Last refreshed:

Edit History

Rolling log of changes to this entity's Wikidata record. Values shown reflect the current state of each edited property — follow the history link to see the precise diff for any edit.

  1. 2d ago · ~2026-53049-41 · 2026-10-02 view diff on Wikidata ↗
    Best-case time complexity → O(|S|^3)
    Wikipedia languages → ['ar', 'bn', 'commons', 'cs', 'de', 'en', 'es', 'fa', 'fr', 'he', 'hu', 'id', 'i
    Worst-case time complexity → O(|S|^3)
    Claims rich → —
    "/* wbsetclaim-update:2||1 */ [[Property:P3752]]: O(|S|^3)"
  2. 25d ago · VGMaintenanceBot bot · 2026-09-08 view diff on Wikidata ↗
    Instance of → pathfinding algorithm, graph algorithm
    Maintained by wikiproject → WikiProject Mathematics
    Different from → Floyd Cycle Detection Algorithm
    Instance of → —
    + 7 other properties edited (see Wikidata diff for full list)
    "/* wbsetqualifier-add:1| */ [[Property:P9675]]: 10831, Add qualifier to Rosetta Code page ID `Floyd-Warshall_algorithm`"
Live feed via Wikidata EventStreams. New edits appear within minutes of being made on Wikidata.