APSP on Sparse Undirected Unweighted Graphs: Difference between revisions

From Algorithm Wiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 36: Line 36:
[[File:All-Pairs Shortest Paths (APSP) - APSP on Sparse Undirected Unweighted Graphs - Space.png|1000px]]
[[File:All-Pairs Shortest Paths (APSP) - APSP on Sparse Undirected Unweighted Graphs - Space.png|1000px]]


== Space-Time Tradeoff Improvements ==  
== Time-Space Tradeoff ==  


[[File:All-Pairs Shortest Paths (APSP) - APSP on Sparse Undirected Unweighted Graphs - Pareto Frontier.png|1000px]]
[[File:All-Pairs Shortest Paths (APSP) - APSP on Sparse Undirected Unweighted Graphs - Pareto Frontier.png|1000px]]

Revision as of 14:42, 15 February 2023

Description

In this case, the graph $G=(V,E)$ that we consider is sparse ($m = O(n)$), is undirected, and is unweighted (or equivalently, has all unit weights).

Related Problems

Generalizations: APSP

Related: APSP on Dense Directed Graphs with Arbitrary Weights, APSP on Dense Undirected Graphs with Arbitrary Weights, APSP on Geometrically Weighted Graphs, APSP on Dense Undirected Graphs with Positive Integer Weights, APSP on Sparse Directed Graphs with Arbitrary Weights, APSP on Sparse Undirected Graphs with Positive Integer Weights, APSP on Sparse Undirected Graphs with Arbitrary Weights, APSP on Dense Directed Unweighted Graphs, APSP on Dense Undirected Unweighted Graphs, APSP on Sparse Directed Unweighted Graphs, (5/3)-approximate ap-shortest paths

Parameters

n: number of vertices

m: number of edges

Table of Algorithms

Name Year Time Space Approximation Factor Model Reference
Seidel's algorithm 1995 $O (V^{2.{37}3} \log V)$ $O(V^{2})$ Exact Deterministic Time

Time Complexity Graph

All-Pairs Shortest Paths (APSP) - APSP on Sparse Undirected Unweighted Graphs - Time.png

Space Complexity Graph

All-Pairs Shortest Paths (APSP) - APSP on Sparse Undirected Unweighted Graphs - Space.png

Time-Space Tradeoff

All-Pairs Shortest Paths (APSP) - APSP on Sparse Undirected Unweighted Graphs - Pareto Frontier.png