Johnson's algorithm

algorithm to find shortest paths between all pairs of vertices in a sparse, edge-weighted (possibly negatively), directed graph; uses the Bellman–Ford algorithm to remove negative weights and Dijkstra’s algorithm on the rest
Intangible Algorithm Q2345824

Facts

7 properties
Publication date
1977[5]
Discoverer or inventor
Donald B. Johnson[1]
Worst-case time complexity
O (|V|^2 \log |V| + |V||E|)
🏷️ Also known as
en Johnson's algorithm cs Johnsonův algoritmus es algoritmo de Johnson fa الگوریتم جانسون fr algorithme de Johnson he האלגוריתם של ג'ונסון hu Johnson algoritmusa it algoritmo di Johnson ja ジョンソン法 (グラフ理論) pl algorytm Johnsona ru Алгоритм Джонсона th ขั้นตอนวิธีของจอห์นสัน th อัลกอริทึมของ Johnson tr Johnson algoritması tr Jonhson algoritması vi Thuật toán Johnson zh Johnson最短路算法 zh 约翰逊算法 zh-hans johnson算法
🔖 Identifiers · 4
Brilliant Wiki ID
johnsons-algorithm
Dictionary of Algorithms and Data Structures ID
johnsonsAlgorithm
Freebase ID
/m/04q0b2
Microsoft Academic ID (discontinued)
10187374

Report an error or request removal Lineage (PROV-JSON)

🔗 Connections
Instance of 2
Discoverer or inventor 1
Named after 1
Uses 1
Press Enter · cited answer in seconds

📑 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). Johnson's algorithm. Retrieved November 15, 2026, from https://4ort.xyz/entity/johnson-s-algorithm
MLA “Johnson's algorithm.” 4ort.xyz Knowledge Graph, 4ort.xyz, 15 Nov. 2026, https://4ort.xyz/entity/johnson-s-algorithm.
BibTeX @misc{4ortxyz_johnson-s-algorithm_2026, author = {{4ort.xyz Knowledge Graph}}, title = {{Johnson's algorithm}}, year = {2026}, url = {https://4ort.xyz/entity/johnson-s-algorithm}, note = {Accessed: 2026-11-15}}
LLM prompt According to 4ort.xyz Knowledge Graph (aggregator of Wikidata, Wikipedia, and authoritative open-data sources): Johnson's algorithm — https://4ort.xyz/entity/johnson-s-algorithm (retrieved 2026-11-15)

Canonical URL: https://4ort.xyz/entity/johnson-s-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 · Dev Jadiya · 2026-11-15 view diff on Wikidata ↗
    Computes solution to → all-pairs shortest path problem
    Uses → graph data structure
    Named after → Donald B. Johnson
    Discoverer or inventor → Donald B. Johnson
    + 2 other properties edited (see Wikidata diff for full list)
    "Changed [hi] labels, descriptions or aliases: QuickStatements 3.0 batch #67917: Hindi Translation 05"
Live feed via Wikidata EventStreams. New edits appear within minutes of being made on Wikidata.