Papers
Topics
Authors
Recent
Search
2000 character limit reached

Metric Dimension is NP-complete on Graphs of Treewidth Two

Published 15 Oct 2026 in cs.CC and cs.DM | (2610.21133v1)

Abstract: The metric dimension of a connected graph is the least number of vertices whose distance vectors distinguish all vertices. We show that deciding whether the metric dimension of a graph is at most a given integer is NP-complete on graphs of treewidth at most two. As the problem is polynomial on trees, the graphs of treewidth one, this settles the treewidth threshold of its hardness, which was known to lie between two and twenty-four. The reduction is from satisfiability of formulas in which every literal occurs at most twice. To such a formula with nn clauses and rr variables it associates a graph GφG_\varphi of treewidth at most two with O((n+r)<sup>2)O((n+r)<sup>2) vertices, whose metric dimension is $2(n+r)+5$ if the formula is satisfiable and $2(n+r)+6$ otherwise.

Authors (1)

Summary

No one has generated a summary of this paper yet.

Paper to Video (Beta)

No one has generated a video about this paper yet.

Whiteboard

No one has generated a whiteboard explanation for this paper yet.

Continue Learning

We haven't generated follow-up questions for this paper yet.