Metric Dimension (graph Theory)
   HOME

TheInfoList



OR:

In
graph theory In mathematics and computer science, graph theory is the study of ''graph (discrete mathematics), graphs'', which are mathematical structures used to model pairwise relations between objects. A graph in this context is made up of ''Vertex (graph ...
, the metric dimension of a graph ''G'' is the minimum cardinality of a subset ''S'' of vertices such that all other vertices are uniquely determined by their distances to the vertices in ''S''. Finding the metric dimension of a graph is an
NP-hard In computational complexity theory, a computational problem ''H'' is called NP-hard if, for every problem ''L'' which can be solved in non-deterministic polynomial-time, there is a polynomial-time reduction from ''L'' to ''H''. That is, assumi ...
problem; the decision version, determining whether the metric dimension is less than a given value, is
NP-complete In computational complexity theory, NP-complete problems are the hardest of the problems to which ''solutions'' can be verified ''quickly''. Somewhat more precisely, a problem is NP-complete when: # It is a decision problem, meaning that for any ...
.


Detailed definition

For an ordered subset W = \ of vertices and a vertex ''v'' in a connected graph ''G'', the representation of ''v'' with respect to ''W'' is the ordered ''k''-tuple r(v, W) = (d(v,w_1), d(v,w_2),\dots,d(v,w_k)), where ''d''(''x'',''y'') represents the distance between the vertices ''x'' and ''y''. The set ''W'' is a resolving set (or locating set) for ''G'' if every two vertices of ''G'' have distinct representations. The metric dimension of ''G'' is the minimum cardinality of a resolving set for ''G''. A resolving set containing a minimum number of vertices is called a basis (or reference set) for ''G''. Resolving sets for graphs were introduced independently by and , while the concept of a resolving set and that of metric dimension were defined much earlier in the more general context of metric spaces by Blumenthal in his monograph ''Theory and Applications of Distance Geometry''. Graphs are special examples of metric spaces with their intrinsic path metric.


Trees

If a tree is a path, its metric dimension is one. Otherwise, let ''L'' denote the set of leaves, degree-one vertices in the tree. Let ''K'' be the set of vertices that have degree greater than two, and that are connected by paths of degree-two vertices to one or more leaves. Then the metric dimension is , ''L'',  − , ''K'', . A basis of this cardinality may be formed by removing from ''L'' one of the leaves associated with each vertex in ''K''. The same algorithm is valid for the line graph of the tree, and thus any tree and its line graph have the same metric dimension.


Properties

In , it is proved that: * The metric dimension of a graph is 1 if and only if is a path. * The metric dimension of an -vertex graph is if and only if it is a
complete graph In the mathematical field of graph theory, a complete graph is a simple undirected graph in which every pair of distinct vertices is connected by a unique edge. A complete digraph is a directed graph in which every pair of distinct vertices i ...
. * The metric dimension of an -vertex graph is if and only if the graph is a
complete bipartite graph In the mathematical field of graph theory, a complete bipartite graph or biclique is a special kind of bipartite graph where every vertex of the first set is connected to every vertex of the second set..Electronic edition page 17. Graph theory ...
, a
split graph In graph theory, a branch of mathematics, a split graph is a graph in which the vertices can be partitioned into a clique and an independent set. Split graphs were first studied by , and independently introduced by , where they called these ...
K_s+\overline (s\geq 1, t\geq 2), or K_s+(K_1\cup K_t) (s,t\geq 1) .


Relations between the order, the metric dimension and the diameter

prove the inequality n\leq D^+\beta for any -vertex graph with
diameter In geometry, a diameter of a circle is any straight line segment that passes through the centre of the circle and whose endpoints lie on the circle. It can also be defined as the longest Chord (geometry), chord of the circle. Both definitions a ...
D and metric dimension \beta. This bounds follows from the fact that each vertex that is not in the resolving set is uniquely determined by a distance vector of length \beta with each entry being an integer between 1 and D (there are precisely D^ such vectors). However, the bound is only achieved for D\leq 3 or \beta=1; the more precise bound n\leq \left(\lfloor 2D/3\rfloor+1\right)^\beta+\beta\sum_^(2i-1)^ is proved by . For specific graph classes, smaller bounds can hold. For example, proved that n\leq(\beta D+4)(D+2)/8 for trees (the bound being tight for even values of ), and a bound of the form n= O(D^2\beta) for
outerplanar graph In graph theory, an outerplanar graph is a graph that has a planar drawing for which all vertices belong to the outer face of the drawing. Outerplanar graphs may be characterized (analogously to Wagner's theorem for planar graphs) by the two f ...
s. The same authors proved that n\leq (D\beta+1)^ for graphs with no
complete graph In the mathematical field of graph theory, a complete graph is a simple undirected graph in which every pair of distinct vertices is connected by a unique edge. A complete digraph is a directed graph in which every pair of distinct vertices i ...
of order as a
minor Minor may refer to: Common meanings * Minor (law), a person not under the age of certain legal activities. * Academic minor, a secondary field of study in undergraduate education Mathematics * Minor (graph theory), a relation of one graph to an ...
and also gave bounds for chordal graphs and graphs of bounded
treewidth In graph theory, the treewidth of an undirected graph is an integer number which specifies, informally, how far the graph is from being a tree. The smallest treewidth is 1; the graphs with treewidth 1 are exactly the trees and the forests ...
. The authors proved bounds of the form n= O(D\beta^2) for
interval graph In graph theory, an interval graph is an undirected graph formed from a set of intervals on the real line, with a vertex for each interval and an edge between vertices whose intervals intersect. It is the intersection graph of the intervals. In ...
s and
permutation graph In the mathematical field of graph theory, a permutation graph is a graph whose vertices represent the elements of a permutation, and whose edges represent pairs of elements that are reversed by the permutation. Permutation graphs may also be d ...
s, and bounds of the form n=O(D\beta) for unit interval graphs, bipartite permutation graphs and
cograph In graph theory, a cograph, or complement-reducible graph, or ''P''4-free graph, is a graph that can be generated from the single-vertex graph ''K''1 by complementation and disjoint union. That is, the family of cographs is the smallest class of ...
s.


Computational complexity


Decision complexity

Deciding whether the metric dimension of a graph is at most a given integer is NP-complete. It remains NP-complete for bounded-degree
planar graph In graph theory, a planar graph is a graph (discrete mathematics), graph that can be graph embedding, embedded in the plane (geometry), plane, i.e., it can be drawn on the plane in such a way that its edges intersect only at their endpoints. ...
s,
split graph In graph theory, a branch of mathematics, a split graph is a graph in which the vertices can be partitioned into a clique and an independent set. Split graphs were first studied by , and independently introduced by , where they called these ...
s,
bipartite graph In the mathematics, mathematical field of graph theory, a bipartite graph (or bigraph) is a Graph (discrete mathematics), graph whose vertex (graph theory), vertices can be divided into two disjoint sets, disjoint and Independent set (graph theo ...
s and their complements,
line graph In the mathematics, mathematical discipline of graph theory, the line graph of an undirected graph is another graph that represents the adjacencies between edge (graph theory), edges of . is constructed in the following way: for each edge i ...
s of bipartite graphs,
unit disk graph In geometric graph theory, a unit disk graph is the intersection graph of a family of unit disks in the Euclidean plane. That is, it is a graph with one vertex for each disk in the family, and with an edge between two vertices whenever the corres ...
s,
interval graph In graph theory, an interval graph is an undirected graph formed from a set of intervals on the real line, with a vertex for each interval and an edge between vertices whose intervals intersect. It is the intersection graph of the intervals. In ...
s of diameter 2 and
permutation graph In the mathematical field of graph theory, a permutation graph is a graph whose vertices represent the elements of a permutation, and whose edges represent pairs of elements that are reversed by the permutation. Permutation graphs may also be d ...
s of diameter 2, and graphs of bounded
treewidth In graph theory, the treewidth of an undirected graph is an integer number which specifies, informally, how far the graph is from being a tree. The smallest treewidth is 1; the graphs with treewidth 1 are exactly the trees and the forests ...
. For any fixed constant ''k'', the graphs of metric dimension at most ''k'' can be recognized in
polynomial time In theoretical computer science, the time complexity is the computational complexity that describes the amount of computer time it takes to run an algorithm. Time complexity is commonly estimated by counting the number of elementary operations p ...
, by testing all possible ''k''-tuples of vertices, but this algorithm is not
fixed-parameter tractable In computer science, parameterized complexity is a branch of computational complexity theory that focuses on classifying computational problems according to their inherent difficulty with respect to ''multiple'' parameters of the input or output. ...
(for the natural parameter ''k'', the solution size). Answering a question posed by , show that the metric dimension decision problem is complete for the parameterized complexity class W implying that a time bound of the form ''n''O(''k'') as achieved by this naive algorithm is likely optimal and that a fixed-parameter tractable algorithm (for the parameterization by ''k'') is unlikely to exist. Nevertheless, the problem becomes
fixed-parameter tractable In computer science, parameterized complexity is a branch of computational complexity theory that focuses on classifying computational problems according to their inherent difficulty with respect to ''multiple'' parameters of the input or output. ...
when restricted to
interval graph In graph theory, an interval graph is an undirected graph formed from a set of intervals on the real line, with a vertex for each interval and an edge between vertices whose intervals intersect. It is the intersection graph of the intervals. In ...
s, and more generally to graphs of bounded tree-length, such as chordal graphs,
permutation graph In the mathematical field of graph theory, a permutation graph is a graph whose vertices represent the elements of a permutation, and whose edges represent pairs of elements that are reversed by the permutation. Permutation graphs may also be d ...
s or asteroidal-triple-free graphs. Deciding whether the metric dimension of a tree is at most a given integer can be done in linear time; . Other linear-time algorithms exist for
cograph In graph theory, a cograph, or complement-reducible graph, or ''P''4-free graph, is a graph that can be generated from the single-vertex graph ''K''1 by complementation and disjoint union. That is, the family of cographs is the smallest class of ...
s,
chain graph In graph theory, a mixed graph is a graph consisting of a set of vertices , a set of (undirected) edges , and a set of directed edges (or arcs) . Definitions and notation Consider adjacent vertices u,v \in V. A directed edge, called an arc, ...
s, and cactus block graphs (a class including both
cactus graph In graph theory, a cactus (sometimes called a cactus tree) is a connected graph in which any two simple cycles have at most one vertex in common. Equivalently, it is a connected graph in which every edge belongs to at most one simple cycle, or ...
s and
block graph Block or blocked may refer to: Arts, entertainment and media Broadcasting * Block programming, the result of a programming strategy in broadcasting * W242BX, a radio station licensed to Greenville, South Carolina, United States known as ''96. ...
s). The problem may be solved in polynomial time on
outerplanar graph In graph theory, an outerplanar graph is a graph that has a planar drawing for which all vertices belong to the outer face of the drawing. Outerplanar graphs may be characterized (analogously to Wagner's theorem for planar graphs) by the two f ...
s. It may also be solved in polynomial time for graphs of bounded
cyclomatic number In graph theory, a branch of mathematics, the cyclomatic number, circuit rank, cycle rank, or nullity of an undirected graph is the minimum number of edges that must be removed from the graph to break all its cycles, making it into a tree or fo ...
, but this algorithm is again not fixed-parameter tractable (for the parameter "cyclomatic number") because the exponent in the polynomial depends on the cyclomatic number. There exist fixed-parameter tractable algorithms to solve the metric dimension problem for the parameters "
vertex cover In graph theory, a vertex cover (sometimes node cover) of a graph is a set of vertices that includes at least one endpoint of every edge of the graph. In computer science, the problem of finding a minimum vertex cover is a classical optimizat ...
", "max leaf number", and "modular width". Graphs with bounded cyclomatic number, vertex cover number or max leaf number all have bounded
treewidth In graph theory, the treewidth of an undirected graph is an integer number which specifies, informally, how far the graph is from being a tree. The smallest treewidth is 1; the graphs with treewidth 1 are exactly the trees and the forests ...
, however it is an open problem to determine the complexity of the metric dimension problem even on graphs of treewidth 2, that is,
series–parallel graph In graph theory, series–parallel graphs are graphs with two distinguished vertices called ''terminals'', formed recursively by two simple composition operations. They can be used to model series and parallel electric circuits. Definition and t ...
s.


Approximation complexity

The metric dimension of an arbitrary ''n''-vertex graph may be approximated in polynomial time to within an
approximation ratio In computer science and operations research, approximation algorithms are efficient algorithms that find approximate solutions to optimization problems (in particular NP-hard problems) with provable guarantees on the distance of the returned sol ...
of 2\log n by expressing it as a
set cover problem The set cover problem is a classical question in combinatorics, computer science, operations research, and complexity theory. Given a set of elements (henceforth referred to as the universe, specifying all possible elements under considerati ...
, a problem of covering all of a given collection of elements by as few sets as possible in a given
family of sets In set theory and related branches of mathematics, a family (or collection) can mean, depending upon the context, any of the following: set, indexed set, multiset, or class. A collection F of subsets of a given set S is called a family of su ...
. In the set cover problem formed from a metric dimension problem, the elements to be covered are the \tbinom pairs of vertices to be distinguished, and the sets that can cover them are the sets of pairs that can be distinguished by a single chosen vertex. The approximation bound then follows by applying standard approximation algorithms for set cover. An alternative
greedy algorithm A greedy algorithm is any algorithm that follows the problem-solving heuristic of making the locally optimal choice at each stage. In many problems, a greedy strategy does not produce an optimal solution, but a greedy heuristic can yield locally ...
that chooses vertices according to the difference in
entropy Entropy is a scientific concept, most commonly associated with states of disorder, randomness, or uncertainty. The term and the concept are used in diverse fields, from classical thermodynamics, where it was first recognized, to the micros ...
between the equivalence classes of distance vectors before and after the choice achieves an even better approximation ratio, \log n+\log\log_2 n+1. This approximation ratio is close to best possible, as under standard complexity-theoretic assumptions a ratio of (1-\epsilon)\log n cannot be achieved in polynomial time for any \epsilon>0. The latter hardness of approximation still holds for instances restricted to subcubic graphs, and even to bipartite subcubic graphs.


References


Notes


Bibliography

* *. *. *. *. *. *. *. *. *. *. * *. * A1.5: GT61, p. 204. *. *. *. *. *. * *. *. * *. *. *{{citation, first=P. J., last=Slater, title=Dominating and reference sets in a graph, journal=Journal of Mathematical and Physical Sciences, volume=22, issue=4, pages=445–455, year=1988, mr=0966610. Graph invariants NP-complete problems