How to Make Shortest-Path Metrics Euclidean by Reweighting a Few Edges
Matthias Bentert, Fedor V. Fomin, Petr A. Golovach, M. S. Ramanujan
Abstract
Shortest-path metrics infer global distances from local measurements along a graph, while Euclidean metrics describe distances between points in space. Many applications such as molecular structure determination and sensor localization motivate the question of whether the shortest-path distances inferred from local measurements admit a Euclidean realization. When it is not possible to embed a given shortest-path metric in Euclidean metric space, can changing a few edge weights fix the issue? We formalize this question as the following problem: given a connected graph with positive edge weights and integers and , can changing at most edge weights make the shortest-path metric of isometrically embeddable into (\mathbb{R}^d? As our main result, we show that this problem is polynomial-time solvable for every constant , independently of . Our algorithm runs in arithmetic operations. On rational input, we can also return exact replacement weights. The dependence on in the exponent of is presumably necessary, as we also show that the problem is W[1]-hard parameterized by for any . More generally, our algorithmic techniques enable us to show that for every fixed metric class characterized by polynomial tests on distances within bounded-size subsets, we obtain a bound of arithmetic operations. This includes tree metrics, metrics with Gromov hyperbolicity at most a fixed rational , and metrics that embed isometrically in the Manhattan plane.
Create a lesson
Metadata
- Categories
- cs.CG, cs.DM, cs.DS
Related papers
The Approximation Complexity of Euclidean Metric Repair
Shared title terminologycs.CGChenglin Fan
Convexity is overrated: Shortest paths on 4-polytopes are hard to compute
Shared title terminologycs.CGIgor Pak
Optimal Planar k Nearest Neighbors Queries for Additively Weighted Euclidean Distances and Convex Metrics
Shared title terminologycs.CGChih-Hung Liu
Approximating the Geometric Graph Distance: A Metric Relaxation, an Approximation Scheme, and Hardness
Shared title terminologycs.CGVitaliy Kurlin, Sushovan Majhi, Carola Wenk
Solving large-scale maximum weight non-bipartite matching in Euclidean space
Shared title terminologycs.CGPhilipp Baumann, Olivier Goldschmidt, Dorit S. Hochbaum
Subexponential Algorithms for Continuous Euclidean k-Means in Subpolylogarithmic Dimension
Shared title terminologycs.CGJunqi Tan