• Documents
  • Authors
  • Tables
  • Log in
  • Sign up
  • MetaCart
  • DMCA
  • Donate

CiteSeerX logo

Advanced Search Include Citations
Advanced Search Include Citations

All Pairs Shortest Paths using Bridging Sets and Rectangular Matrix Multiplication, (2002)

by U Zwick
Venue:Journal of the ACM
Add To MetaCart

Tools

Sorted by:
Results 1 - 10 of 86
Next 10 →

Approximate distance oracles

by Mikkel Thorup, Uri Zwick , 2004
"... Let G = (V, E) be an undirected weighted graph with |V | = n and |E | = m. Let k ≥ 1 be an integer. We show that G = (V, E) can be preprocessed in O(kmn 1/k) expected time, constructing a data structure of size O(kn 1+1/k), such that any subsequent distance query can be answered, approximately, in ..."
Abstract - Cited by 273 (9 self) - Add to MetaCart
Let G = (V, E) be an undirected weighted graph with |V | = n and |E | = m. Let k ≥ 1 be an integer. We show that G = (V, E) can be preprocessed in O(kmn 1/k) expected time, constructing a data structure of size O(kn 1+1/k), such that any subsequent distance query can be answered, approximately, in O(k) time. The approximate distance returned is of stretch at most 2k − 1, i.e., the quotient obtained by dividing the estimated distance by the actual distance lies between 1 and 2k−1. A 1963 girth conjecture of Erdős, implies that Ω(n 1+1/k) space is needed in the worst case for any real stretch strictly smaller than 2k + 1. The space requirement of our algorithm is, therefore, essentially optimal. The most impressive feature of our data structure is its constant query time, hence the name “oracle”. Previously, data structures that used only O(n 1+1/k) space had a query time of Ω(n 1/k). Our algorithms are extremely simple and easy to implement efficiently. They also provide faster constructions of sparse spanners of weighted graphs, and improved tree covers and distance labelings of weighted or unweighted graphs.

More algorithms for all-pairs shortest paths in weighted graphs

by Timothy M. Chan - In Proceedings of 39th Annual ACM Symposium on Theory of Computing , 2007
"... In the first part of the paper, we reexamine the all-pairs shortest paths (APSP) problem and present a new algorithm with running time O(n 3 log 3 log n / log 2 n), which improves all known algorithms for general real-weighted dense graphs. In the second part of the paper, we use fast matrix multipl ..."
Abstract - Cited by 75 (3 self) - Add to MetaCart
In the first part of the paper, we reexamine the all-pairs shortest paths (APSP) problem and present a new algorithm with running time O(n 3 log 3 log n / log 2 n), which improves all known algorithms for general real-weighted dense graphs. In the second part of the paper, we use fast matrix multiplication to obtain truly subcubic APSP algorithms for a large class of “geometrically weighted ” graphs, where the weight of an edge is a function of the coordinates of its vertices. For example, for graphs embedded in Euclidean space of a constant dimension d, we obtain a time bound near O(n 3−(3−ω)/(2d+4)), where ω < 2.376; in two dimensions, this is O(n 2.922). Our framework greatly extends the previously considered case of small-integer-weighted graphs, and incidentally also yields the first truly subcubic result (near O(n 3−(3−ω)/4) = O(n 2.844) time) for APSP in real-vertex-weighted graphs, as well as an improved result (near O(n (3+ω)/2) = O(n 2.688) time) for the all-pairs lightest shortest path problem for small-integer-weighted graphs. 1
(Show Context)

Citation Context

...his question will remain unanswered here. Nevertheless, in the second part of the paper (Section 3), we will describe new results along these lines for an important class of special cases. Previously =-=[4, 32, 33, 41]-=-, the case of graphs with small integer weights has been the most extensively studied, where the weights lie in the range {1, . . . , c} for a constant c. In this case, Alon, Galil, and Margalit [4] g...

Fast Sparse Matrix Multiplication

by Raphael Yuster, Uri Zwick , 2004
"... Let A and B two n n matrices over a ring R (e.g., the reals or the integers) each containing at most m non-zero elements. We present a new algorithm that multiplies A and B using O(m ) algebraic operations (i.e., multiplications, additions and subtractions) over R. The naive matrix multi ..."
Abstract - Cited by 53 (3 self) - Add to MetaCart
Let A and B two n n matrices over a ring R (e.g., the reals or the integers) each containing at most m non-zero elements. We present a new algorithm that multiplies A and B using O(m ) algebraic operations (i.e., multiplications, additions and subtractions) over R. The naive matrix multiplication algorithm, on the other hand, may need to perform #(mn) operations to accomplish the same task. For , the new algorithm performs an almost optimal number of only n operations. For m the new algorithm is also faster than the best known matrix multiplication algorithm for dense matrices which uses O(n ) algebraic operations. The new algorithm is obtained using a surprisingly straightforward combination of a simple combinatorial idea and existing fast rectangular matrix multiplication algorithms. We also obtain improved algorithms for the multiplication of more than two sparse matrices.

All-pairs shortest paths with real weights in O(n³ / log n) time

by Timothy M. Chan - PROC. OF THE 9TH WADS, LECTURE NOTES IN COMPUTER SCIENCE 3608 , 2005
"... We describe an O(n³ / log n) ..."
Abstract - Cited by 41 (3 self) - Add to MetaCart
We describe an O(n³ / log n)

A New Approach to All-Pairs Shortest Paths on Real-Weighted Graphs

by Seth Pettie - Theoretical Computer Science , 2003
"... We present a new all-pairs shortest path algorithm that works with real-weighted graphs in the traditional comparison-addition model. It runs in O(mn+n time, improving on the long-standing bound of O(mn + n log n) derived from an implementation of Dijkstra's algorithm with Fibonacci heaps ..."
Abstract - Cited by 41 (3 self) - Add to MetaCart
We present a new all-pairs shortest path algorithm that works with real-weighted graphs in the traditional comparison-addition model. It runs in O(mn+n time, improving on the long-standing bound of O(mn + n log n) derived from an implementation of Dijkstra's algorithm with Fibonacci heaps. Here m and n are the number of edges and vertices, respectively.

A new algorithm for optimal 2-constraint satisfaction and its implications

by Ryan Williams - Theoretical Computer Science , 2005
"... Abstract. We present a novel method for exactly solving (in fact, counting solutions to) general constraint satisfaction optimization with at most two variables per constraint (e.g. MAX-2-CSP and MIN-2-CSP), which gives the first exponential improvement over the trivial algorithm. More precisely, th ..."
Abstract - Cited by 40 (6 self) - Add to MetaCart
Abstract. We present a novel method for exactly solving (in fact, counting solutions to) general constraint satisfaction optimization with at most two variables per constraint (e.g. MAX-2-CSP and MIN-2-CSP), which gives the first exponential improvement over the trivial algorithm. More precisely, the runtime bound is a constant factor improvement in the base of the exponent: the algorithm can count the number of optima in MAX-2-SAT and MAX-CUT instances in O(m 3 2 ωn/3) time, where ω < 2.376 is the matrix product exponent over a ring. When constraints have arbitrary weights, there is a (1 + ɛ)-approximation with roughly the same runtime, modulo polynomial factors. Our construction shows that improvement in the runtime exponent of either k-clique solution (even when k = 3) or matrix multiplication over GF(2) would improve the runtime exponent for solving 2-CSP optimization. Our approach also yields connections between the complexity of some (polynomial time) high dimensional search problems and some NP-hard problems. For example, if there are sufficiently faster algorithms for computing the diameter of n points in ℓ1, then there is an (2 − ɛ) n algorithm for MAX-LIN. These results may be construed as either lower bounds on the high-dimensional problems, or hope that better algorithms exist for the corresponding hard problems. 1
(Show Context)

Citation Context

...thm on undirected graphs yields the improvement over 2 n . To get a (1 + ɛ)-approximation when constraints have arbitrary weights, we can adapt results concerning approximate all pairs shortest paths =-=[30]-=- for our purposes. We will also investigate the possibility of efficient split-and-list algorithms for more general problems such as SAT and MAX-LIN-2 (satisfying a maximum number of linear equations ...

A new algorithm for optimal constraint satisfaction and its implications

by Ryan Williams - Alexander D. Scott) Mathematical Institute, University of Oxford , 2004
"... We present a novel method for exactly solving (in fact, counting solutions to) general constraint satisfaction optimization with at most two variables per constraint (e.g. MAX-2-CSP and MIN-2-CSP), which gives the first exponential improvement over the trivial algorithm; more precisely, it is a cons ..."
Abstract - Cited by 38 (1 self) - Add to MetaCart
We present a novel method for exactly solving (in fact, counting solutions to) general constraint satisfaction optimization with at most two variables per constraint (e.g. MAX-2-CSP and MIN-2-CSP), which gives the first exponential improvement over the trivial algorithm; more precisely, it is a constant factor improvement in the base of the runtime exponent. In the case where constraints have arbitrary weights, there is a (1 + ǫ)-approximation with roughly the same runtime, modulo polynomial factors. Our algorithm may be used to count the number of optima in MAX-2-SAT and MAX-CUT instances in O(m 3 2 ωn/3) time, where ω < 2.376 is the matrix product exponent over a ring. This is the first known algorithm solving MAX-2-SAT and MAX-CUT in provably less than c n steps in the worst case, for some c < 2; similar new results are obtained for related problems. Our main construction may also be used to show that any improvement in the runtime exponent of either k-clique solution (even when k = 3) or matrix multiplication over GF(2) would improve the runtime exponent for solving 2-CSP optimization. As a corollary, we prove that an n o(k)-time k-clique algorithm implies SNP ⊆ DTIME[2 o(n)], for any k(n) ∈ o ( √ n / log n). Further extensions of our technique yield connections between the complexity of some (polynomial time) high dimensional geometry problems and that of some general NP-hard problems. For example, if there are sufficiently faster algorithms for computing the diameter of n points in ℓ1, then there is an (2 −ǫ) n algorithm for MAX-LIN. Such results may be construed as either lower bounds on these high-dimensional problems, or hope that better algorithms exist for more general NP-hard problems. 1
(Show Context)

Citation Context

...thm on undirected graphs yields the improvement over 2 n . To get a (1 + ǫ)-approximation when constraints have arbitrary weights, we can adapt results concerning approximate all pairs shortest paths =-=[41]-=- for our purposes. Our reduction can also be used to prove stronger complexity results concerning the fixedparameter tractability of k-clique; cf. Section 4.2. Finally, we investigate the possibility ...

Improved Dynamic Reachability Algorithms for Directed Graphs

by Liam Roditty, Uri Zwick , 2002
"... We obtain several new dynamic algorithms for maintaining the transitive closure of a directed graph, and several other algorithms for answering reachability queries without explicitly maintaining a transitive closure matrix. Among our algorithms are: (i) A decremental algorithm for maintaining the ..."
Abstract - Cited by 35 (3 self) - Add to MetaCart
We obtain several new dynamic algorithms for maintaining the transitive closure of a directed graph, and several other algorithms for answering reachability queries without explicitly maintaining a transitive closure matrix. Among our algorithms are: (i) A decremental algorithm for maintaining the transitive closure of a directed graph, through an arbitrary sequence of edge deletions, in O(mn) total expected time, essentially the time needed for computing the transitive closure of the initial graph. Such a result was previously known only for acyclic graphs.
(Show Context)

Citation Context

... S may be chosen, of course, without knowing the sequence of graphs. Due to lack of space, we omit the straightforward proof of the lemma. We note in passing that similar ideas are also used by Zwick =-=[22-=-] and King [15]. Theorem 4.4 For any t (m log n) 1=! , the algorithm of Figure 2 handles each insert or delete operation in O(mn log n=t) amortized time, and answers each query correctly, with very h...

On the Difficulty of Some Shortest Path Problems

by John Hershberger, Subhash Suri, Amit Bhosle , 2003
"... We prove super-linear lower bounds for some shortest path problems in directed graphs, where no such bounds were previously known. The central problem in our study is the replacement paths problem: Given a directed graph G with non-negative edge weights, and a shortest path P = {e_1, e_2, ..., e_p} ..."
Abstract - Cited by 32 (8 self) - Add to MetaCart
We prove super-linear lower bounds for some shortest path problems in directed graphs, where no such bounds were previously known. The central problem in our study is the replacement paths problem: Given a directed graph G with non-negative edge weights, and a shortest path P = {e_1, e_2, ..., e_p} between two nodes s and t, compute the shortest path distances from s to t in each of the p graphs obtained from G by deleting one of the edges e_i. We show that the replacement paths problem requires Ω(m√n) time in the worst case whenever m = O(n√n). This also establishes a similar...
(Show Context)

Citation Context

...n [9] does not fit thespath comparison model—it compares sums of weights of edges that do not necessarily form paths. The matrix-multiplication based algorithms by Alon, Galil, Margalit [1] and Zwic=-=k [26, 27]-=- also fall outside the path comparison model; however, these algorithm assume the weights lie in a small integer range. Despite its obvious appeal and power, we discovered that the path comparison mod...

Faster algorithms for approximate distance oracles and all-pairs small stretch paths

by Surender Baswana, Telikepalli Kavitha - In 47th Annual IEEE Symp. on Foundations of Computer Science (FOCS , 2006
"... ..."
Abstract - Cited by 30 (6 self) - Add to MetaCart
Abstract not found
(Show Context)

Citation Context

..., 7/3, and 3 by Cohen and Zwick in [9]. However, more results, in particuStretch Query Time Space Preprocessing Time Reference 1 O(1) O(n 2 ) O(mn + n 2 log log n)) [14] 1+ɛ O(1) O(n 2 ) Õ(n 2.376 ) =-=[17]-=- 2 O(1) O(n 2 ) 7/3 O(1) O(n 2 ) Õ(n3/2√m) Õ(m [9] √ n + n2 ) this paper Õ(n7/3 ) [9] Õ(m 2/3 n + n 2 ) this paper O(1) O(n 3/2 ) O(m √ n) [16] 3 O(1) O(n 2 ) O(n 2 log n) [9] O(log n) O(n 3/2 ) O(min...

Powered by: Apache Solr
  • About CiteSeerX
  • Submit and Index Documents
  • Privacy Policy
  • Help
  • Data
  • Source
  • Contact Us

Developed at and hosted by The College of Information Sciences and Technology

© 2007-2019 The Pennsylvania State University