Skip to main content
QUICK REVIEW

[Paper Review] Multiple-Source Shortest Paths in Embedded Graphs

Sergio Cabello, Erin Wolf Chambers|arXiv (Cornell University)|Feb 1, 2012
Complexity and Algorithms in GraphsComputer Science45 references6 citations
TL;DR

This paper presents a randomized O(gn log n)-time algorithm to preprocess directed, weighted graphs embedded on genus-g surfaces, enabling O(log n)-time shortest-path distance queries from any vertex on a specified face boundary to any other vertex. The method generalizes Klein's planar multiple-source shortest paths algorithm using kinetic data structures and dynamic trees to handle higher-genus surfaces, with applications to computing shortest non-contractible and non-separating cycles in O(g²n log²n) time.

ABSTRACT

Let G be a directed graph with n vertices and non-negative weights in its directed edges, embedded on a surface of genus g, and let f be an arbitrary face of G. We describe a randomized algorithm to preprocess the graph in O(gn log n) time with high probability, so that the shortest-path distance from any vertex on the boundary of f to any other vertex in G can be retrieved in O(log n) time. Our result directly generalizes the O(n log n)-time algorithm of Klein [SODA 2005] for multiple-source shortest paths in planar graphs. Intuitively, our preprocessing algorithm maintains a shortest-path tree as its source point moves continuously around the boundary of f. As an application of our algorithm, we describe algorithms to compute a shortest non-contractible or non-separating cycle in embedded, undirected graphs in O(g^2 n log n) time with high probability. Our high-probability time bounds hold in the worst-case for generic edge weights, or with an additional O(log n) factor for arbitrary edge weights.

Motivation & Objective

  • To generalize Klein's O(n log n) multiple-source shortest paths algorithm for planar graphs to graphs embedded on surfaces of genus g.
  • To support efficient shortest-path distance and path queries from any vertex on the boundary of a specified face to any other vertex in the graph.
  • To compute shortest non-contractible and non-separating cycles in embedded undirected graphs as a key application.
  • To handle arbitrary edge weights with high probability using randomized perturbations and dynamic data structures.
  • To achieve improved time bounds over all-pairs shortest paths when g = o(n), particularly for low-genus surfaces.

Proposed method

  • The algorithm maintains a shortest-path tree as the source vertex moves continuously along the boundary of a specified face f using a kinetic data structure approach.
  • It uses dynamic trees (specifically, splay trees or link-cut trees) to represent the primal shortest-path tree and its dual forest, enabling efficient pivot operations.
  • A lexicographic perturbation scheme breaks ties in distance and slack comparisons, ensuring unique outcomes and enabling efficient comparison via least common ancestor (LCA) queries.
  • The algorithm identifies critical events—when edges pivot into or out of the shortest-path tree—by tracking changes in slack values along the moving source path.
  • It employs a priority queue of 'green' subtrees and uses SMALLERLEXSLACK and SMALLERLEXDISTANCE comparisons to resolve ties in O(log n) amortized time per operation.
  • The total number of pivots is bounded by O(gn) over the entire traversal of the face boundary, leading to an overall O(gn log n) preprocessing time with high probability.

Experimental results

Research questions

  • RQ1Can the multiple-source shortest paths algorithm for planar graphs be generalized to graphs embedded on surfaces of higher genus?
  • RQ2What is the asymptotic complexity of maintaining shortest-path trees as the source moves along a face boundary in a genus-g surface?
  • RQ3How can dynamic data structures be adapted to handle the non-dual nature of spanning trees in higher-genus graphs?
  • RQ4What is the impact of edge weight perturbations on the number of pivot operations during source movement?
  • RQ5Can shortest non-contractible and non-separating cycles be computed efficiently using the proposed preprocessing structure?

Key findings

  • The preprocessing phase runs in O(gn log n) time with high probability, significantly improving over O(n²) for dense graphs when g = o(n).
  • Distance queries from any vertex on the boundary of a face to any other vertex are answered in O(log n) time using the implicit data structure.
  • The algorithm supports shortest path reporting in O(log n + k log Δ) time, where k is the number of edges in the path and Δ is the maximum degree.
  • A shortest non-separating cycle can be computed in O(g²n log²n) time in the worst case with arbitrary edge weights.
  • A shortest non-contractible cycle can be computed in O((g² + b)n log²n) time, where b is the number of boundary components.
  • The number of pivot operations during the traversal of the face boundary is bounded by O(gn), and each pivot is processed in O(g log n) time using O(g) dynamic trees.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.