The (Weighted) Metric Dimension of Graphs: Hard and Easy Cases

Leah Epstein, Asaf Levin, Gerhard J. Woeginger

Research output: Contribution to journalArticlepeer-review

Abstract

Given an input undirected graph $$G=(V,E)$$G=(V,E), we say that a vertex $$\ell $$ℓ separates $$u$$u from $$v$$v (where $$u,v\in V$$u,v∈V) if the distance between $$u$$u and $$\ell $$ℓ differs from the distance from $$v$$v to $$\ell $$ℓ. A set of vertices $$L\subseteq V$$L⊆V is a feasible solution if for every pair of vertices, $$u,v\in V$$u,v∈V ($$u\ne v$$u≠v), there is a vertex $$\ell \in L$$ℓ∈L that separates $$u$$u from $$v$$v. Such a feasible solution is called a landmark set, and the metric dimension of a graph is the minimum cardinality of a landmark set. Here, we extend this well-studied problem to the case where each vertex $$v$$v has a non-negative cost, and the goal is to find a feasible solution with a minimum total cost. This weighted version is NP-hard since the unweighted variant is known to be NP-hard. We show polynomial time algorithms for the cases where $$G$$G is a path, a tree, a cycle, a cograph, a $$k$$k-edge-augmented tree (that is, a tree with additional $$k$$k edges) for a constant value of $$k$$k, and a (not necessarily complete) wheel. The results for paths, trees, cycles, and complete wheels extend known polynomial time algorithms for the unweighted version, whereas the other results are the first known polynomial time algorithms for these classes of graphs even for the unweighted version. Next, we extend the set of graph classes for which computing the unweighted metric dimension of a graph is known to be NP-hard. We show that for split graphs, bipartite graphs, co-bipartite graphs, and line graphs of bipartite graphs, the problem of computing the unweighted metric dimension of the graph is NP-hard.

Original languageEnglish
Pages (from-to)1130-1171
Number of pages42
JournalAlgorithmica
Volume72
Issue number4
DOIs
StatePublished - 19 Aug 2015

Bibliographical note

Publisher Copyright:
© 2014, Springer Science+Business Media New York.

Keywords

  • Graph algorithms
  • Graph classes
  • Metric dimension

ASJC Scopus subject areas

  • General Computer Science
  • Computer Science Applications
  • Applied Mathematics

Fingerprint

Dive into the research topics of 'The (Weighted) Metric Dimension of Graphs: Hard and Easy Cases'. Together they form a unique fingerprint.

Cite this