# Proximity Graphs inside Large Weighted Graphs

Save this PDF as:

Size: px
Start display at page:

## Transcription

1 Proximity Graphs inside Large Weighted Graphs Bernardo M. Ábrego Ruy Fabila-Monroy Silvia Fernández-Merchant David Flores-Peñaloza Ferran Hurtado Henk Meijer Vera Sacristán Maria Saumell Abstract Given a large weighted graph G = (V, E) and a subset U of V, we define several graphs with vertex set U in which two vertices are adjacent if they satisfy some prescribed proximity rule. These rules use the shortest path distance in G and generalize the proximity rules that generate some of the most common proximity graphs in Euclidean spaces. We prove basic properties of the defined graphs and provide algorithms for their computation. Keywords Neighborhood; proximity graphs; Voronoi diagrams; weighted graphs. 1 Introduction A basic need in spatial data analysis, from statistics to pattern recognition and wherever shape extraction is involved, is to decide closeness and neighborhoods among elements of a given input. When the data are described as points in Euclidean spaces, proximity graphs in which two of these nodes are connected when they satisfy some proximity criterion have been a basic tool in the analysis of their relative position [12, 17, 23]. Finding clusters, spanning structures, or tools allowing good interpolation are among the goals proximity graphs help to achieve. Moreover, when a combinatorial graph is drawn, a realization as a geometric proximity graph is quite satisfactory as it provides a natural aesthetical quality arising from associating adjacency to closeness. This is why proximity graphs have been extensively investigated in the field of graph drawing [5, 20]. In this context, the Delaunay graph dual to the Voronoi diagram and its relatives are by far the proximity graphs that have attracted more attention [23]. Nowadays, many complex relation systems are represented as very large networks. In some cases, as in transportation networks or circuit layouts, they correspond to physical situations Department of Mathematics, California State University, Northridge, CA, USA Departamento de Matemáticas, CINVESTAV, Mexico DF, Mexico Instituto de Matemáticas, Universidad Nacional Autónoma de México Deptartament de Matemàtica Aplicada II, Universitat Politècnica de Catalunya, Barcelona, Spain Partially supported by projects MTM and Gen. Cat. DGR 2009SGR1040. Science Department, Roosevelt Academy, Middelburg, The Netherlands 1

2 in which a geometric framework is inherent or implicit. In some others, the relationship is essentially combinatorial; important representatives of this situation include the world-wide web, social networks, commercial networks, and citation networks. Whichever the scenario, identifying communities or contrasting local characteristics with global properties within a network are among the basic tasks in network analysis. These tasks are particularly demanding as modern technologies have made it possible to build up massive data sets. Handling these data sets has become crucial and requires combined efforts from different fields, including in particular discrete mathematics and computer science [3]. Consider in this situation a very large graph a huge network in which the focus of some study is on a subset U of the nodes. Suppose that we have to decide which elements of U are close to other elements of U within the graph, or we must find a suitable subgraph that spans the elements in U, or we have to describe the relative positions in the network of the elements of U. This is nothing else than describing the proximity relations of U as a substructure of the network. Measuring this proximity is a basic data mining tool and hence defining suitable notions of closeness among vertices of a graph has found different approaches in the literature. For some specific networks, proximity measures have been proposed without properly relying on graph-theoretic concepts, as in [9, 19], where the network is modeled as an electrical circuit and edges with high weights contribute to the proximity of their endpoints because they can conduct more electricity. A logical option to be carefully explored in this setting is to adapt or mimic geometric proximity graphs; which have been so successful in metric scenarios, particularly the Delaunay family of graphs. The case when the graph is purely combinatorial and the distance between two vertices is the minimum number of edges of any path connecting them, has been considered, for example in [1, 14], yet the approach falls somehow short to provide rich analysis tools. Another situation arises when the network in embedded in a metric space. Here one may consider the Voronoi diagram inside the network, focusing just on the nodes and the connections or extending the implications of the resulting partition of the graph to the surrounding space. These situations nicely fit phenomena occurring alongside a network, or in its area of influence, and have been intensively investigated as network Voronoi diagrams (see [23] and [24] for a thorough description and multiple references) or from the viewpoint of time metrics [2, 25, 4]. Another related direction of research considers proximity inside an embedded geometric graph while using regions of interaction that are defined in the full euclidean plane [13, 18, 28]. If the surrounding space is ignored and the focus is on a geometric or weighted graph, the Voronoi partition is still a powerful analysis tool that has been repeatedly studied, as in [21, 8, 15]), where efficient construction algorithms are developed for several situations. In this case a Delaunay graph can be defined as dual to the Voronoi diagram obtained from the generators. Notice that if the graph is embedded in the plane, the internal proximity features may be completely unrelated to the geometric proximity in the plane, i.e., points that are drawn very close in the plane may be very far along the network. While the Delaunay graph is the most fundamental tool for domain decomposition in eu- 2

3 clidean spaces, other related proximity graphs are sometimes preferred, such as the Gabriel graph in some geographic applications, the minimum spanning tree in pattern recognition, or the nearest-neighbor graphs in classification procedures [17, 30]. Therefore, it is somehow surprising that their counterparts in network analysis have not received a comparable attention. This is precisely the scope of this paper in which we consider a very large graph G = (V, E) whose edges have a positive associated weight, and we study the aforementioned proximity relations for a subset of nodes U V, based on shortest paths along the edges of G. For example, G may be the road network of a city and U the locations of schools or other important facilities. To provide notions of closeness, we use generalizations of the nearest neighbor graph, the minimum spanning tree, the relative neighborhood graph, the Gabriel graph, and the Delaunay graph. We systematically study the relations among these graphs, their computation in terms of the nodes and the network itself, and the fundamental variations that arise when only the vertices of the input graph are taken as generators for the influence regions, or when arbitrary points on the edges may also play this role. It is worth mentioning that the set U together with the shortest-path distance on G constitutes a finite metric space. Therefore, our problem may be seen as a particular case of proximity graphs defined on general metric spaces. However, to the best of our knowledge, the precise topic of our work has not been properly investigated and only some definitions and easilyderived relations among the proximity graphs have been established (see Section 4.5 in [29], and also [16]). 2 Definitions and Notation We deal with a pair of a connected and edge-weighted graph G = (V, E) and a subset U V. For simplicity, we write G = (V, U, E). The edge set E is a set of interior disjoint continuous curves. Each edge e = (v 1, v 2 ) with (positive) weight w(e) is isometric to the interval [0, w(e)], and its endpoints are v 1 and v 2. Together with the shortest path distance, the union of the edge set constitutes a metric space, and we refer to this metric space also as G. In this way, when we speak of a point of G we may refer to either an endpoint or an interior point of an edge. The distance between a pair vertices of G as a metric space corresponds to the distance in G as a weighted graph, with the gained advantage that we may extend this definition to points in the interior of edges. The distance d G (p, q) between two points p and q of G is thus the minimum total weight of any path connecting p and q in G. The closed disk D G (p, r) is defined as the set of points q of G for which d G (p, q) r. If i j, we say that u i U is a nearest neighbor of u j U if d G (u j, u i ) d G (u j, u k ) for all vertices u k U different from u j. A midpoint of two points p and q of G is a point m on one of the shortest paths from p to q such that d G (m, p) = d G (m, q). We denote the set of midpoints of p and q by M G (p, q). For the remainder of this paper, we define V = m, U = n, and E = e. When using empty regions as proximity criteria in G, such as disks, two main variations arise, since we might allow these disks to be centered at any point of G, or restrict their centers 3

4 to lie only on vertices of the graph, as in [14, 1]. Moreover, the definition of certain regions of interference such as the Gabriel disk might depend on the multiplicity of paths or distances in G. Degeneracies that occur in the standard geometric case, such as non-uniqueness of the nearest neighbor, also generate several possibilities. For the sake of clarity we first present the situation where there are essentially no degeneracies (Sections 3 5). In Section 6 we drop the non-degeneracy assumptions and extend our results to the general setting. More precisely, in Sections 3, 4, and 5 we consider the case where the following nondegeneracy assumptions are satisfied: (A1) for all u i, u j U, the shortest path connecting u i and u j is unique; (A2) there do not exist three distinct vertices u i, u j U, v V U such that d G (v, u i ) = d G (v, u j ); (A3) there do not exist vertices v i, v j V, u i, u j U such that d G (v i, u i ) = d G (v j, u j ) and v i u i ; (A4) all paths in G connecting distinct nodes in V have different lengths. Obviously, the previous assumptions are not independent (A4 implies A1, A2, and A3; A3 implies A2), but considering them separately allows to clarify and provide a more precise description of the scenario. In Section 6, we extend the results from Sections 3 5 to the general case where A1 A4 are not necessarily satisfied. We now adapt several known definitions to proximity structures in graphs G = (V, U, E). Definition 2.1. The nearest neighbor graph of G = (V, U, E), denoted by NNG(G), is the graph H = (U, F ) such that (u i, u j ) F if and only if u j is one of the nearest neighbors of u i in G. See Figure 1 for an example. Definition 2.2. A minimum spanning tree of G = (V, U, E) is a tree T = (U, F ) such that the sum of d G (u i, u j ) over all edges (u i, u j ) F is minimal. The union of the minimum spanning trees of G, denoted by UMST(G), is the graph consisting of all the edges included in any of the minimum spanning trees of G. If A3 holds, all distances between vertices in U are different. This in particular implies that each vertex in U has exactly one nearest neighbor and that the minimum spanning tree of G, denoted by MST(G), is unique. Definition 2.3. The relative neighborhood graph of G = (V, U, E), denoted by RNG(G), is the graph H = (U, F ) such that (u i, u j ) F if and only if there exists no vertex u k U such that d G (u k, u i ) < d G (u i, u j ) and d G (u k, u j ) < d G (u i, u j ). Definition 2.4. The free-one Gabriel graph of G = (V, U, E), denoted by GG f1 (G), is the graph H = (U, F ) such that (u i, u j ) F if and only if there exists p M G (u i, u j ) such that no vertex u k U (u k u i, u j ) satisfies d G (p, u k ) d G (p, u i ). 4

5 Figure 1: A graph G and its nearest neighbor graph. The black vertices belong to U, while the white vertices belong to V U. The edges of G are solid and the edges of NNG(G) are dashed. The weight of the edges of G corresponds to their length. Definition 2.5. The free-all Gabriel graph of G = (V, U, E), denoted by GG fa (G), is the graph H = (U, F ) such that (u i, u j ) F if and only if, for each p M G (u i, u j ), no vertex u k U (u k u i, u j ) satisfies d G (p, u k ) d G (p, u i ). If A1 holds, the two definitions coincide and we denote the graph by GG f (G). Definition 2.6. The constrained-one Gabriel graph of G = (V, U, E), denoted by GG c1 (G), is the graph H = (U, F ) such that (u i, u j ) F if and only if there exists a closed disk D G (v, r), with v V and r = min v V {r D G (v, r) contains both u i and u j }, enclosing u i and u j and no other vertex from U. Definition 2.7. The constrained-all Gabriel graph of G = (V, U, E), denoted by GG ca (G), is the graph H = (U, F ) such that (u i, u j ) F if and only if every closed disk D G (v, r) enclosing u i and u j, and where v V and r = min v V {r D G (v, r) contains both u i and u j }, does not contain any other vertex of U. If A3 holds, the two definitions coincide and we denote the graph by GG c (G). Definition 2.8. The Voronoi region of a vertex u i U is the set of points p of G such that d G (p, u i ) d G (p, u j ) for all vertices u j U different from u i. The Voronoi diagram of G = (V, U, E), denoted by VD(G), is the partition of G into the Voronoi regions of the vertices of U. Definition 2.9. The free Delaunay graph of G = (V, U, E), denoted by DG f (G), is the graph H = (U, F ) such that (u i, u j ) F if and only if there exists a closed disk D G (p, r), where p is a point of G, containing u i and u j and no other vertex from U. 5

6 Definition The constrained Delaunay graph of G = (V, U, E), denoted by DG c (G), is the graph H = (U, F ) such that (u i, u j ) F if and only if there exists a closed disk D G (v, r), with v V, containing u i and u j and no other vertex from U. 3 Inclusion Sequence As in the case of the corresponding proximity graphs in Euclidean spaces, the graphs just defined satisfy some inclusion relations. In this section we show which proximity graphs are subgraphs of which other proximity graphs assuming A1, A2, and A3. Lemma 3.1. For each graph G = (V, U, E) we have NNG(G) MST(G) RNG(G) GG f (G) DG f (G). Proof. The proofs are analogous to those for proximity graphs in Euclidean spaces and, in some cases, the more general theory of proximity graphs defined in metric spaces applies (see Section 4.5 in [29]). It should be noticed that the inclusion RNG(G) GG f (G) relies on the assumption of A2 (see Theorem 6.1). Lemma 3.2. For each graph G = (V, U, E) we have NNG(G) DG c (G). Proof. Let (u i, u j ) be an edge of NNG(G), where u j is the nearest neighbor of u i. The closed disk D G (u i, r), where r = d G (u i, u j ), contains no vertices from U different from u i, u j. Thus (u i, u j ) DG c (G). Lemma 3.3. For each graph G = (V, U, E) we have GG c (G) DG c (G) DG f (G). Proof. It follows from the definitions of GG c (G), DG c (G), and DG f (G). Lemma 3.4. There exist graphs G 1 = (V 1, U 1, E 1 ), G 2 = (V 2, U 2, E 2 ), and G 3 = (V 3, U 3, E 3 ) for which NNG(G 1 ) GG c (G 1 ), GG c (G 2 ) GG f (G 2 ), and MST(G 3 ) DG c (G 3 ). Proof. Let G 1 be the graph on Figure 2a. The graph NNG(G 1 ) contains the edges (a, b) and (a, d) while GG c (G 1 ) only contains the edge (a, d). This proves that, in some cases, NNG(G) GG c (G). To see that GG c (G) GG f (G) does not hold in general, let G 2 be the graph on Figure 2b. We have that GG c (G 2 ) contains the edge (a, b) whereas (a, b) GG f (G 2 ). Finally, if G 3 is the graph on Figure 2c, MST(G 3 ) contains the edge (b, e) but DG c (G 3 ) does not. Thus there exist graphs G = (V, U, E) such that MST(G) DG c (G). These lemmas are sufficient to prove the following theorem: Theorem 3.5. The inclusion relations among all classes of proximity graphs are shown in Table 1. The symbol means that the inclusion is satisfied for all graphs G, and means that there are graphs G for which the inclusion is not satisfied. 6

7 a d 1 c b a d e c b a b c d 1.08 e 1.04 f (a) (b) (c) Figure 2: Example graphs; the black vertices belong to U, while the white vertices belong to V U. Table 1: Inclusion relations among proximity graphs in the non-degenerate case. MST RNG GG c GG f DG c DG f NNG MST RNG GG c GG f DG c It is not difficult to produce examples proving that all inclusions in the table are proper, in the sense that there exist graphs G for which the corresponding proximity subgraph does not coincide with its supergraph. 4 Geometric and Combinatorial Properties In this section we study some geometric and combinatorial properties of the previously defined proximity graphs. We start by proving that the free Delaunay graph is the dual graph of the Voronoi diagram, and by showing the consequences of this result on the combinatorial complexity of the graphs under study. Then we deal with two important particular cases, namely, when G is planar and when G is a tree. Finally, we characterize the graphs that are isomorphic to a proximity graph of some other graph. Remark 4.1. Consider G = (V, U, E) and assume that A2 is satisfied. If the point p is in the intersection of two Voronoi regions, then p is a point on an edge of G. Moreover, if q is a point in the intersection of a different pair of Voronoi regions, then p and q are on different edges of G. In particular, the intersection of three Voronoi regions is empty. We define the dual graph of the Voronoi diagram of G = (V, U, E) as the graph with vertex set U and edges connecting two vertices if and only if their Voronoi regions share some point of G that does not belong to the Voronoi region of any other vertex in U. Proposition 4.2. Let G = (V, U, E) be a graph. Then DG f (G) is the dual graph of VD(G). 7

8 Proof. If the Voronoi regions of two vertices u i u j U intersect in a point y that is not in the Voronoi region of any other vertex in U, then the closed disk D G (y, r), where r is the distance from y to u i, contains u i, u j, and no other vertex from U. Thus (u i, u j ) is an edge of DG f (G). Reciprocally, let us assume that there exists a disk D G (x, r), where x is a point of G, containing only two vertices of U, u i and u j. Then it can easily be shown that there exists a disk D G (x, r ), where x is a point of G, contained in D G (x, r) and having u i and u j on its boundary. Hence x lies in the Voronoi regions of u i and u j (and does not lie in the Voronoi region of any vertex from U). The previous proposition is a key tool to prove other results of interest, such as the following: Corollary 4.3. Let G = (V, U, E) be a graph. The number of edges of NNG(G), MST(G), RNG(G), GG c (G), GG f (G), DG c (G), and DG f (G) is at most e. Proof. Let (u i, u j ) be an edge of DG f (G). By Proposition 4.2, the Voronoi regions of u i and u j intersect at a point p of G such that d G (p, u i ) = d G (p, u j ) < d G (p, u k ) for all vertices u k U different from u i and u j. By Remark 4.1, p is a point on an edge of G and this edge does not include any other point on the intersection of the Voronoi regions of two vertices in U. The number of edges of DG f (G) is therefore less than or equal to e. Since, for all other classes, the proximity graph on G is a subgraph of DG f (G), their size is also bounded by e. The next proposition shows that this bound is tight for the graphs RNG(G), GG f (G), and DG f (G), and is tight up to a constant factor for the graphs GG c (G) and DG c (G). Proposition 4.4. There exists a graph G = (V, U, E) such that RNG(G) = GG f (G) = DG f (G) = G. There also exists a graph G = (V, U, E ) such that the number of edges of GG c (G ) and DG c (G ) is e /2. Furthermore, all of these graphs have Θ(n 2 ) edges. Proof. Consider two groups of n/2 vertices. Let U be this set of n vertices, V = U and G = (V, U, E) be the complete bipartite graph on the two groups of vertices. The weights of the edges of G are real numbers between 1 and 1.5, and can be assigned so that G is non-degenerate. In this situation RNG(G) = GG f (G) = DG f (G) = G, and RNG(G), GG f (G), and DG f (G) have n 2 /4 edges. Now add vertices to G in such a way that there exists a vertex in V U close to the midpoint of each edge (and the graph remains non-degenerate). Let G = (V, U, E ) be the resulting graph. In this case the number of edges of GG c (G ) and DG c (G ) is e /2 = n 2 /4. We now consider the case where G = (V, U, E) is a planar graph. Theorem 4.5. Let G = (V, U, E) be a planar graph. Then DG f (G) is planar. 8

9 Proof. Consider a plane drawing of G. Let (u i, u j ) be an edge of DG f (G). By Proposition 4.2, there exists a point p of G (not in V by Remark 4.1) such that d G (p, u i ) = d G (p, u j ) < d G (p, u k ) for all vertices u k U different from u i and u j. Draw the edge (u i, u j ) by following the union of a shortest path in G from u i to p and a shortest path from p to u j. Note that each point q p in a shortest path from u i to p is such that d G (q, u i ) < d G (q, u k ) for all vertices u k U different from u i, and the same holds for u j. Draw all edges in DG f (G) in this way and suppose the graph has one crossing. Since G is planar, this crossing occurs in a vertex w of V U. Then, w belongs to two shortest paths, one from a point p l G V to a point u l U and the other from p h G V to u h U. Hence, d G (w, u l ) < d G (w, u ν ) for all vertices u ν U different from u l, and d G (w, u h ) < d G (w, u ν ) for all vertices u ν U different from u h. This yields a contradiction. Observe that an edge of G might be used in the drawing of several edges of DG f (G). It is easy to prove that, in this case, it can be duplicated in such a way that no crossings are created. Corollary 4.6. If G = (V, U, E) is a planar graph, then NNG(G), MST(G), RNG(G), GG c (G), GG f (G), and DG c (G) are planar. We have just proved that the proximity graphs inherit planarity from the original graph. Next we show that they also inherit acyclicity. Theorem 4.7. Let G = (V, U, E) be a tree. Then DG f (G) = MST(G). Proof. As MST(G) DG f (G), it suffices to show that DG f does not contain any cycle. Suppose that DG f contains a cycle u 1 u 2... u l u 1 (3 l n). By Proposition 4.2, the intersection of the Voronoi regions of every pair of points u i, u i+1 is non-empty; let p i,i+1 be a point belonging to this intersection. By Remark 4.1, the points p i,i+1 are not in V, are pairwise different, and satisfy that d G (p i,i+1, u i ) = d G (p i,i+1, u i+1 ) < d G (p i,i+1, u k ) for all vertices u k U different from u i and u i+1. For every vertex u i, consider the union of the unique path in G from p i 1,i to u i and the unique path in G from u i to p i,i+1. Let c i be the unique path in G from p i 1,i to p i,i+1. Observe that this path is contained in the previous union. Since the paths from p i 1,i to u i and from u i to p i,i+1 are also shortest paths, each point q in c i different from p i 1,i and p i,i+1 is such that d G (q, u i ) < d G (q, u k ) for all vertices u k U different from u i. As a consequence, two paths c i and c j, i j, only intersect if j = i + 1, and the intersection takes place at point p i,i+1. Thus the union of the paths c i is a cycle of G, contradicting that G is a tree. Corollary 4.8. Let G = (V, U, E) be a tree. RNG(G) = GG f (G) = MST(G). Then GG c (G) and DG c (G) are forests, and Next we give complete characterizations for those graphs that are isomorphic to a certain proximity graph of some other graph. Our results are motivated by the rich literature on characterizations for the graphs that are isomorphic to (or can be drawn as) one of the usual proximity graphs defined on a point set in the plane (see [20] for an excellent survey). 9

10 Proposition 4.9. If G = (V, E) is a graph, there exists a graph Ḡ = ( V, Ū, Ē) such that G = NNG(Ḡ) if and only if G is acyclic and does not contain isolated vertices. Proof. On the one hand, any nearest neighbor graph does not contain isolated vertices because every vertex is connected to its nearest neighbor. On the other hand, this proximity graph is acyclic because it is a subgraph of the minimum spanning tree. This settles one of the implications. Now let us suppose that G does not contain cycles or isolated vertices. We define a new graph Ḡ = ( V, Ū, Ē) such that G = NNG(Ḡ). Let V = Ū = V, Ē = E, and look at each connected component of Ḡ as a rooted tree. Connect all pairs of roots of different trees. Assign weights to the edges of Ḡ so that the nearest neighbor of each vertex different from a root is its predecessor in its tree, and the nearest neighbor of a root is one of its successors in its tree. The graph Ḡ satisfies G = NNG(Ḡ). The next characterization is straightforward. Proposition If G = (V, E) is a graph, there exists a graph Ḡ = ( V, Ū, Ē) such that G = MST(Ḡ) if and only if G is a tree. Proposition If G = (V, E) is a graph, there exists a graph Ḡ = ( V, Ū, Ē) such that G = RNG(Ḡ) if and only if G is triangle-free. Proof. Suppose that there exists a graph Ḡ = ( V, Ū, Ē) such that G = RNG(Ḡ). Notice that, for every group of three vertices in RNG(Ḡ), the edge connecting the furthest pair is not in the graph. Thus RNG(Ḡ) is triangle-free and so is G. Reciprocally, let V = Ū = V, Ē = E and assign to all edges in Ē approximately the same weight. Consider two vertices u i, u j in Ū. If their corresponding vertices in G are adjacent, they are relative neighbors in Ḡ. Indeed, since G is triangle-free, no vertex in G is adjacent to both u i and u j, so no vertex in Ū lies in the lens defined by u i and u j in Ḡ. If they are relative neighbors in Ḡ, no other vertex of Ū lies in the shortest path connecting them, and thus their corresponding vertices in G are adjacent. Proposition Let G = (V, E) be a graph. There exists a graph Ḡ = ( V, Ū, Ē) such that G = GG c (Ḡ) = GGf(Ḡ) = DGc(Ḡ) = DGf(Ḡ). Proof. Let Ū = V, Ē = E and assign to all edges in Ē approximately the same weight. Add a new vertex in V Ū close to the midpoint of each of the edges in Ē. Then G = GG c (Ḡ) = GG f (Ḡ) = DGc(Ḡ) = DGf(Ḡ). The lens defined by two points at distance d has been sometimes called lune in the literature, and it is the intersection of the disks of radius d centered at the points. 10

11 5 Algorithms In this section we provide algorithms to compute each of the proximity graphs we have presented. Algorithm for DG f (G) The Voronoi diagram of a graph G = (V, U, E) can be computed in O(e + (m n) log(m n)) time using an algorithm proposed in [8]. As shown in Proposition 4.2, DG f (G) is its dual graph, so it can be computed scanning the bridges of VD(G), that is, the edges with the property that the two endpoints belong to different Voronoi regions. This is done in O(e) extra time. Algorithm for DG c (G) Two different vertices u, u U are adjacent in DG c (G) if and only if there exists a closed disk D G (v, r), with v V, which is empty of points in U except for u and u. If such a disk exists, the two vertices in U closest to vertex v are u and u. For each vertex v i in V, the algorithm computes its two closest vertices u i and u i of U. Then the edges in DG c(g) are (u i, u i ) for all i. To find the two closest vertices in U of every vertex in V we use a technique similar to that in [8, 11, 24]. The sketch of the algorithm is as follows. For each vertex u U, the algorithm constructs a tree T u rooted at u providing the shortest paths from u to some vertices in V as in Dijkstra s algorithm. The trees are built simultaneously as follows. At any given point during the execution of the algorithm, among all vertices that are adjacent in G to a vertex in any of the n trees, we select the one at shortest distance from the root of its corresponding tree. We do not add a vertex to a tree if it is already there, and we do not add a vertex to a tree if it was added to two other trees in earlier iterations. The algorithm finishes when all vertices in V have been added to two trees. Our algorithm is very similar to the one presented in [11] to compute the k nearest vertices in U of every vertex in V, which runs in O(min{ne + nm log m, km log m + ke log m}) time. So here we omit the precise description of the steps of the algorithm and the proof of its correctness, which are carefully given in [11], and we concentrate on the implementation details that allow to improve the running time of the algorithm in [11]. Implementation of the Algorithm First of all, we create a min-priority queue Q implemented via Fibonnacci heaps [10], so that the operations Insert, Find-min, and Decrease-key are done in O(1) amortized time, and the operations Extract-min and Delete are done in O(log n) time. The objective of creating and maintaining the min-priority queue Q is to store the current minimum and second minimum distances from each vertex in V to the vertices in U. So for each vertex v V, we insert into Q two elements v 1, v 2 with associated values d(v 1 ), d(v 2 ) initially set to infinity (except for the elements u 1, where u U, which are inserted with value d(u 1 ) = 0). The parameters d(v 1 ) and d(v 2 ) will respectively store the lengths of the current shortest and 11

12 second shortest paths from v to any of the vertices in U, with the additional condition that these two shortest paths lead to two different elements T (v 1 ) and T (v 2 ) of U. We also store the parents π(v 1 ) and π(v 2 ) that v has in these paths and the vertices T (v 1 ) and T (v 2 ). We also make use of a table SP of size m 2 in which we will keep track of the number of times an element has been extracted from Q to be added to a tree, and of the trees to which the element has been added. Thus SP [v, j] = i (j = 1, 2) means that, the j-th time that vertex v has been extracted from Q, it has been added to T i. It is worth pointing out that we do not actually store the trees because the only information needed to compute DG c (G) is given by table SP. At each iteration of the algorithm, we first extract the minimum element of Q; let it be v j. Then v is added to the corresponding tree, so we update SP and process every neighbor of v, w π(v j ). To process these neighbors we follow the same steps as in [11], except that, if we find a shorter path from w to a vertex in U, we do not delete w from Q and reinsert it with a new source T (w), but we simply decrease the key of w (which is done in O(1) amortized time) and update the values of π(w) and T (w). When all neighbors have been processed, we continue with the next iteration of the algorithm. The algorithm ends when Q is empty. Complexity Since the only insertions into Q are done in the initialization step and at the end of the algorithm Q is empty, the total running time of the insertions and extractions is O(m log m). We must also account for the Decrease-key operations. Let v be a vertex of V. The associated vertices v 1, v 2 might have their value in Q decreased only if one of the neighbors of v in G is added to a tree, so at most 2δ(v) times (where δ(v) is the degree of v in G). This implies that the total number of decrease operations in the algorithm is at most 8e. Since each of them is done in constant amortized time, the total running time is O(e). Regarding space, it is clear that the total space used by the algorithm is O(m + e). Summarizing, we have proved Theorem 5.1. For each graph G = (V, U, E) the graph DG c (G) can be computed in O(e + m log m) time and O(e) space. Algorithm for GG f (G) Recall that u i, u j U are adjacent in GG f (G) if they are the two closest vertices in U of their midpoint. So we propose an algorithm that first computes the shortest path between every pair of vertices in U and afterwards tests the previous condition. To do this last step, we scan the shortest path in O(m) time to find its midpoint and then check whether the midpoint is contained in a bridge between the Voronoi regions of the two vertices in U, which can be done in constant time if the Voronoi diagram of the graph has been precomputed. Observe that, as GG f (G) DG f (G), it suffices to test the edges in DG f (G). 12

13 To compute all pairs (of vertices in U) shortest paths, we might distinguish two cases, depending on the order of magnitude of the number of edges of G. As far as we know, the best algorithm for the case in which G is a sparse graph has an asymptotic cost of O(me log α(m, e)) in the comparison-addition model (α denotes the functional inverse of Ackermann s function) [27]. In this algorithm, after a preprocessing phase of cost O(m log m), single-source shortest path queries can be carried out in O(e log α(m, e)) time. Since we are only interested in shortest paths between vertices in U, the total cost of the algorithm in our case is O(m log m + ne log α(m, e)). If G is dense, the previous algorithms might be cubic. To the best of our knowledge, given a dense graph G = (V, E), with V = m and E = e, the fastest algorithm to compute the shortest paths between all pairs of vertices in V runs in O ( m 3 log 3 log m/ log 2 m ) time in the standard RAM model [6]. For practical purposes, we define APSP(G) = O ( min{m log m + ne log α(m, e), m 3 log 3 log m/ log 2 m} ). So we have: Theorem 5.2. For each graph G = (V, U, E), the graph GG f (G) can be computed in O(APSP(G)+ min{n 2, e}m) time. Algorithm for GG c (G) Given a pair of vertices u i, u j U, there is a straightforward way to know whether (u i, u j ) is an edge of GG c (G) if the distances from u i and u j to all vertices in V have been precomputed. Firstly, for each v V, we compute max{d G (v, u i ), d G (v, u j )}, which is the radius of the smallest closed disk centered at v containing both u i and u j. Secondly, among this family of disks, we pick the one that has the smallest radius. Thirdly, we check whether the chosen disk contains some vertex in U different from u i and u j. These three steps can be done in O(m) time. Since GG c (G) DG f (G), we only test the edges in DG f (G). Consequently, Theorem 5.3. For each graph G = (V, U, E), the graph GG c (G) can be computed in O(APSP(G)+ min{n 2, e}m) time. Algorithm for RNG(G) We propose a two steps algorithm. Firstly, we compute the shortest paths between all pairs of vertices in U to obtain the distances among these vertices. Secondly, we compute RNG(G) by checking, for all pairs of vertices u i, u j U that are adjacent in DG f (G), whether there exists any vertex u k U such that d G (u k, u i ) < d G (u i, u j ) and d G (u k, u j ) < d G (u i, u j ). Theorem 5.4. For each graph G = (V, U, E), the graph RNG(G) can be computed in O(APSP(G)+ min{n 2, e}n) time. 13

14 Algorithm for MST(G) A first approach to obtain the minimum spanning tree of a graph G = (V, U, E) could be to compute the distances between all pairs of vertices in U and then use some efficient algorithm to produce the minimum spanning tree of the complete graph on the vertices in U (if any of the supergraphs of MST(G) was already known, some of the edges could be discarded). This algorithm would run in O (APSP(G)) time. Next we show that another analogy between the usual proximity graphs and the new proximity structures on graphs allows to derive a better algorithm. It is well known that the Gabriel graph of a set of points in the plane contains those edges in the Delaunay graph that intersect their dual Voronoi edges. The analogous property satisfied by our proximity structures on graphs is the following: Lemma 5.5. Let G = (V, U, E) be a graph and let (u i, u j ) be an edge of DG f (G). The graph GG f (G) contains (u i, u j ) if and only if the shortest path between u i and u j is contained in the Voronoi regions of u i and u j. Proof. It suffices to notice that the shortest path between u i and u j is contained in the Voronoi regions of u i and u j if and only if its midpoint lies in the Voronoi regions of both vertices. Remark 5.6. Let G 1 = (V, E), G 2 = (V, E) be two weighted graphs with the same sets of vertices and edges. Let e 1 (respectively e 2 ) denote the weight of edge e in G 1 (respectively G 2 ). Suppose that E = E E, where e 1 = e 2 for all e E and e 1 < e 2 for all e E. Suppose also that no edge in E belongs to MST(G 1 ). Then MST(G 1 ) = MST(G 2 ). Now let us consider DG f (G) as a weighted graph, where the weight of an edge is given by the distance in G between its endpoints. As MST(G) DG f (G), we have that MST(G) = MST(DG f (G)). We define the weighted graph DG f (G) as follows. The vertex set and edges are the same as in DG f (G), and the weight of an edge (u i, u j ) in DG f (G) is the length of the shortest path from u i to u j in G that is contained in the Voronoi regions of both vertices. Observe that the weight of an edge in DG f (G) is less than or equal to its weight in DG f (G), and that, by Lemma 5.5, they are equal if and only if the edge belongs to GG f (G). Moreover, since MST(G) GG f (G), an edge that has different weights in DG f (G) and DG f (G) is not contained in MST(G). By Remark 5.6, we can conclude that MST( DG f (G)) = MST(DG f (G)), so MST( DG f (G)) = MST(G). Our algorithm takes advantage of the fact that computing the weights in DG f (G) is easier than in DG f (G). Firstly, we compute the Voronoi diagram of G using the algorithm proposed in [8]. This algorithm provides not only the nearest vertex in U of every vertex in V but also the distance between them. Thus the length of the shortest path between two neighbors u i, u j in DG f (G) containing a particular bridge of VD(G) can be computed in constant time. In order to obtain the weight of edge (u i, u j ) in DG f (G), all we have to do is to scan all the bridges 14

15 Table 2: Inclusion relations among all classes of proximity graphs in the general case. UMST RNG GG ca GG c1 GG fa GG f1 DG c DG f NNG UMST RNG GG ca GG c1 GG fa GG f1 DG c between the Voronoi regions of both vertices. All in all, the graph DG f (G) can be computed in O(e + (m n) log(m n)) time. Afterwards we can apply some efficient algorithm to obtain MST( DG f (G)). Two suitable options are the algorithm in [7], which runs in O(e α(e, n)) time, or the algorithm in [26], whose exact running time is not known, but which runs in linear time for most graphs. In conclusion, Theorem 5.7. For each graph G = (V, U, E), the graph MST(G) can be computed in O(e α(e, n)+ (m n) log(m n)) time. Algorithm for NNG(G) An algorithm to compute the nearest neighbor graph by means of DG f (G) is also provided in [8]. Its total running time is O(e + (m n) log(m n)). 6 Presence of Degeneracies In this section we generalize our results to the case in which degeneracies arise. Theorem 6.1. If degenerate situations are allowed, the inclusion relations among all classes of proximity graphs are shown in Table 2. Furthermore, all classes of proximity graphs are different. Proof. First we deal with the new graphs. It is easy to see that, as far as inclusion relations are concerned, the graph GG c1 behaves essentially as the graph GG c in the non-degenerate case, and the same holds for the graphs GG f1 and GG f. This rule has few exceptions related to NNG(G), UMST(G), and RNG(G) which are explained below. 15

16 Regarding GG ca, the example in Figure 2a shows that NNG GG ca and RNG GG ca. Clearly, GG ca (G) GG c1 (G) and one can easily come up with a situation where GG ca (G) GG c1 (G). The graph in Figure 2b proves that GG ca GG f1 and GG ca GG fa. Finally, it holds that GG ca DG c and GG ca DG f, because GG ca (G) GG c1 (G) and GG c1 (G) DG c (G) DG f (G). Next we focus on GG fa. It is obvious that GG fa GG f1 (G) and that, in some cases, GG fa GG f1 (G). The graph in Figure 2b shows that GG c1 (G) GG fa, while the one in Figure 2c proves that GG fa (G) DG c. Since GG fa (G) GG f1 and GG f1 DG f (G), we conclude that GG fa (G) DG f. Now let G be the graph on Figure 3a. This graph does not satisfy assumption A2 and illustrates the changes with respect to the non-degenerate case. That is, the graphs NNG(G), UMST(G), and RNG(G) contain edges (a, b), (b, c) and (c, a), while the graphs GG ca (G), GG c1 (G), GG fa (G), GG f1 (G), DG c (G), and DG f (G) only contain (a, b). Hence, none of the graphs of the first group is a subgraph of any graph of the second group. Finally, analogous proofs to those in Section 3 show that the remaining relations of containment hold even if degeneracies are permitted. a a b 3 3 d 5 c b 5 5 f e c d (a) (b) Figure 3: Two graphs not satisfying A2. (a) The edge (b, c) belongs to NNG(G), UMST(G), and RNG(G), but does not belong to GG ca (G), GG c1 (G), GG fa (G), GG f1 (G), DG c (G), and DG f (G). (b) NNG(G), UMST(G), and RNG(G) are the complete graph on U, whereas GG ca (G), GG c1 (G), GG fa (G), GG f1 (G), DG c (G), and DG f (G) are the empty graph. We now focus on the most important properties presented in Section 4. The proof that DG f (G) is the dual the graph of VD(G) does not require any non-degeneracy assumption, so this result holds in all cases. Let us now consider the size of the proximity graphs. If A2 is not satisfied, some of the proximity graphs might have more edges than the original graph. More precisely, Theorem 6.2. Let G = (V, U, E) be a graph. The number of edges of GG ca (G), GG c (G), GG fa (G), GG f (G), DG c (G), and DG f (G) is at most e. The number of edges of NNG(G), UMST(G), and RNG(G) may be greater than e. Proof. Let (u i, u j ) be an edge of DG f (G). Then there is a point p of G such that d G (p, u i ) = d G (p, u j ) < d G (p, u k ) for all vertices u k U different from u i and u j. 16

17 First suppose that the point p is unique. If p is not an element of V, we assign the edge (u i, u j ) DG f (G) to the edge in G containing p. Otherwise let u i v 1 v 2... v l p be a shortest path from u i to p in G. Then we assign (u i, u j ) to the edge (v l, p) G. Now suppose that there are several points of G satisfying the same condition as p. Let q be the one at smallest distance from u i and u j. Observe that q V. As in the previous case, if u i w 1 w 2... w h q is a shortest path from u i to q in G, we assign (u i, u j ) to the edge (w h, q) G. We have just constructed an injective function that maps each edge in DG f (G) to an edge in G. Hence the number of edges of DG f (G) is at most e. Since GG ca (G), GG c1 (G), GG fa (G), GG f1 (G), and DG c (G) are subgraphs of DG f (G), their size is also bounded by e. With regard to the remaining proximity graphs, consider the graph on Figure 3b, which does not fulfill A2. Observe that NNG(G), UMST(G), and RNG(G) are the complete graph on the vertices of U, so they have ten edges, while the original graph has five. Finally, the next two theorems include the proximity graphs that inherit the property of being planar or acyclic in the degenerate case. The proof of the first part of each statement can be obtained using the same approach as in Theorems 4.5 and 4.7 in Section 4. The graph in Figure 3b proves the second part of each statement. Theorem 6.3. Let G = (V, U, E) be a planar graph. Then the graphs GG ca (G), GG c1 (G), GG fa (G), GG f1 (G), DG c (G), and DG f (G) are planar, whereas NNG(G), UMST(G), and RNG(G) may not be. Theorem 6.4. Let G = (V, U, E) be a tree. Then the graphs GG ca (G), GG c1 (G), GG fa (G), GG f1 (G), DG c (G), and DG f (G) are acyclic, whereas NNG(G), UMST(G), and RNG(G) may not be. The algorithms in the preceding section can be adapted to run under the presence of degeneracies yet we omit their descriptions which require, as usual, many details to be carefully handled. References [1] M. Abellanas and F. Harary, Delaunay graphs on a prescribed graph, Proc 15th European Workshop on Computational Geometry, Antibes, France, 1999, pp [2] M. Abellanas, F. Hurtado, C. Icking, E. Langetepe, R. Klein, L. Ma, B. Palop, and V. Sacristán, Voronoi diagram for services neighboring a highway, Inform Process Lett 86(5) (2003), [3] J. Abello, P.M. Pardalos, and M.G. Resende, Handbook of massive data sets, Kluwer Academic Publishers, Dordrecht,

18 [4] H.-K. Ahn, H. Alt, T. Asano, S. Bae, P. Brass, O. Cheong, C. Knauer, H.-S. Na, C.-S. Shin, and A. Wolff, Constructing optimal highways, Internat J Found Comput Sci 20(1) (2009), [5] G. Di Battista, P. Eades, R. Tamassia, and I.G. Tollis, Graph drawing: algorithms for the visualization of graphs, Prentice Hall, Upper Saddle River, [6] T.M. Chan, More algorithms for all-pairs shortest paths in weighted graphs, Proc 39th ACM Symposium on Theory of Computing, San Diego, CA, 2007, pp [7] B. Chazelle, A minimum spanning tree algorithm with inverse-ackermann type complexity, J ACM 47(6) (2000), [8] M. Erwig, The graph Voronoi diagram with applications, Networks 36(3) (2000), [9] C. Faloutsos, K.S. McCurley, and A. Tomkins, Fast discovery of connection subgraphs, Proc 10th ACM SIGKDD International Conference on Knowledge Discovery and Data Mining, Seattle, WA, 2004, pp [10] M.L. Fredman and R.E. Tarjan, Fibonacci heaps and their uses in improved network optimization algorithms, J ACM 34(3) (1987), [11] T. Furuta, A. Suzuki, and K. Inakawa, The kth nearest network Voronoi diagram and its application to districting problem of ambulance systems, Discussion Paper, No.0501, Center for Management Studies, Nanzan University, [12] A. Getis and B. Boots, Models of spatial processes: an approach to the study of point, line and area patterns, Cambridge University Press, Cambridge, [13] S. Govindarajan, On locally Gabriel graphs, Submitted. [14] F. Harary, M.S. Jacobson, M.J. Lipman, and F.R. McMorris, Abstract sphere-of-influence graphs, Math Comput Modelling 17(11) (1993), [15] F. Hurtado, R. Klein, E. Langetepe, and V. Sacristán, The weighted farthest color Voronoi diagram on trees and graphs, Comput Geom 27(1) (2004), [16] J.W. Jaromczyk and M. Kowaluk, A note on relative neighborhood graphs, Proc 3rd Annual Symposium on Computational Geometry, Waterloo, ON, 1987, pp [17] J.W. Jaromczyk and G.T. Toussaint, Relative neighborhood graphs and their relatives, Proc IEEE 80(9) (1992), [18] S. Kapoor and X.-Y. Li, Proximity structures for geometric graphs, Proc 8th International Workshop on Algorithms and Data Structures, Ottawa, ON, 2003, pp

19 [19] Y. Koren, S.C. North, and C. Volinsky, Measuring and extracting proximity in networks, Proc 12th ACM SIGKDD International Conference on Knowledge Discovery and Data Mining, Philadelphia, PA, 2006, pp [20] G. Liotta, Proximity drawings, Handbook of graph drawing and visualization, R. Tamassia (Editor), CRC Press, Boca Raton, to appear. [21] K. Mehlhorn, A faster approximation algorithm for the Steiner problem in graphs, Inform Process Lett 27(3) (1988), [22] T.S. Michael and T. Quint, Sphere of influence graphs in general metric spaces, Math Comput Modelling 29(7) (1999), [23] A. Okabe, B. Boots, K. Sugihara, and S.N. Chiu, Spatial tessellations: concepts and applications of Voronoi diagrams, John Wiley & Sons, Chichester, [24] A. Okabe, T. Satoh, T. Furuta, A. Suzuki, and K. Okano, Generalized network Voronoi diagrams: concepts, computational methods, and applications, Int J Geogr Inf Sci 22(9) (2008), [25] Y. Ostrovsky-Berman, The transportation metric and related problems, Inform Process Lett 95(4) (2005), [26] S. Pettie and V. Ramachandran, An optimal minimum spanning tree algorithm, J ACM 49(1) (2002), [27] S. Pettie and V. Ramachandran, A shortest path algorithm for real-weighted undirected graphs, SIAM J Comput 34(6) (2005), [28] R. Pinchasi and S. Smorodinsky, On locally Delaunay geometric graphs, Proc 20th Annual Symposium on Computational Geometry, Brooklyn, New York, 2004, pp [29] H. Samet, Foundations of multidimensional and metric data structures, Morgan Kaufmann, San Francisco, [30] G.T. Toussaint (Editor), Computational morphology, North-Holland Publishing Company, Amsterdam,

### Planar Tree Transformation: Results and Counterexample

Planar Tree Transformation: Results and Counterexample Selim G Akl, Kamrul Islam, and Henk Meijer School of Computing, Queen s University Kingston, Ontario, Canada K7L 3N6 Abstract We consider the problem

### On the k-path cover problem for cacti

On the k-path cover problem for cacti Zemin Jin and Xueliang Li Center for Combinatorics and LPMC Nankai University Tianjin 300071, P.R. China zeminjin@eyou.com, x.li@eyou.com Abstract In this paper we

### On a tree graph dened by a set of cycles

Discrete Mathematics 271 (2003) 303 310 www.elsevier.com/locate/disc Note On a tree graph dened by a set of cycles Xueliang Li a,vctor Neumann-Lara b, Eduardo Rivera-Campo c;1 a Center for Combinatorics,

### Finding and counting given length cycles

Finding and counting given length cycles Noga Alon Raphael Yuster Uri Zwick Abstract We present an assortment of methods for finding and counting simple cycles of a given length in directed and undirected

### Labeling outerplanar graphs with maximum degree three

Labeling outerplanar graphs with maximum degree three Xiangwen Li 1 and Sanming Zhou 2 1 Department of Mathematics Huazhong Normal University, Wuhan 430079, China 2 Department of Mathematics and Statistics

### Two General Methods to Reduce Delay and Change of Enumeration Algorithms

ISSN 1346-5597 NII Technical Report Two General Methods to Reduce Delay and Change of Enumeration Algorithms Takeaki Uno NII-2003-004E Apr.2003 Two General Methods to Reduce Delay and Change of Enumeration

### Partitioning edge-coloured complete graphs into monochromatic cycles and paths

arxiv:1205.5492v1 [math.co] 24 May 2012 Partitioning edge-coloured complete graphs into monochromatic cycles and paths Alexey Pokrovskiy Departement of Mathematics, London School of Economics and Political

### Introduction to Voronoi Diagrams

C.S. 252 Prof. Roberto Tamassia Computational Geometry Sem. II, 1992 1993 Lecture 13 Date: March 22, 1993 Scribe: Scott S. Snibbe 1 Introduction Introduction to Voronoi Diagrams This lecture introduces

### Graphs without proper subgraphs of minimum degree 3 and short cycles

Graphs without proper subgraphs of minimum degree 3 and short cycles Lothar Narins, Alexey Pokrovskiy, Tibor Szabó Department of Mathematics, Freie Universität, Berlin, Germany. August 22, 2014 Abstract

### Shortcut sets for plane Euclidean networks (Extended abstract) 1

Shortcut sets for plane Euclidean networks (Extended abstract) 1 J. Cáceres a D. Garijo b A. González b A. Márquez b M. L. Puertas a P. Ribeiro c a Departamento de Matemáticas, Universidad de Almería,

### Coloring Eulerian triangulations of the projective plane

Coloring Eulerian triangulations of the projective plane Bojan Mohar 1 Department of Mathematics, University of Ljubljana, 1111 Ljubljana, Slovenia bojan.mohar@uni-lj.si Abstract A simple characterization

### Mean Ramsey-Turán numbers

Mean Ramsey-Turán numbers Raphael Yuster Department of Mathematics University of Haifa at Oranim Tivon 36006, Israel Abstract A ρ-mean coloring of a graph is a coloring of the edges such that the average

### most 4 Mirka Miller 1,2, Guillermo Pineda-Villavicencio 3, The University of Newcastle Callaghan, NSW 2308, Australia University of West Bohemia

Complete catalogue of graphs of maimum degree 3 and defect at most 4 Mirka Miller 1,2, Guillermo Pineda-Villavicencio 3, 1 School of Electrical Engineering and Computer Science The University of Newcastle

### Best Monotone Degree Bounds for Various Graph Parameters

Best Monotone Degree Bounds for Various Graph Parameters D. Bauer Department of Mathematical Sciences Stevens Institute of Technology Hoboken, NJ 07030 S. L. Hakimi Department of Electrical and Computer

### HOMEWORK #3 SOLUTIONS - MATH 3260

HOMEWORK #3 SOLUTIONS - MATH 3260 ASSIGNED: FEBRUARY 26, 2003 DUE: MARCH 12, 2003 AT 2:30PM (1) Show either that each of the following graphs are planar by drawing them in a way that the vertices do not

### Chapter 6 Planarity. Section 6.1 Euler s Formula

Chapter 6 Planarity Section 6.1 Euler s Formula In Chapter 1 we introduced the puzzle of the three houses and the three utilities. The problem was to determine if we could connect each of the three utilities

### 2.3 Scheduling jobs on identical parallel machines

2.3 Scheduling jobs on identical parallel machines There are jobs to be processed, and there are identical machines (running in parallel) to which each job may be assigned Each job = 1,,, must be processed

### DO NOT RE-DISTRIBUTE THIS SOLUTION FILE

Professor Kindred Math 04 Graph Theory Homework 7 Solutions April 3, 03 Introduction to Graph Theory, West Section 5. 0, variation of 5, 39 Section 5. 9 Section 5.3 3, 8, 3 Section 7. Problems you should

### The number of generalized balanced lines

The number of generalized balanced lines David Orden Pedro Ramos Gelasio Salazar Abstract Let S be a set of r red points and b = r + 2δ blue points in general position in the plane, with δ 0. A line l

### Analysis of Algorithms, I

Analysis of Algorithms, I CSOR W4231.002 Eleni Drinea Computer Science Department Columbia University Thursday, February 26, 2015 Outline 1 Recap 2 Representing graphs 3 Breadth-first search (BFS) 4 Applications

### CS711008Z Algorithm Design and Analysis

CS711008Z Algorithm Design and Analysis Lecture 7 Binary heap, binomial heap, and Fibonacci heap 1 Dongbo Bu Institute of Computing Technology Chinese Academy of Sciences, Beijing, China 1 The slides were

### A Turán Type Problem Concerning the Powers of the Degrees of a Graph

A Turán Type Problem Concerning the Powers of the Degrees of a Graph Yair Caro and Raphael Yuster Department of Mathematics University of Haifa-ORANIM, Tivon 36006, Israel. AMS Subject Classification:

### Graph Algorithms. Ananth Grama, Anshul Gupta, George Karypis, and Vipin Kumar

Graph Algorithms Ananth Grama, Anshul Gupta, George Karypis, and Vipin Kumar To accompany the text Introduction to Parallel Computing, Addison Wesley, 3. Topic Overview Definitions and Representation Minimum

### Exponential time algorithms for graph coloring

Exponential time algorithms for graph coloring Uriel Feige Lecture notes, March 14, 2011 1 Introduction Let [n] denote the set {1,..., k}. A k-labeling of vertices of a graph G(V, E) is a function V [k].

### 1. Relevant standard graph theory

Color identical pairs in 4-chromatic graphs Asbjørn Brændeland I argue that, given a 4-chromatic graph G and a pair of vertices {u, v} in G, if the color of u equals the color of v in every 4-coloring

### Social Media Mining. Graph Essentials

Graph Essentials Graph Basics Measures Graph and Essentials Metrics 2 2 Nodes and Edges A network is a graph nodes, actors, or vertices (plural of vertex) Connections, edges or ties Edge Node Measures

### Tenacity and rupture degree of permutation graphs of complete bipartite graphs

Tenacity and rupture degree of permutation graphs of complete bipartite graphs Fengwei Li, Qingfang Ye and Xueliang Li Department of mathematics, Shaoxing University, Shaoxing Zhejiang 312000, P.R. China

### The Union-Find Problem Kruskal s algorithm for finding an MST presented us with a problem in data-structure design. As we looked at each edge,

The Union-Find Problem Kruskal s algorithm for finding an MST presented us with a problem in data-structure design. As we looked at each edge, cheapest first, we had to determine whether its two endpoints

### Divide-and-Conquer. Three main steps : 1. divide; 2. conquer; 3. merge.

Divide-and-Conquer Three main steps : 1. divide; 2. conquer; 3. merge. 1 Let I denote the (sub)problem instance and S be its solution. The divide-and-conquer strategy can be described as follows. Procedure

### 1 Introduction. Dr. T. Srinivas Department of Mathematics Kakatiya University Warangal 506009, AP, INDIA tsrinivasku@gmail.com

A New Allgoriitthm for Miiniimum Costt Liinkiing M. Sreenivas Alluri Institute of Management Sciences Hanamkonda 506001, AP, INDIA allurimaster@gmail.com Dr. T. Srinivas Department of Mathematics Kakatiya

### arxiv: v2 [math.co] 30 Nov 2015

PLANAR GRAPH IS ON FIRE PRZEMYSŁAW GORDINOWICZ arxiv:1311.1158v [math.co] 30 Nov 015 Abstract. Let G be any connected graph on n vertices, n. Let k be any positive integer. Suppose that a fire breaks out

### Degree Hypergroupoids Associated with Hypergraphs

Filomat 8:1 (014), 119 19 DOI 10.98/FIL1401119F Published by Faculty of Sciences and Mathematics, University of Niš, Serbia Available at: http://www.pmf.ni.ac.rs/filomat Degree Hypergroupoids Associated

### Optimal Location of Transportation Devices

Optimal Location of Transportation Devices Jean Cardinal 1, Sébastien Collette 1, Ferran Hurtado 2, Stefan Langerman 1, and Belén Palop 3 1 Computer Science Department Université Libre de Bruxelles CP

### Large induced subgraphs with all degrees odd

Large induced subgraphs with all degrees odd A.D. Scott Department of Pure Mathematics and Mathematical Statistics, University of Cambridge, England Abstract: We prove that every connected graph of order

### 1 Plane and Planar Graphs. Definition 1 A graph G(V,E) is called plane if

Plane and Planar Graphs Definition A graph G(V,E) is called plane if V is a set of points in the plane; E is a set of curves in the plane such that. every curve contains at most two vertices and these

### SHARP BOUNDS FOR THE SUM OF THE SQUARES OF THE DEGREES OF A GRAPH

31 Kragujevac J. Math. 25 (2003) 31 49. SHARP BOUNDS FOR THE SUM OF THE SQUARES OF THE DEGREES OF A GRAPH Kinkar Ch. Das Department of Mathematics, Indian Institute of Technology, Kharagpur 721302, W.B.,

### Every tree contains a large induced subgraph with all degrees odd

Every tree contains a large induced subgraph with all degrees odd A.J. Radcliffe Carnegie Mellon University, Pittsburgh, PA A.D. Scott Department of Pure Mathematics and Mathematical Statistics University

### Cycle transversals in bounded degree graphs

Electronic Notes in Discrete Mathematics 35 (2009) 189 195 www.elsevier.com/locate/endm Cycle transversals in bounded degree graphs M. Groshaus a,2,3 P. Hell b,3 S. Klein c,1,3 L. T. Nogueira d,1,3 F.

### CMSC 451: Graph Properties, DFS, BFS, etc.

CMSC 451: Graph Properties, DFS, BFS, etc. Slides By: Carl Kingsford Department of Computer Science University of Maryland, College Park Based on Chapter 3 of Algorithm Design by Kleinberg & Tardos. Graphs

### M-Degrees of Quadrangle-Free Planar Graphs

M-Degrees of Quadrangle-Free Planar Graphs Oleg V. Borodin, 1 Alexandr V. Kostochka, 1,2 Naeem N. Sheikh, 2 and Gexin Yu 3 1 SOBOLEV INSTITUTE OF MATHEMATICS NOVOSIBIRSK 630090, RUSSIA E-mail: brdnoleg@math.nsc.ru

### COLORED GRAPHS AND THEIR PROPERTIES

COLORED GRAPHS AND THEIR PROPERTIES BEN STEVENS 1. Introduction This paper is concerned with the upper bound on the chromatic number for graphs of maximum vertex degree under three different sets of coloring

### CS268: Geometric Algorithms Handout #5 Design and Analysis Original Handout #15 Stanford University Tuesday, 25 February 1992

CS268: Geometric Algorithms Handout #5 Design and Analysis Original Handout #15 Stanford University Tuesday, 25 February 1992 Original Lecture #6: 28 January 1991 Topics: Triangulating Simple Polygons

### Planarity Planarity

Planarity 8.1 71 Planarity Up until now, graphs have been completely abstract. In Topological Graph Theory, it matters how the graphs are drawn. Do the edges cross? Are there knots in the graph structure?

### Graph. Consider a graph, G in Fig Then the vertex V and edge E can be represented as:

Graph A graph G consist of 1. Set of vertices V (called nodes), (V = {v1, v2, v3, v4...}) and 2. Set of edges E (i.e., E {e1, e2, e3...cm} A graph can be represents as G = (V, E), where V is a finite and

### 2.3 Convex Constrained Optimization Problems

42 CHAPTER 2. FUNDAMENTAL CONCEPTS IN CONVEX OPTIMIZATION Theorem 15 Let f : R n R and h : R R. Consider g(x) = h(f(x)) for all x R n. The function g is convex if either of the following two conditions

### Testing Hereditary Properties of Non-Expanding Bounded-Degree Graphs

Testing Hereditary Properties of Non-Expanding Bounded-Degree Graphs Artur Czumaj Asaf Shapira Christian Sohler Abstract We study graph properties which are testable for bounded degree graphs in time independent

### Intersection Dimension and Maximum Degree

Intersection Dimension and Maximum Degree N.R. Aravind and C.R. Subramanian The Institute of Mathematical Sciences, Taramani, Chennai - 600 113, India. email: {nraravind,crs}@imsc.res.in Abstract We show

### A Note on Maximum Independent Sets in Rectangle Intersection Graphs

A Note on Maximum Independent Sets in Rectangle Intersection Graphs Timothy M. Chan School of Computer Science University of Waterloo Waterloo, Ontario N2L 3G1, Canada tmchan@uwaterloo.ca September 12,

### High degree graphs contain large-star factors

High degree graphs contain large-star factors Dedicated to László Lovász, for his 60th birthday Noga Alon Nicholas Wormald Abstract We show that any finite simple graph with minimum degree d contains a

### Shortest Inspection-Path. Queries in Simple Polygons

Shortest Inspection-Path Queries in Simple Polygons Christian Knauer, Günter Rote B 05-05 April 2005 Shortest Inspection-Path Queries in Simple Polygons Christian Knauer, Günter Rote Institut für Informatik,

### A tree can be defined in a variety of ways as is shown in the following theorem: 2. There exists a unique path between every two vertices of G.

7 Basic Properties 24 TREES 7 Basic Properties Definition 7.1: A connected graph G is called a tree if the removal of any of its edges makes G disconnected. A tree can be defined in a variety of ways as

### ON FIBER DIAMETERS OF CONTINUOUS MAPS

ON FIBER DIAMETERS OF CONTINUOUS MAPS PETER S. LANDWEBER, EMANUEL A. LAZAR, AND NEEL PATEL Abstract. We present a surprisingly short proof that for any continuous map f : R n R m, if n > m, then there

### All trees contain a large induced subgraph having all degrees 1 (mod k)

All trees contain a large induced subgraph having all degrees 1 (mod k) David M. Berman, A.J. Radcliffe, A.D. Scott, Hong Wang, and Larry Wargo *Department of Mathematics University of New Orleans New

### arxiv:1203.1525v1 [math.co] 7 Mar 2012

Constructing subset partition graphs with strong adjacency and end-point count properties Nicolai Hähnle haehnle@math.tu-berlin.de arxiv:1203.1525v1 [math.co] 7 Mar 2012 March 8, 2012 Abstract Kim defined

### Math 443/543 Graph Theory Notes 4: Connector Problems

Math 443/543 Graph Theory Notes 4: Connector Problems David Glickenstein September 19, 2012 1 Trees and the Minimal Connector Problem Here is the problem: Suppose we have a collection of cities which we

### GRAPH THEORY and APPLICATIONS. Trees

GRAPH THEORY and APPLICATIONS Trees Properties Tree: a connected graph with no cycle (acyclic) Forest: a graph with no cycle Paths are trees. Star: A tree consisting of one vertex adjacent to all the others.

### Solving Geometric Problems with the Rotating Calipers *

Solving Geometric Problems with the Rotating Calipers * Godfried Toussaint School of Computer Science McGill University Montreal, Quebec, Canada ABSTRACT Shamos [1] recently showed that the diameter of

### Clique coloring B 1 -EPG graphs

Clique coloring B 1 -EPG graphs Flavia Bonomo a,c, María Pía Mazzoleni b,c, and Maya Stein d a Departamento de Computación, FCEN-UBA, Buenos Aires, Argentina. b Departamento de Matemática, FCE-UNLP, La

### Determination of the normalization level of database schemas through equivalence classes of attributes

Computer Science Journal of Moldova, vol.17, no.2(50), 2009 Determination of the normalization level of database schemas through equivalence classes of attributes Cotelea Vitalie Abstract In this paper,

### Network (Tree) Topology Inference Based on Prüfer Sequence

Network (Tree) Topology Inference Based on Prüfer Sequence C. Vanniarajan and Kamala Krithivasan Department of Computer Science and Engineering Indian Institute of Technology Madras Chennai 600036 vanniarajanc@hcl.in,

### Well-Separated Pair Decomposition for the Unit-disk Graph Metric and its Applications

Well-Separated Pair Decomposition for the Unit-disk Graph Metric and its Applications Jie Gao Department of Computer Science Stanford University Joint work with Li Zhang Systems Research Center Hewlett-Packard

### About the inverse football pool problem for 9 games 1

Seventh International Workshop on Optimal Codes and Related Topics September 6-1, 013, Albena, Bulgaria pp. 15-133 About the inverse football pool problem for 9 games 1 Emil Kolev Tsonka Baicheva Institute

### 4 Basics of Trees. Petr Hliněný, FI MU Brno 1 FI: MA010: Trees and Forests

4 Basics of Trees Trees, actually acyclic connected simple graphs, are among the simplest graph classes. Despite their simplicity, they still have rich structure and many useful application, such as in

### Author(s)Kiyomi, Masashi; Saitoh, Toshiki; Ue.

JAIST Reposi https://dspace.j Title Voronoi Game on a Path Author(s)Kiyomi, Masashi; Saitoh, Toshiki; Ue Citation IEICE TRANSACTIONS on Information an E94-D(6): 1185-1189 Issue Date 2011-06-01 Type Journal

### Cacti with minimum, second-minimum, and third-minimum Kirchhoff indices

MATHEMATICAL COMMUNICATIONS 47 Math. Commun., Vol. 15, No. 2, pp. 47-58 (2010) Cacti with minimum, second-minimum, and third-minimum Kirchhoff indices Hongzhuan Wang 1, Hongbo Hua 1, and Dongdong Wang

### (a) (b) (c) Figure 1 : Graphs, multigraphs and digraphs. If the vertices of the leftmost figure are labelled {1, 2, 3, 4} in clockwise order from

4 Graph Theory Throughout these notes, a graph G is a pair (V, E) where V is a set and E is a set of unordered pairs of elements of V. The elements of V are called vertices and the elements of E are called

### The Goldberg Rao Algorithm for the Maximum Flow Problem

The Goldberg Rao Algorithm for the Maximum Flow Problem COS 528 class notes October 18, 2006 Scribe: Dávid Papp Main idea: use of the blocking flow paradigm to achieve essentially O(min{m 2/3, n 1/2 }

### Generalizing the Ramsey Problem through Diameter

Generalizing the Ramsey Problem through Diameter Dhruv Mubayi Submitted: January 8, 001; Accepted: November 13, 001. MR Subject Classifications: 05C1, 05C15, 05C35, 05C55 Abstract Given a graph G and positive

### The positive minimum degree game on sparse graphs

The positive minimum degree game on sparse graphs József Balogh Department of Mathematical Sciences University of Illinois, USA jobal@math.uiuc.edu András Pluhár Department of Computer Science University

### 1 if 1 x 0 1 if 0 x 1

Chapter 3 Continuity In this chapter we begin by defining the fundamental notion of continuity for real valued functions of a single real variable. When trying to decide whether a given function is or

### Homework Exam 1, Geometric Algorithms, 2016

Homework Exam 1, Geometric Algorithms, 2016 1. (3 points) Let P be a convex polyhedron in 3-dimensional space. The boundary of P is represented as a DCEL, storing the incidence relationships between the

### 1 Basic Definitions and Concepts in Graph Theory

CME 305: Discrete Mathematics and Algorithms 1 Basic Definitions and Concepts in Graph Theory A graph G(V, E) is a set V of vertices and a set E of edges. In an undirected graph, an edge is an unordered

### The degree, size and chromatic index of a uniform hypergraph

The degree, size and chromatic index of a uniform hypergraph Noga Alon Jeong Han Kim Abstract Let H be a k-uniform hypergraph in which no two edges share more than t common vertices, and let D denote the

### Strictly Localized Construction of Planar Bounded-Degree Spanners of Unit Disk Graphs

Strictly Localized Construction of Planar Bounded-Degree Spanners of Unit Disk Graphs Iyad A. Kanj Ljubomir Perković Ge Xia Abstract We describe a new distributed and strictly-localized approach for constructing

### SOLUTIONS TO ASSIGNMENT 1 MATH 576

SOLUTIONS TO ASSIGNMENT 1 MATH 576 SOLUTIONS BY OLIVIER MARTIN 13 #5. Let T be the topology generated by A on X. We want to show T = J B J where B is the set of all topologies J on X with A J. This amounts

### Bicolored Shortest Paths in Graphs with Applications to Network Overlay Design

Bicolored Shortest Paths in Graphs with Applications to Network Overlay Design Hongsik Choi and Hyeong-Ah Choi Department of Electrical Engineering and Computer Science George Washington University Washington,

### A 2-factor in which each cycle has long length in claw-free graphs

A -factor in which each cycle has long length in claw-free graphs Roman Čada Shuya Chiba Kiyoshi Yoshimoto 3 Department of Mathematics University of West Bohemia and Institute of Theoretical Computer Science

### Generalized Induced Factor Problems

Egerváry Research Group on Combinatorial Optimization Technical reports TR-2002-07. Published by the Egrerváry Research Group, Pázmány P. sétány 1/C, H 1117, Budapest, Hungary. Web site: www.cs.elte.hu/egres.

### Solutions to Exercises 8

Discrete Mathematics Lent 2009 MA210 Solutions to Exercises 8 (1) Suppose that G is a graph in which every vertex has degree at least k, where k 1, and in which every cycle contains at least 4 vertices.

### Tufts University, Spring 2005 Michael Horn, Julie Weber (2004) Voronoi Diagrams

Comp 163: Computational Geometry Professor Diane Souvaine Tufts University, Spring 2005 Michael Horn, Julie Weber (2004) Voronoi Diagrams 1 Voronoi Diagrams 1 Consider the following problem. To determine

### Ramsey numbers for bipartite graphs with small bandwidth

Ramsey numbers for bipartite graphs with small bandwidth Guilherme O. Mota 1,, Gábor N. Sárközy 2,, Mathias Schacht 3,, and Anusch Taraz 4, 1 Instituto de Matemática e Estatística, Universidade de São

### On the independence number of graphs with maximum degree 3

On the independence number of graphs with maximum degree 3 Iyad A. Kanj Fenghui Zhang Abstract Let G be an undirected graph with maximum degree at most 3 such that G does not contain any of the three graphs

### Lattice Point Geometry: Pick s Theorem and Minkowski s Theorem. Senior Exercise in Mathematics. Jennifer Garbett Kenyon College

Lattice Point Geometry: Pick s Theorem and Minkowski s Theorem Senior Exercise in Mathematics Jennifer Garbett Kenyon College November 18, 010 Contents 1 Introduction 1 Primitive Lattice Triangles 5.1

### Diversity Coloring for Distributed Data Storage in Networks 1

Diversity Coloring for Distributed Data Storage in Networks 1 Anxiao (Andrew) Jiang and Jehoshua Bruck California Institute of Technology Pasadena, CA 9115, U.S.A. {jax, bruck}@paradise.caltech.edu Abstract

### Graph Theory. Introduction. Distance in Graphs. Trees. Isabela Drămnesc UVT. Computer Science Department, West University of Timişoara, Romania

Graph Theory Introduction. Distance in Graphs. Trees Isabela Drămnesc UVT Computer Science Department, West University of Timişoara, Romania November 2016 Isabela Drămnesc UVT Graph Theory and Combinatorics

### Course 221: Analysis Academic year , First Semester

Course 221: Analysis Academic year 2007-08, First Semester David R. Wilkins Copyright c David R. Wilkins 1989 2007 Contents 1 Basic Theorems of Real Analysis 1 1.1 The Least Upper Bound Principle................

### INDISTINGUISHABILITY OF ABSOLUTELY CONTINUOUS AND SINGULAR DISTRIBUTIONS

INDISTINGUISHABILITY OF ABSOLUTELY CONTINUOUS AND SINGULAR DISTRIBUTIONS STEVEN P. LALLEY AND ANDREW NOBEL Abstract. It is shown that there are no consistent decision rules for the hypothesis testing problem

### Product irregularity strength of certain graphs

Also available at http://amc.imfm.si ISSN 1855-3966 (printed edn.), ISSN 1855-3974 (electronic edn.) ARS MATHEMATICA CONTEMPORANEA 7 (014) 3 9 Product irregularity strength of certain graphs Marcin Anholcer

### Degrees that are not degrees of categoricity

Degrees that are not degrees of categoricity Bernard A. Anderson Department of Mathematics and Physical Sciences Gordon State College banderson@gordonstate.edu www.gordonstate.edu/faculty/banderson Barbara

### Existence of Simple Tours of Imprecise Points

Existence of Simple Tours of Imprecise Points Maarten Löffler Department of Information and Computing Sciences, Utrecht University Technical Report UU-CS-007-00 www.cs.uu.nl ISSN: 09-7 Existence of Simple

### Stationary random graphs on Z with prescribed iid degrees and finite mean connections

Stationary random graphs on Z with prescribed iid degrees and finite mean connections Maria Deijfen Johan Jonasson February 2006 Abstract Let F be a probability distribution with support on the non-negative

### ! Solve problem to optimality. ! Solve problem in poly-time. ! Solve arbitrary instances of the problem. #-approximation algorithm.

Approximation Algorithms 11 Approximation Algorithms Q Suppose I need to solve an NP-hard problem What should I do? A Theory says you're unlikely to find a poly-time algorithm Must sacrifice one of three

### On Graph Powers for Leaf-Labeled Trees

Journal of Algorithms 42, 69 108 (2002) doi:10.1006/jagm.2001.1195, available online at http://www.idealibrary.com on On Graph Powers for Leaf-Labeled Trees Naomi Nishimura 1 and Prabhakar Ragde 2 Department

### Week 5 Integral Polyhedra

Week 5 Integral Polyhedra We have seen some examples 1 of linear programming formulation that are integral, meaning that every basic feasible solution is an integral vector. This week we develop a theory

### Planar Graph and Trees

Dr. Nahid Sultana December 16, 2012 Tree Spanning Trees Minimum Spanning Trees Maps and Regions Eulers Formula Nonplanar graph Dual Maps and the Four Color Theorem Tree Spanning Trees Minimum Spanning

### Tree-representation of set families and applications to combinatorial decompositions

Tree-representation of set families and applications to combinatorial decompositions Binh-Minh Bui-Xuan a, Michel Habib b Michaël Rao c a Department of Informatics, University of Bergen, Norway. buixuan@ii.uib.no

### Types of Degrees in Bipolar Fuzzy Graphs

pplied Mathematical Sciences, Vol. 7, 2013, no. 98, 4857-4866 HIKRI Ltd, www.m-hikari.com http://dx.doi.org/10.12988/ams.2013.37389 Types of Degrees in Bipolar Fuzzy Graphs Basheer hamed Mohideen Department

### Math 421, Homework #5 Solutions

Math 421, Homework #5 Solutions (1) (8.3.6) Suppose that E R n and C is a subset of E. (a) Prove that if E is closed, then C is relatively closed in E if and only if C is a closed set (as defined in Definition