Approximating the Geometric Graph Distance: A Metric Relaxation, an Approximation Scheme, and Hardness
Abstract
The geometric graph distance (GGD) compares graphs embedded in a Euclidean space--molecules, road networks, line drawings--by matching their vertices and charging vertex displacements and changes of edge length. It is a metric on graphs without isolated vertices, and it is NP-hard to compute. We show how its approximability depends on the ratio of the longest edge to the smallest vertex separation. Letting every edge choose its partner relaxes the matching, and making these choices injective gives a metric computable in polynomial time. For graphs of maximum degree , with vertex and edge weights and , this metric is within a factor of the GGD, and at fixed the linear dependence on is necessary. The proof also gives an approximation within this factor for every , in time for vertices in fixed dimension. For bounded , and , in fixed dimension, the GGD admits an efficient polynomial-time approximation scheme (EPTAS); yet already for and the GGD is NP-hard, with integer coordinates of polynomial size, and has no fully polynomial scheme unless P = NP. When may grow polynomially in , the GGD is APX-hard, so that it admits no polynomial-time approximation scheme unless P = NP; all our hardness holds for plane graphs that are disjoint unions of paths. For small compared with the ratio of the vertex and edge weights, a minimum cut computes it exactly. In experiments on molecules and letter drawings, the median ratio of the exact distance to the relaxation is to , and to for its metric form, which on four published benchmarks is within five points of the best of six other distances.
Create a lesson
Metadata
- Categories
- cs.CG, cs.CC, cs.DS
- Comments
- 33 pages, 8 figures, 1 table. Code: https://github.com/sushovan4/ggd-approx
Related papers
Geometric Bin Packing Beyond Convexity: Approximation Schemes without Augmentation
Shared title terminologycs.CGLucas de Oliveira Silva, Elisa Dell'Arriva, Flávio Keidi Miyazawa
A Simple Bootstrap for Constant-Factor Approximation of the Discrete Fréchet Distance
Shared title terminologycs.CGMatthew J. Katz
The Approximation Complexity of Euclidean Metric Repair
Shared title terminologycs.CGChenglin Fan
A 2.05-Approximation for Unit Disk Graph Coloring
Shared title terminologycs.CGGuilherme D. da Fonseca, Kunal Dutta
Parameterized Complexity and Geometric Approximation of Riesz Energy Subset Selection
Shared title terminologycs.CGMichael Emmerich, Soumen Atta
Constant Approximation of Fréchet Distance in Near-Linear Time
Shared title terminologycs.CGHaoqiang Huang, Zihe Wang, Shuo Zhang