Skip to main content
QUICK REVIEW

[Paper Review] On the complexity of computing the $k$-metric dimension of graphs

Ismael G. Yero, Alejandro Estrada‐Moreno|arXiv (Cornell University)|Jan 1, 2014
Graph Labeling and Dimension ProblemsComputer Science5 citations
TL;DR

This paper establishes the computational complexity of determining the $k$-metric dimension of graphs, proving the decision problem is NP-complete for general graphs. However, it presents a linear-time algorithm for computing the $k$-metric dimension and basis in trees, resolving a key open problem in graph theory and network design.

ABSTRACT

Given a connected graph $G=(V,E)$, a set $S\subseteq V$ is a $k$-metric generator for $G$ if for any two different vertices $u,v\in V$, there exist at least $k$ vertices $w_1,...,w_k\in S$ such that $d_G(u,w_i) e d_G(v,w_i)$ for every $i\in \{1,...,k\}$. A metric generator of minimum cardinality is called a $k$-metric basis and its cardinality the $k$-metric dimension of $G$. We study some problems regarding the complexity of some $k$-metric dimension problems. For instance, we show that the problem of computing the $k$-metric dimension of graphs is $NP$-Complete. However, the problem is solved in linear time for the particular case of trees.

Motivation & Objective

  • To determine the computational complexity of computing the $k$-metric dimension of graphs.
  • To investigate whether the decision problem $\dim_k(G) \leq r$ is NP-complete for general graphs.
  • To develop efficient algorithms for computing the $k$-metric dimension and basis in trees.
  • To characterize the largest integer $k$ for which a graph is $k$-metric dimensional, and to compute it in polynomial time.

Proposed method

  • Reduction from known NP-complete problems to prove NP-completeness of the $k$-metric dimension decision problem.
  • Adaptation of techniques from prior work on standard metric dimension to analyze $k$-metric generators.
  • Design of a recursive algorithm (Algorithm 3) that computes the $k$-metric basis by processing major vertices and terminal paths in trees.
  • Use of vertex sets $B_k(w)$ for each exterior major vertex $w$ to construct the $k$-metric basis, with cardinality rules based on $\lfloor k/2 \rfloor$ and $\lceil k/2 \rceil$.
  • Recursive assignment of pairs $(a_v, b_v)$ to internal nodes, where $a_v$ tracks terminal path sets and $b_v$ accumulates the $k$-metric basis.
  • Linear-time traversal of tree structure using dynamic programming principles to compute the $k$-metric basis in $O(n)$ time.

Experimental results

Research questions

  • RQ1Is the problem of deciding whether $\dim_k(G) \leq r$ NP-complete for general graphs?
  • RQ2Can the $k$-metric dimension of a tree be computed in linear time?
  • RQ3What is the largest $k$ such that a graph $G$ is $k$-metric dimensional, and can this $k$ be computed efficiently?
  • RQ4How can a $k$-metric basis be constructed for trees when $k \leq \varsigma(T)$?
  • RQ5What structural properties of trees allow for a linear-time algorithm to compute the $k$-metric dimension?

Key findings

  • The decision problem $\dim_k(G) \leq r$ is NP-complete for general graphs when $r \geq k+1$, establishing the NP-hardness of computing the $k$-metric dimension.
  • For trees, the $k$-metric dimension can be computed in linear time, with a specific algorithm (Algorithm 3) that constructs the $k$-metric basis efficiently.
  • The largest integer $k$ for which a graph $G$ is $k$-metric dimensional can be computed in polynomial time, and this value is denoted $\varsigma(G)$.
  • A $k$-metric basis of any tree (other than a path) for $k \leq \varsigma(T)$ can be computed in linear time with respect to the number of vertices.
  • The $k$-metric basis construction for trees is based on aggregating contributions from exterior major vertices, with cardinality rules depending on $\lfloor k/2 \rfloor$ and $\lceil k/2 \rceil$.
  • The algorithm correctly computes the $k$-metric basis by recursively processing subtrees and combining results using dynamic programming on the tree structure.

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.