Metric Bases for Polyhedral Gauges
Fabien Rebatel and Edouard´ Thiel
Laboratoire d’Informatique Fondamentale de Marseille (LIF, UMR 6166), Aix-Marseille Universit´e, 163 Avenue de Luminy, Case 901, 13288 Marseille cedex 9, France {Fabien.Rebatel,Edouard.Thiel}@lif.univ-mrs.fr
Abstract. Let (W, d) be a metric space. A subset S ⊆ W is a resolving set for W if d(x, p)=d(y,p) for all p ∈ S implies x = y. A metric basis is a resolving set of minimal cardinality, named the metric dimension (of W ). Metric bases and dimensions have been extensively studied for graphs with the intrinsic distance, as well as in the digital plane with the city-block and chessboard distances. We investigate these concepts for polyhedral gauges, which generalize in the Euclidean space the chamfer norms in the digital space.
Keywords: metric basis, metric dimension, resolving set, polyhedral gauge, chamfer norms, discrete distance, distance geometry.
1 Introduction
Distance geometry is the characterization and study of sets of points based on the distance values between member pairs. A general program is laid out in [2]. We investigate in this paper the classical notions of metric dimension and metric basis in the context of digital geometry, for the class of polyhedral distance gauges which generalize the chamfer (or weighted) norms. Let W be a set endowed with a metric d,andtakeS =(p1,p2,...,pk)an ordered subset of elements in W . These elements are usually called points, ver- tices, anchors or landmarks in the literature. The representation of q ∈ W with respect to S is the k-tuple r(q|S)={d(p1,q),d(p2,q),...,d(pk,q)}, also called the S-coordinates of q.ThesetS is a resolving set (or locating set) for W if every two elements of W have distinct representation. The metric dimension (or simply dimension, or location number) dim(W ) is the minimum cardinality of a resolving set for W . A resolving set having minimal cardinality is called a metric basis (or reference set) for W . The metric dimension has been extensively studied in graph theory. Using the intrinsic metric, Harary and Melter gave in [9] the metric dimension of any path, complete graph, cycle, wheel and complete bipartite graph, and proposed an algorithm for finding a metric basis of a tree T , which gives an explicit formula for the dimension of T . Khuller et al. showed in [13] that the intrinsic metric dimension of trees can be efficiently solved in linear time. All graphs having dimension 1 are paths.
I. Debled-Rennesson et al. (Eds.): DGCI 2011, LNCS 6607, pp. 116–128, 2011. c Springer-Verlag Berlin Heidelberg 2011 Metric Bases for Polyhedral Gauges 117
A graph having dimension 2 cannot have the complete 5-clique K5 nor the complete bipartite graph K3,3 (see [19]) as a subgraph. However, there are non- planar graphs having dimension 2. The dimension of an arbitrary graph with n nodes can be approximated within a factor O(log n) in polynomial time. Finally, finding the metric dimension of an arbitrary graph is NP-hard. In [5], Chartrand et al. presented bounds of the dimension of a graph G in terms of the order and the diameter of G, and determined all connected graphs of order n having dimension n−1orn−2. They also showed how to find the metric dimension and a basis for a graph in terms of an integer programming problem. A collection of bounds or exact values of metric dimensions is summarized in [11], for several families of connected graphs as well as for the join and the Cartesian product of graphs. The dimension of a graph with an added vertex is studied in [3]. For results on infinite locally finite graphs, see [4]. In digital geometry, the notion of metric dimension is equally natural. Melter and Tomescu showed in [14] the following results. The metric bases for the digital plane with Euclidean distance d2 consist precisely of sets of three non-collinear points, whereas with respect to the city block distance d1 and the chessboard distance d∞, the digital plane has no finite metric bases. From the point of view of applications, only finite sets are of interest, mainly rectangular regions. In the case of axes-parallel rectangles, the d1 metric dimension of a rectangle is 2, and the d∞ metric dimension of a square is 3. If non axes-parallel rectangles are considered, the situation is less simple: for both distances, there exists a rectangle in the digital plane such that its dimension is n, for any given n 3. In [13], Khuller et al. proved that the d1 metric dimension of a n-dimensional axes-parallel rectangle is n. Several refinements of these bases notions have been proposed. Chartrand and Zhang defined and studied in [8] the notions of forcing subset, number and dimension. A subset F of a basis S of W is a forcing subset of S if S is the unique basis of W containing F .Theforcing number is the minimum cardinality of a forcing subset for S, while the forcing dimension is the minimum forcing number among all bases of W . The forcing concepts have been studied for various subjects, see [8] for references. Another interesting notion is the partition dimension, proposed in [6][7]. Let Π =(S1,...,Sk) be an ordered k-partition of W , and consider the distance to asetd(p, S)=min{d(p, q):q ∈ S} where p ∈ W and S ⊂ W . The represen- tation of p with respect to Π is r(p|Π)={d(p, S1),...,d(p, Sk)}. The partition dimension pd(W ) and partition bases are then defined in the same manner as the metric ones. It is shown that for any nontrivial connected graph G we have pd(G) dim(G) + 1 [6]. Tomescu showed in [18] that the partition dimension may be much smaller than the metric dimension. In particular, the partition dimension of the digital plane with respect to d1 and d∞ is 3 and 4, respectively. These concepts have important applications. In fact, distance geometry has immediate relevance where distance values are considered, such as in cartogra- phy, physics, biology, chemistry, classification, combinatorial search and opti- mization, game theory, and image analysis. For instance, locating and reference 118 F. Rebatel and E.´ Thiel sets are useful when working with sonar and LORAN stations for navigation [16]. In robot motion planing, minimizing a set of landmarks uniquely determine a robot’s position [13]. A chemical compound is frequently viewed as a labeled graph, for which a metric basis allows to determine functional groups [3]. We are here mainly concerned by image analysis and digital geometry. While themetricbasesanddimension concepts have been studied in [14] for d1 and d∞, there is up to our knowledge no study available for an important class of digital metrics, widely used in image analysis: the chamfer distances. We aim at studying these metric concepts for these distances, and more generally for the class of polyhedral distance gauges, coming from Euclidean geometry. The paper is organized as follows. In section 2 we recall the classical defini- tions of metric, norm and gauge, we state additional properties of gauges, and describe the link between gauges and chamfer norms. In section 3, we show that polyhedral gauges do not have finite metric bases in Rn. Then, in section 4, we take a look at some classes of gauges having small metric dimension in a rectan- gle. Next in section 5, we present some experimental results. We finally conclude in section 6.
2 Norms and Gauges
2.1 Preliminaries We first recall some classical definitions. A metric d on a nonempty set W is a function d : W × W → R which is positive defined, symmetric and sub-additive (the triangle inequality holds). A set W associated to a metric d is called a metric space, denoted by (W, d). Given a metric space (W, d), the (closed) ball of center p ∈ W and radius r ∈ R is the set B(p, r)={ q ∈ W : d(p, q) r }. To define a norm, we need the notion of vector space, which we don’t have in a graph, but is natural in Rn and can be extended in Zn.Avector space is a set of vectors defined over a field. The generalization of the notion of a vector space over a ring A for a set W is named a module, denoted (W, A). Each module can be associated to an affine space, and reciprocally. Since Zn is a module over Z, this concept allows us to properly define a norm on Zn. A norm g on a module (W, A)withvaluesinR is a function g : W → R which is positive defined, homogeneous in A and sub-additive. Each norm induces a metric. A metric d is associated to a norm g if and only if d is translation invariant and homogeneous in A. The Minkowski distance of order p 1 between two points x =(x1, ..., xn) n | − |p 1/p and y =(y1, ..., yn) is defined by dp(x, y)=( i=1 xi yi ) . It is well-known that any Minkowski distance is a metric and induces a norm (denoted p). The d1 distance is also called Manhattan or city block distance, the d∞ distance is known as the chessboard distance, and d2 is the Euclidean distance. We call Σn the group of axial and diagonal symmetries in Zn about centre O. The cardinal of the group is #Σn =2n n!(whichis8,48and384forn =2, 3and4).AsetS is said to be grid-symmetric if for every σ ∈ Σn we have Metric Bases for Polyhedral Gauges 119
p2 C p4 p3 O f f C x p2 p1 x p5 O p1 p6 x c