Tree Spanners for Bipartite Graphs and Probe Interval Graphs 1

Size: px
Start display at page:

Download "Tree Spanners for Bipartite Graphs and Probe Interval Graphs 1"

Transcription

1 Algorthmca (2007) 47: DOI: /s y Algorthmca 2006 Sprnger Scence+Busness Meda, Inc. Tree Spanners for Bpartte Graphs and Probe Interval Graphs 1 Andreas Brandstädt, 2 Feodor F. Dragan, 3 Hoang-Oanh Le, 2 Van Bang Le, 2 and Ryuhe Uehara 4 Abstract. A tree t-spanner T n a graph G s a spannng tree of G such that the dstance between every par of vertces n T s at most t tmes ther dstance n G. The tree t-spanner problem asks whether a graph admts a tree t-spanner, gven t. We frst substantally strengthen the known results for bpartte graphs. We prove that the tree t-spanner problem s NP-complete even for chordal bpartte graphs for t 5, and every bpartte ATE-free graph has a tree 3-spanner, whch can be found n lnear tme. The prevous best known results were NP-completeness for general bpartte graphs, and that every convex graph has a tree 3-spanner. We next focus on the tree t-spanner problem for probe nterval graphs and related graph classes. The graph classes were ntroduced to deal wth the physcal mappng of DNA. From a graph theoretcal pont of vew, the classes are natural generalzatons of nterval graphs. We show that these classes are tree 7-spanner admssble, and a tree 7-spanner can be constructed n O(m log n) tme. Key Words. Chordal bpartte graph, Interval bgraph, NP-completeness, Probe nterval graph, Tree spanner. 1. Introducton. A tree t-spanner T n a graph G s a spannng tree of G such that the dstance between every par of vertces n T s at most t tmes ther dstance n G. The tree t-spanner problem asks whether a graph admts a tree t-spanner, gven t. The noton s ntroduced by Ca and Cornel [1], [2], who found numerous applcatons n dstrbuted systems and communcaton networks; for example, t was shown that tree spanners can be used as models for broadcast operatons [3] (see also [4]). Moreover, tree spanners were used n the area of bology [5], and approxmatng the bandwdth of graphs [6]. We refer to [7] [9] for more background nformaton on tree spanners. The tree t-spanner problem s NP-complete n general [2] for any t 4. However, t can be solved effcently for some partcular graph classes. Especally, the complexty of the tree t-spanner problem s well nvestgated for the class of chordal graphs and ts subclasses. For t 4, the problem s NP-complete for chordal graphs [9], strongly chordal graphs are tree 4-spanner admssble [10] (.e., every strongly chordal graph has 1 An extended abstract of ths paper appeared n the Proceedngs of the 29th Workshop on Graph Theoretc Concepts n Computer Scence (WG 2003), June 19 21, 2003, Elspeet, The Netherlands, pp Lecture Notes n Compter Scence 2880, Sprnger, Berln, The research of H.-O. Le was supported by DFG, Project No. Br1446-4/1. Ths work was done whle R. Uehara was vstng the Unversty of Waterloo. 2 Insttut für Theoretsche Informatk, Fachberech Informatk, Unverstät Rostock, Rostock, Germany. {ab,hoang-oanh.le,le}@nformatk.un-rostock.de. 3 Department of Computer Scence, Kent State Unversty, Kent, OH 44242, USA. dragan@cs.kent.edu. 4 School of Informaton Scence, Japan Advanced Insttute of Scence and Technology, Asahda 1-1, Nom, Ishkawa , Japan. Receved June 17, 2003; revsed August 22, Communcated by H. Gabow. Onlne publcaton July 25, 2006.

2 28 A. Brandstädt, F. F. Dragan, H.-O. Le, V. B. Le, and R. Uehara a tree 4-spanner), and the followng graph classes are tree 3-spanner admssble: nterval graphs [11], drected path graphs [12], splt graphs [6] (see also [9] for other known results). We frst focus on the tree t-spanner problem for bpartte graphs and ts subclasses. The class of bpartte graphs s a wde and mportant class from both practcal and theoretcal ponts of vew. However, the known results for the complexty of the tree t-spanner problem for bpartte graphs and ther subclasses are few compared wth the chordal graphs and ther subclasses. NP-completeness s only known for general bpartte graphs (ths result can be deduced from the constructon n [2]), and the problem can be solved for regular bpartte graphs and convex graphs as follows: a regular bpartte graph s tree 3-spanner admssble f and only f t s complete [11]; and any convex graph s tree 3-spanner admssble [6]. (Convex graphs were ntroduced by Brandstädt et al. [13]; refer to Secton 2 for a defnton, and see the Appendx for further detals.) We substantally strengthen the known results for bpartte graph classes, and reduce the gap. We show that the tree t-spanner problem s NP-complete even for chordal bpartte graphs for t 5. The class of chordal bpartte graphs s a bpartte analog of chordal graphs, ntroduced by Golumbc and Goss [14], and has applcatons to nonsymmetrc matrces (see [15]). We also show that every bpartte asterodal-trple-edge-free (ATEfree) graph has a tree 3-spanner, and such a tree spanner can be found n lnear tme. The class of ATE-free graphs was ntroduced by Müller [16] to characterze nterval bgraphs. The class of nterval bgraphs s a bpartte analog of nterval graphs and was ntroduced by Harary et al. [17]. Our results reduce the gap between the upper and lower bounds of the complexty of the tree t-spanner problem for bpartte graph classes snce the followng proper nclusons are known [16], [18]: convex graphs nterval bgraphs bpartte ATE-free graphs chordal bpartte graphs bpartte graphs. We next focus on the tree t-spanner problem on probe nterval graphs and related graph classes. The class of probe nterval graphs was ntroduced by Zhang to deal wth the physcal mappng of DNA, whch s a problem arsng n the sequencng of DNA (see [19] [22] for the background). A probe nterval graph s obtaned from an nterval graph by desgnatng a subset P of vertces as probes, and removng the edges between pars of vertces n the remanng set N of nonprobes. In the orgnal papers [19], [22], Zhang ntroduced two varatons of probe nterval graphs. An enhanced probe nterval graph s the graph obtaned from a probe nterval graph by addng the edges jonng two nonprobes f they are adjacent to two ndependent probes. The class of STS-probe nterval graphs s a subset of the probe nterval graphs; n those graphs all probes are ndependent. From the graph theoretcal pont of vew, t has been shown that all probe nterval graphs are weakly chordal [20], and enhanced probe nterval graphs are chordal [19], [22]. In the Appendx we show that (1) the class of STS-probe nterval graphs s equvalent to the class of convex graphs (hence the class s tree 3-spanner admssble), and (2) the class of the (enhanced) probe nterval graphs s ncomparable wth the classes of strongly chordal graphs and rooted drected path graphs. We also menton that, for any gven

3 Tree Spanners for Bpartte Graphs and Probe Interval Graphs 29 probe nterval graph, the graph obtaned by removng all edges jonng probe vertces s an nterval bgraph. Hence, from both vewponts of graph theory and bology, the tree t-spanner problem for (enhanced) probe nterval graphs s worth nvestgatng. Especally, t s natural to ask f those graph classes are tree t-spanner admssble for fxed nteger t. We gve the postve answer to that queston: The classes of probe nterval graphs and enhanced probe nterval graphs are tree 7-spanner admssble. A tree 7-spanner of a (enhanced) probe nterval graph can be constructed n O(m + n log n) tme f t s gven wth an nterval model. Recently, Johnson and Spnrad showed that the recognton problem for the class of probe nterval graphs can be solved n O(n 2 ) tme f each vertex s gven wth nformaton whether t s probe or nonprobe [23], and the tme complexty was mproved to O(m log n) tme by McConnell and Spnrad [24]. Those recognton algorthms also construct wthn the same tme bounds an ntersecton model of a probe nterval graph. Therefore, usng ther algorthms, we can construct a tree 7-spanner for a gven (enhanced) probe nterval graph G = ( P, N, E) n O(m log n) tme. 2. Prelmnares. Gven a graph G = (V, E) and a subset U V, the subgraph of G nduced by U s the graph (U, F), where F ={{u,v} {u,v} E for u,v U}, and s denoted by G[U]. For a subset F of E, we sometmes unfy the edge set F and ts edge nduced subgraph (U, F) wth U ={v {u,v} F for some u V }. A sequence of the vertces v 0,v 1,...,v l s a path, denoted by (v 0,v 1,...,v l ),f{v j,v j+1 } E for each 0 j l 1. The length of a path s the number of edges on the path. For two vertces u and v on G, the dstance of the vertces s the mnmum length of the paths jonng u and v, and s denoted by d G (u,v).acycle s a path begnnng and endng wth the same vertex. The dsk of radus k centered at v s the set of all vertces wth dstance at most k to v, D k (v) ={w V : d G (v, w) k}, and the kth neghborhood N k (v) of v s defned as the set of all vertces at dstance k to v, that s N k (v) ={w V : d G (v, w) = k}. By N(v) we denote the neghborhood of v,.e., N(v) := N 1 (v). More generally, for a subset S V let N(S) = v S N(v) denote the neghborhood of S. (We note that S N(S) may be nonempty.) A connected acyclc edge set s called a tree. A tree jonng all vertces s called a spannng tree.atree t-spanner T n a graph G s a spannng tree of G such that for each par u and v n G, d T (u,v) t d G (u,v). We say that G s tree t-spanner admssble f t contans a tree t-spanner. The tree t-spanner problem s to determne, for gven graph and postve nteger t, f the graph admts a tree t-spanner. A class C of graphs s sad to be tree t-spanner admssble f every graph n C s tree t-spanner admssble. On the tree t-spanner problem, the followng result plays an mportant role: LEMMA 1 [2]. A spannng tree T of G s a tree t-spanner f and only f for every edge {u,v} of G, d T (u,v) t.

4 30 A. Brandstädt, F. F. Dragan, H.-O. Le, V. B. Le, and R. Uehara A graph G = (V, E) s bpartte f V can be dvded nto two sets V 1 and V 2 wth V 1 V 2 = V and V 1 V 2 = such that every edge jons a vertex n V 1 and another one n V 2. It s well known that a graph G s bpartte f and only f G contans no cycle of odd length [25]. Thus, for each postve nteger k, a tree 2k-spanner of a bpartte graph G s also a tree (2k 1)-spanner. Hence we consder a tree t-spanner for each odd number t for bpartte graphs n ths paper. Here we defne the graph classes dealt wth n ths paper. See the Appendx and [18] and [21] for further detals and references. Interval graphs and related classes. A graph (V, E) wth V ={v 1,v 2,...,v n } s an nterval graph f there s a set of ntervals I ={I 1, I 2,...,I n } such that {v,v j } E f and only f I I j for each and j wth 1, j n. We call the set I the nterval representaton of the graph. For each nterval I, we denote by R(I ) and L(I ) the rght and left endponts of the nterval, respectvely (hence we have L(I ) R(I )). A bpartte graph (X, Y, E) wth X ={x 1, x 2,...,x n1 } and Y ={y 1, y 2,...,y n2 } s an nterval bgraph f there are famles of ntervals I X ={I 1, I 2,...,I n1 } and I Y = {J 1, J 2,...,J n2 } such that {x, y j } E f and only f I J j for each and j wth 1 n 1 and 1 j n 2. We also call the famles of ntervals (I X, I Y ) nterval representaton of the graph. We sometmes unfy a vertex v and ts correspondng nterval I ; I v denotes the nterval correspondng to the vertex v, and R(v) and L(v) denote R(I v ) and L(I v ), respectvely. Chordal graphs and related classes. An edge whch jons two vertces of a cycle but s not tself an edge of the cycle s a chord of that cycle. A graph s chordal f each cycle of length at least 4 has a chord. A graph G s weakly chordal f G and Ḡ contan no nduced cycle C k wth k 5. A bpartte graph G s chordal bpartte f each cycle of length at least 6 has a chord. Let the neghborhood N(e) of an edge e ={v, w} be the unon N(v) N(w) of the neghborhoods of the end-vertces of e. Three edges of a graph G form an asterodal trple of edges (ATE) f for any two of them there s a path from the vertex set from one to the vertex set of the other that avods the neghborhood of the thrd edge. Asterodal-trple-edge-free (ATE-free) graphs are those graphs whch do not contan any ATE. Ths class of graphs was ntroduced n [16], where t was also shown that any nterval bgraph s an ATE-free graph, and any bpartte ATE-free graph s chordal bpartte. For a bpartte graph (X, Y, E), an orderng < of X has the adjacency property f for each vertex y Y, N(y) conssts of vertces that are consecutve (an nterval) n the orderng < of X. A bpartte graph s convex f there s an orderng of X or Y that fulflls the adjacency property [13]. Probe nterval graphs and related classes. A graph G = (V, E) s a probe nterval graph f V can be parttoned nto subsets P and N (correspondng to the probes and nonprobes) and each v V can be assgned to an nterval I v such that {u,v} E f and only f both I u I v and at least one of u and v s n P. In ths paper we assume that P and N are gven, and we denote the consdered probe nterval graph by G = (P, N, E). Note that N s an ndependent set, G[P] s an nterval graph, and G[P {v}] s also an nterval graph for any v N. Let G = (P, N, E) be a probe nterval graph. Let E + be a set of edges {u 1, u 2 } wth u 1, u 2 N such that there are two probes v 1 and v 2 n P such that {v 1, u 1 } E,{v 1, u 2 } E,{v 2, u 1 } E,{v 2, u 2 } E, and {v 1,v 2 } E. Intutvely,

5 Tree Spanners for Bpartte Graphs and Probe Interval Graphs 31 nonprobes u 1 and u 2 are joned by the edge n E + f (1) there are two ndependent probes v 1 and v 2, and (2) both v 1 and v 2 overlap u 1 and u 2. In the case we know that ntervals I u1 and I u2 have to overlap n any affrmatve nterval representatons. Each edge n E + s called an enhanced edge, and the resultng graph G + = (P, N, E E + ) s sad to be an enhanced probe nterval graph. See [19] [22] for further detals. 3. NP-Completeness for Chordal Bpartte Graphs. In ths secton we show that, for any t 5, the tree t-spanner problem s NP-complete for chordal bpartte graphs. The proof s a reducton from Monotone 3SAT whch conssts of nstances of 3SAT such that each clause contans ether only negated varables or only non-negated varables (see [LO2] of [26]), for whch the followng famly of chordal bpartte graphs wll play an mportant role. Frst, S 0 [a, b] s an edge {a, b}, and S 1 [a, b] s the 4-cycle (a, b, b, a, a). Next, for a fxed nteger l>1, S l+1 [a, b] s obtaned from one cycle (a, b, b, a, a), S l [a, a ], S l [b, b ], and S l [a, b ] by dentfyng the correspondng vertces (see Fgure 1). We connect the vertces a and b to other graphs, and use S l [a, b] as a subgraph of bgger graphs. Sometmes, when the context s clear, we smply wrte S l for S l [a, b]. In case l>0 we wrte (a, a, b, b, a) for the 4-cycle n S l [a, b] contanng the edge {a, b}. Each of the edges {a, a }, {a, b }, {b, b } belongs to a unque S l 1, the correspondng S l 1 n S l [a, b]to{a, a }, {a, b }, {b, b }, respectvely. The followng observatons collect basc facts on S l used n the reducton later. OBSERVATION 2. For every nteger l 0, S l [a, b] has a tree (2l + 1)-spanner contanng the edge {a, b}. PROOF. By nducton on l. The case l = 0 s clear. Let l>0, and let (a, a, b, b, a) be the 4-cycle n S l [a, b] contanng the edge {a, b}. Let L, M, R be the correspondng S l 1 contanng the edge {a, a }, {a, b }, {b, b }, respectvely. By the nducton hypothess, each of L, M, R has a tree (2l 1)-spanner T L, T M, T R contanng the edge {a, a }, {a, b }, {b, b }, respectvely. Let TM a, T M b be the connected components of T M {a, b } wth a TM a and b TM b. Then T L TM a and T R TM b are two dsjont trees and T := (T L TM a ) (T R TM b ) {a, b} s a spannng tree of S l [a, b]. Moreover, T s a tree (2l + 1)-spanner of S l [a, b]. To see ths we need only consder edges {x, y} M such that x TM a b and y TM. For such edges we have: The (x, y)-path n T conssts of the (x, a )-path n TM a, the (y, b )-path S1 [a; b] S 2 [a; b] S 3 [a; b] a b a b a b a 0 b 0 a 0 b 0 a 0 b 0 Fg. 1. The graph S l [a, b].

6 32 A. Brandstädt, F. F. Dragan, H.-O. Le, V. B. Le, and R. Uehara H a e b Fg. 2. The graph obtaned from H and S l [a, b] by dentfyng the edge e ={a, b}. n T b M, and the edges {a, a}, {a, b}, {b, b }. Therefore, d T (x, y) = d TM (x, y) 1 + 3, hence, as T M s a tree (2l 1)-spanner n M, d T (x, y) (2l 1) = 2l + 1. OBSERVATION 3. Let H be an arbtrary graph and let e be an arbtrary edge of H. Let K be an S l [a, b] dsjont from H. Let G be the graph obtaned from H and K by dentfyng the edges e and {a, b}; see Fgure 2. Suppose that T s a tree t-spanner n G, t > 2l, such that the (a, b)-path n T belongs to H. Then d T (a, b) t 2l. PROOF. By nducton on l.forl = 0, the statement follows drectly from the fact that T s a tree t-spanner of G. Let l>0, and suppose nductvely that the statement s true for arbtrary H and S l 1. Let (a, a, b, b, a) be the 4-cycle n K contanng the edge {a, b}, and let L, M, R be the correspondng S l 1 n K contanng the edge {a, a }, {a, b }, {b, b}, respectvely. Let P be the (a, b)-path n T. By assumpton, P H. Consder the (a, a )-path Q n T. We dstngush two cases. Case 1: Q L. In ths case, by defnton of G, Q belongs to H R M and P s a subpath of Q. The nducton hypothess appled to H := H R M and L yelds d T (a, a ) t 2(l 1), hence d T (a, b) = d T (a, a ) d T (b, a ) t 2(l 1) 2 = t 2l. Case 1 s settled. Case 2: Q L. Let P be the (a, b )-path n T.IfP M then P Q P s the (b, b )-path n T. The nducton hypothess appled to H := H M L and R yelds d T (b, b ) t 2(l 1), hence d T (a, b) = d T (a, a ) d T (b, a ) t 2(l 1) 2 = t 2l.

7 Tree Spanners for Bpartte Graphs and Probe Interval Graphs 33 If P M then P L H R and Q P s a subpath of P. The nducton hypothess appled to H := H L R and M yelds hence d T (a, b ) t 2(l 1), d T (a, b) = d T (a, b ) d T (a, a) d T (b, b) t 2(l 1) 1 1 = t 2l. In ether case we are done. Observaton 3 ndcates a way to force an edge {x, y} to be a tree edge for gven odd t: choosng l = (t 1)/2 shows that {a, b} must be an edge of any tree t-spanner T. We now descrbe the reducton. Let k 2 be an nteger, and let F be a 3SAT formula wth m clauses C j for 1 j m, over n varables x for 1 n. We construct a chordal bpartte graph G from F such that G has a tree (2k + 1)-spanner f and only f F s satsfable. DEFINITION 4. In a graph G, an edge {a, b} s sad to be forced by an S l f G s obtaned from two dstnct graphs S l [a, b] and the rest by dentfyng the edges {a, b} n S l [a, b] and an edge n the rest. We requre that each two S l [a, b] and S l [c, d] have at most two vertces n {a, b, c, d} n common. An edge {a, b} s sad to be strongly forced f t s forced by two S k [a, b]. Hereafter, we omt by two S k [a, b] for each strongly forced edge snce t s always forced by two S k [a, b] for the fxed k. By Observaton 3, f G has a tree (2k + 1)-spanner T every strongly forced edge must belong to T. For each varable x create the gadget G(x ) as follows: Take 2m + 4 vertces x 1,...,x m, x 1,...,x m, p, q, r, s, and add the edges {x j, x j } for 1 j, j m, {q, x j } for 1 j m, {r, x j } for 1 j m, {p, x j } for 1 j m, {s, x j } for 1 j m, and {p, r }, {r, s }, {s, q }. Furthermore, each of the edges {p, r }, {r, s }, {s, q }, and {x j, x j } wth 1 j m, s a strongly forced edge, force each edge {a, b} {{q, x j }: 1 j m} {{r, x j }: 1 j m} {{p, x j }:1 j m} {{s, x j }:1 j m} {{x j, x j }:1 j, j m, j j } by an S k 1 [a, b]. Thus, the subgraph n G(x ) nduced by the two ndependent sets {x 1,...,x m } {p, s } and {x 1,...,x m } {q, r } plus the edge {p, q } s a complete bpartte graph (see Fgure 3; n the fgure the S k and S k 1 are omtted, and thck edges are strongly forced). The vertex x j (x j, respectvely) wll be connected to the clause gadget of clause C j f x (x, respectvely) s a lteral n C j. All edges {r, x j } (1 j m) or else all edges {s, x j } (1 j m) wll belong to any tree (2k + 1)-spanner (f any) of the graph G whch we are gong to descrbe.

8 34 A. Brandstädt, F. F. Dragan, H.-O. Le, V. B. Le, and R. Uehara q r x 1 x1 2 x1 m p s x 1 x 2 1 x m 1 Fg. 3. The gadget G(x ). DEFINITION 5. A clause s postve (negatve, respectvely) f t contans only varables (negaton of varables). We note that each clause s ether postve or negatve snce the gven formula s an nstance of Monotone 3SAT. For each clause C j, G(C j ) s the 4-cycle (c + j, d+ j, d j, c j, c+ j ) where {c + j, d+ j }, {d + j, d j }, and {d j, c j } are strongly forced edges (see Fgure 4). Fnally, the graph G = G(F) s obtaned from all G(v ) and G(C j ) by dentfyng all vertces p, q, r, and s to a sngle vertex p, q, r, and s, respectvely (thus, {p, r}, {r, s} and {s, q} are edges n G), and addng the followng addtonal edges: Connect every x j wth every x j ( ). (Thus, the subgraph nduced by the two ndependent sets {x j :1 n, 1 j m} {p, s} and {x j :1 n, 1 j m} {q, r} plus the edge {p, q} s a complete bpartte graph.) For every postve clause C j :Ifx s n C j then connect x j wth c + j and force the edge {x j, c+ j } by an S k 2[x j, c+ j ]. Connect c j wth r and force the edge {c j, r} by an S k 2 [c j, r]. j For every negatve clause C j :Ifx s n C j then connect x wth c j and force the edge {x j, c j } by an S k 2[x j, c j ]. Connect c+ j wth s and force the edge {c + j, s} by an S k 2 [c + j, s]. The descrpton of the graph G = G(F) s complete. Clearly, G can be constructed n polynomal tme. See Fgure 5 for an example. LEMMA 6. G s chordal bpartte. PROOF. Frst note that each S l s a chordal bpartte graph. By constructon, {x j :1 n, 1 j m} {p, s} {c j :1 j m} {d+ j :1 j m} c + j c j d + j d j Sk Sk Fg. 4. The gadget G(C j ).

9 Tree Spanners for Bpartte Graphs and Probe Interval Graphs 35 q r x1 2 x2 2 x4 2 p s x 1 1 x 1 2 x 1 3 c + 1 c 1 c + 2 c 2 d + 1 d 1 d + 2 d 2 Fg. 5. The reducton gven C 1 = (x 1, x 2, x 3 ) and C 2 = (x 1, x 2, x 4 ). and {x j :1 n, 1 j m} {q, r} {c + j :1 j m} {d j :1 j m} are ndependent sets. Ths partton can be extended n a natural way to a bpartton of V (G) nto two ndependent sets. So, G s bpartte. Next, let G be the subgraph of G nduced by and A := {x j :1 n, 1 j m} {p, s} B := {x j :1 n, 1 j m} {q, r}. Snce G +{{p, q}} s a complete bpartte graph wth the bpartton (A, B), G s a chordal bpartte graph. On the other hand, snce t s the dsjont unon of the clause gadgets, G G s a chordal bpartte graph. We consder an nduced cycle Z n G contanng vertces from both G and G G. By constructon, Z (G G ) {c + j, c j :1 j m}. Let C j be a postve clause. If c j Z then (r, c j, c+ j ) must be a subpath of Z, therefore Z = (r, c j, c+ j, x j, r) for some. Ifc+ j Z (and c j Z) then, for some 1, 2, (x j 1, c + j, x j 2 ) s a subpath of Z. Snce c + j s the neghbor outsde G of x j 1 and of x j 2, Z = (v, x j 1, c + j, x j 2,v)for a vertex v {q, r} {x j :1 n}. Smlarly, Z s a 4-cycle f C j s a negatve clause. Thus, G s chordal bpartte as clamed.

10 36 A. Brandstädt, F. F. Dragan, H.-O. Le, V. B. Le, and R. Uehara LEMMA 7. Suppose G admts a tree (2k + 1)-spanner. Then F s satsfable. PROOF. Let T be a tree (2k +1)-spanner of G. By constructon of G and Observaton 3, the followng edges of G belong to T : {p, r}, {r, s}, {s, q}, and {x j, x j } for 1 n, 1 j m, {c + j, d+ j }, {d + j, d j }, and {d j, c j } for 1 j m. CLAIM 1. For every and j, {q, x j } E(T ) and {p, x j } E(T ). PROOF OF CLAIM 1. If, for some, j, {q, x j j } E(T) then (p, r, s, q, x, x j ) s the (p, x j )-path n T, hence d T (p, x j ) = 5. However, by Observaton 3, d T (p, x j ) (2k + 1) 2(k 1) = 3, a contradcton. By symmetry, we have {p, x j } E(T ). CLAIM 2. For every and j, exactly one of {r, x j } and {s, x j } belongs to T. PROOF OF CLAIM 2. Both edges {r, x j } and {s, x j } cannot belong to T, otherwse they would form, together wth {r, s} and {x j, x j }, a cycle n T. Now, assume to the contrary that, for some, j, nether {r, x j } nor {s, x j } belongs to T. Then by Observaton 3, d T (r, x j ) = 3 and d T (s, x j ) = 3. Note that by Clam 1, {q, x j } E(T ) and {p, x j } E(T ). Hence by Observaton 3, d T (q, x j ) = 3 and d T (p, x j ) = 3, too. Let P be the (r, x j )-path n T. If P contans {r, s} and {x j, x j } then clearly d T (r, x j ) 5, a contradcton. If P contans {r, s} but not {x j, x j } then wrte P = (r, s,v,x j ). By assumpton, v x j, and as s and p are nonadjacent, v p. Thus, (p, r, s,v,x j, x j ) s the (p, x j )- path n T, hence d T (p, x j ) = 5, a contradcton. If P contans {x j, x j } but not {r, s} then wrte P = (r,v,x j, x j ). By assumpton, v s, and as q and r are nonadjacent, v q. Thus (q, s, r,v,x j, x j j ) s the (q, x )-path n T, hence d T (q, x j ) = 5, a contradcton. If P does not contan {x j, x j } and {r, s} then wrte P = (r, u,v,x j ). In ths case, u,v {s, x j }. Thus (s, r, u,v,x j, x j ) s the (s, x j )-path n T, hence d T (s, x j ) = 5, a contradcton. CLAIM 3. For each, ether all edges {r, x j }, wth 1 j m, belong to T, or all edges {s, x j }, wth 1 j m, belong to T. PROOF OF CLAIM 3. Assume to the contrary that there exst j 1 j 2 such that {r, x j 1 } E(T ) but {r, x j 2 j } E(T ). By Clam 2, {s, x 2 } E(T). Thus, (x j 2 j, x 2, s, r, x j 1 j, x 1 ) s the (x j 2 j, x 1 )-path n T, hence d T (x j 2 j, x 1 )=5. However, by Observaton 3, d T (x j 2 j, x 1 ) (2k + 1) 2(k 1) = 3, a contradcton. Thus, all or none of the edges {r, x j }, wth 1 j m, belong to T. By symmetry, all or none of the edges {s, x j } wth 1 j m, belong to T. Clam 3 follows.

11 Tree Spanners for Bpartte Graphs and Probe Interval Graphs 37 Now, defne a truth assgnment f for varables x,1 n, as follows: { j true f, for some j, {r, x f (x ) = } E(T), false otherwse. By Clam 3, f s well-defned. We are gong to show that f (F) = true. Frst, consder a postve clause C j = (x 1, x 2, x 3 ) and assume to the contrary that f (x 1 ) = f (x 2 ) = f (x 3 ) = false. That s, {r, x j 1 }, {r, x j 2 }, and {r, x j 3 } do not belong to T. By Clam 2, {s, x j 1 }, {s, x j 2 }, and {s, x j 3 } are edges of T. Recall that the edges {c + j, d+ j }, {d + j, d j }, and {d j, c + j } are edges of T, too. Now, snce T s a tree, exactly one of the edges {c + j, x j 1 }, {c + j, x j 2 }, {c + j, x j 3 }, and {c j, r} belongs to T.If{c j, r} E(T ) then (c+ j, d+ j, d j, c j, r, s, x 1 j, x j 1 ) s the (c + j, x j 1 )-path n T, hence d T (c + j, x j 1 ) = 7. However, by Observaton 3, d T (c + j, x j 1 ) (2k + 1) 2(k 2) = 5, a contradcton. If {c + j, x j } E(T) for one { 1, 2, 3 } then (c j, d j, d + j, c + j, x j, x j, s, r) s the (c j, r)-path n T, hence d T (c j, r) = 7, contradctng Observaton 3 agan. Thus, all postve and, smlarly, all negatve clauses C j are satsfed by the assgnment f. Thus each clause C j of F s satsfed by the assgnment f, provng Lemma 7. DEFINITION 8. If x C j (x C j ) then we say, for convenence, that the vertex x j (x j, respectvely) s the correspondng vertex of the varable x (lteral x, respectvely). Note that the correspondng vertex s not shared by two clauses. LEMMA 9. Suppose F s satsfable. Then G admts a tree (2k + 1)-spanner. PROOF. Let f be a truth assgnment for varables x that satsfy F. We frst construct a spannng tree T of G, the subgraph of G nduced by p, q, r, s, x j, x j wth 1 n, 1 j m, c + j, c j, d+ j, d j wth 1 j m. Take {p, r}, {r, s}, {s, q}, {x j, x j } wth 1 n, 1 j m, {c + j, d+ j }, {d + j, d j }, {d j, c j } wth 1 j m, {r, x j } wth 1 n,1 j m, where f (x ) = true, {s, x j } wth 1 n,1 j m, where f (x ) = false nto T. Next, for each clause C j choose a true lteral l C j and let l j {x j : 1 n} {x j :1 n} be the correspondng vertex of l. Then take the edge connectng l j and ts neghbor n {c + j, c j } nto T. So far, T s a tree. Moreover, by case analyss, the followng holds: CLAIM 1. T s a tree 5-spanner of G such that f {a, b} s an edge forced (n G) by an S k 1 then d T (a, b) = 3.

12 38 A. Brandstädt, F. F. Dragan, H.-O. Le, V. B. Le, and R. Uehara Fnally, extend T at each forced edge usng Observaton 2 n an obvous way to obtan a spannng tree T of G. More precsely, f {a, b} T and s forced by an S l [a, b] (l {k 2, k 1, k}) then take a tree (2l + 1)-spanner T n that S l [a, b] contanng the edge {a, b} nto T ; such a tree spanner T exsts by Observaton 2. Clearly, after takng T nto T, T remans a tree. If {a, b} T and s forced by an S l [a, b] (l {k 2, k 1}) then let T be a tree (2l + 1)-spanner n that S l [a, b] contanng the edge {a, b}. Take the two connected components of T {a, b} nto T. Snce there s an (a, b)-path n T, T remans a tree after takng T {a, b} nto T. Now we show that T s a tree (2k + 1)-spanner of G.As2k and by Clam 1, we only have to check for edges {x, y} n an S l [a, b], l {k 2, k 1, k}. Let T be the tree (2l + 1)-spanner n that S l [a, b] whch has been chosen n extendng T to T. If {a, b} T, then by defnton of T, d T (x, y) = d T (x, y) 2l + 1 2k + 1. If {a, b} T, then by defnton of T, l k. Wrte T a, T b for the connected components of T {a, b} contanng a, respectvely, b. If{x, y} T a (or {x, y} T b ), we agan have d T (x, y) = d T (x, y) 2l + 1 < 2k + 1. a Thus, let x T a, y T b, say. Now, the (x, y)-path n T conssts of the (x, a)-path n T a, the (y, b)-path n T b, and the (a, b)-path n T. Hence d T (x, y) = d T (x, y) 1 + d T (a, b). As T s a (2l + 1)-spanner n S l [a, b] and by Clam 1, f l = k 1 then and f l = k 2 then d T (x, y) (2(k 1) + 1) = 2k + 1, d T (x, y) (2(k 2) + 1) = 2k + 1. Thus, T s a tree (2k + 1)-spanner of G as clamed. Lemmas 6, 7, and 9 mmedately mply the man theorem of ths secton: THEOREM 10. For every fxed k 2, the tree (2k +1)-spanner problem s NP-complete for chordal bpartte graphs. 4. Tree 3-Spanners for Bpartte ATE-Free Graphs. In ths secton we show that any bpartte ATE-free graph admts a tree 3-spanner. We say that a vertex u of a graph G has a maxmum neghbor f there s a vertex w n G such that N(N(u)) = N(w). We wll need the followng result from [27].

13 Tree Spanners for Bpartte Graphs and Probe Interval Graphs 39 LEMMA 11 [27]. Any chordal bpartte graph G has a vertex wth a maxmum neghbor. It s easy to deduce from results [28, Lemma 4.4], [27, Corollary 5], [29, Corollary 1] that a vertex wth a maxmum neghbor of a chordal bpartte graph can be found n lnear tme by the followng procedure: PROCEDURE NICE-VERTEX. Fnd a vertex wth a maxmum neghbor Input: A chordal bpartte graph G = (X Y, E). Output: A vertex wth a maxmum neghbor. Method: ntally all vertces v X Y are unmarked; repeat among unmarked vertces of X select a vertex x such that N(x) contans the maxmum number of marked vertces; mark x and all ts unmarked neghbors; untl all vertces n Y are marked; output the vertex of Y marked last. Now let G = (V, E) be a connected bpartte ATE-free graph and let u be a vertex of G whch has a maxmum neghbor (recall that G s chordal bpartte and therefore such a vertex u exsts). LEMMA 12. Let S be a connected component of a subgraph of G nduced by set V \D k 1 (u) (k 1). Then there s a vertex w N k 1 (u) such that N(w) S N k (u). PROOF. Snce u has a maxmum neghbor, we have N 2 (u) N(w) for some vertex w N(u). Consder now a connected component S of a subgraph of G nduced by set V \D k 1 (u) (k 3). Let w be a vertex of N k 1 (u) such that N(w) S N k (u) s maxmal. Assume that there s a vertex x n S N k (u) whch s not adjacent to w. Then, by maxmalty, for any neghbor z of x n N k 1 (u), there must exst a vertex y n S N k (u) such that {y,w} E and {y, z} / E. Snce vertces x and y both belong to S, they are connected by a path P of G consstng only of vertces from V \D k 1 (u). Let y, x be the neghbors on P of y and x, respectvely. Clearly, snce G s bpartte, x, y N k+1 (u) and {y, x} / E. Consder also shortest paths P(w, u) and P(z, u) of G connectng vertex u wth w and z, respectvely. Vertex x cannot be adjacent wth y snce otherwse a subgraph of G formed by edges {y, x }, {x, x}, {y,w}, {x, z} and paths P(w, u), P(z, u) wll contan an nduced cycle of length at least 6, whch s mpossble. Analogously, vertex y s not adjacent wth x. We clam now that edges a ={y, y }, c ={x, x }, and e ={u,v}, where v s a neghbor of u on P(w, u), form an ATE n G. Indeed, P avods the neghborhood of e snce P V \D k 1 and k > 2, path (y,w) P(w, u) avods the neghborhood of c and path (x, z) P(z, u) avods the neghborhood of a. A contradcton obtaned proves that N(w) S N k (u).

14 40 A. Brandstädt, F. F. Dragan, H.-O. Le, V. B. Le, and R. Uehara Ths lemma suggests the followng algorthm for constructng a spannng tree of G: PROCEDURE SPAN-ATEG. Tree 3-spanners for bpartte ATE-free graphs Input: A bpartte ATE-free graph G = (V, E) and a vertex u of G wth a maxmum neghbor. Output: A spannng tree T = (V, E ) of G (rooted at u). Method: set E := ; set q := max{d G (u,v): v V }; let s q, {1,...,p q}, be the vertces of N q (u); for every {1,...,p q } do pck a neghbor w of s q n N q 1 (u); add edge {s q,w} to E ; for k := q 1 downto 1 do compute the connected components S1 k,...,sk p k of G[N k (u) {s k+1, {1,...,p k+1 }}]; for every {1,...,p k } do set S := S k N k (u); pck a vertex w n N k 1 (u) such that N(w) S; for each v S add the edge {v, w} to E ; shrnk component S k to a vertex s k and make s k adjacent n G to all vertces from N(S k) N k 1(u). It s easy to see that the graph T = (V, E ) constructed by ths procedure s a spannng tree of G and ts constructon takes only lnear tme. Moreover, T s a shortest path tree of G rooted at u snce, for any vertex x V, d G (x, u) = d T (x, u) holds. THEOREM 13. Let T = (V, E ) be a spannng tree of a bpartte ATE-free graph G = (V, E) output by PROCEDURE SPAN-ATEG. Then, for any x, y V, we have d T (x, y) 3 d G (x, y) and d T (x, y) d G (x, y) + 2. PROOF. Frst we show that d T (x, y) 3 holds for any edge {x, y} of G. Snce G s bpartte, d G (x, u) d G (y, u) =1must hold. Wthout loss of generalty, assume that x N k (u) and y N k 1 (u). Let x be the father of x n T. If x = y we are done; d T (x, y) = 1. Otherwse, x and y are from N k 1 (u) and belong to a common connected component of the graph G[V \D k 2 (u)]. Accordng to the algorthm, x and y share a common father n T. Hence, d T (x, y) = d T (x, y) + 1 = 3. Now consder two arbtrary vertces v and w of G and a shortest (v, w)-path. Applyng the nequalty d T (x, y) 3 to every edge {x, y} of ths path, we wll get d T (v, w) 3 d G (v, w). That d T (x, y) d G (x, y) + 2 already follows from the prevous part of our proof and from Lemma 1 of [30]. For the sake of completeness, we present another proof here. Snce T s a shortest path tree of G rooted at u, the dstances n G and T between a vertex and any of ts ancestors are the same. We wll prove that d T (x, y) d G (x, y) + 2 by nducton on d G (v, w). If v and w are adjacent, then we

15 Tree Spanners for Bpartte Graphs and Probe Interval Graphs 41 are done, because then d T (v, w) 3. Now suppose that d G (v, w) = s 2 and let z be a neghbor of v on a shortest path between v and w. From the nducton assumpton we have d T (z,w) s = s + 1 and d T (v, z) 3. Let a = nca(v, z) be the nearest common ancestor of v and z n the tree T. Snce d T (a,v) = d G (a,v), d T (a, z) = d G (a, z), and {v, z} E we obtan that d T (v, a) d T (z, a) =1. We can addtonally assume that d T (z,w) < d T (v, w) 1, snce otherwse we mmedately conclude d T (v, w) d G (v, w) + 2. From ths and the prevous nequalty we deduce that the vertex nca(w, z) les on the path of T between the vertces a and z. Therefore, a s an ancestor of w, and thus d T (a,w) = d G (a,w). Notce that the dstance sums d T (v, w) + d T (a, z) and d T (v, z) + d T (a,w)are equal. Hence, d T (v, w) = d T (a,w) d T (a, z) + d T (v, z) = d G (a,w) d G (a, z) + d T (v, z) d G (w, z) + 3 = d G (v, w) + 2, concludng the proof. Any nterval bgraph s a bpartte ATE-free graph, and any convex graph s an nterval bgraph. Hence we have the followng corollares: COROLLARY 14. Any nterval bgraph G = (V, E) admts a spannng tree T such that d T (x, y) 3 d G (x, y) and d T (x, y) d G (x, y) + 2 hold for any x, y V. Moreover, such a tree T can be constructed n lnear tme. COROLLARY 15 [6]. Any convex graph G = (V, E) admts a spannng tree T such that d T (x, y) 3 d G (x, y) and d T (x, y) d G (x, y) + 2 hold for any x, y V. Moreover, such a tree T can be constructed n lnear tme. 5. Tree 7-Spanners for (Enhanced) Probe Interval Graphs. In ths secton we show that any (enhanced) probe nterval graph admts a tree 7-spanner. Let G = (P, N, E) be a connected probe nterval graph. We assume that an nterval representaton of G s gven (f not, an nterval model for G can be constructed by a method descrbed n [24] n O(m log n) tme, where n = P + N and m = E ). Let I ={I x : x P} be the ntervals n the nterval model representng the probes and let J ={J y : y N} be the ntervals representng the nonprobes. Frst we dscuss two smple specal cases. If N = then clearly G = (P, E) s an nterval graph. It s known (see [30]) that for any nterval graph G and any vertex u of G there s a shortest path spannng tree T of G rooted at u such that d T (x, y) d G (x, y)+2 holds for any x, y. In fact, a procedure smlar to PROCEDURE SPAN-ATEG produces such a spanner n lnear tme for any nterval graph G and any start vertex u. Evdently, T s a tree 3-spanner of G. To descrbe other specal cases, we need the followng noton. A connected probe nterval graph G = (P, N, E) s superconnected f for any two ntersectng ntervals I v, I w I there always s an nterval J y J such that I v I w J y. For a superconnected probe nterval graph G, a tree 4-spanner can be constructed easly. Frst we gnore all edges n G[P] to get an nterval bgraph G = (X = P, Y = N, E ) and then run PROCEDURE SPAN-ATEG on G. We clam that a spannng tree T of G, produced by that procedure, s a tree 4-spanner of G. Indeed, for any edge {x, y} of G such that x P and y N, d T (x, y) 3 holds by Corollary 14; t s an edge of G, too.

16 42 A. Brandstädt, F. F. Dragan, H.-O. Le, V. B. Le, and R. Uehara G 0 G G G G u 0 probes u 1 v u 2 u 3 u 4 w nonprobes S 0 L(S 0 ) R(S 0 ) S 1 Fg. 6. Segments and a decomposton of a probe nterval graph. Now consder an edge {v, w} of G wth v, w P. Snce G s superconnected, there s a vertex y N such that I v I w J y,.e., d G (v, w) = 2. Then, by Corollary 14, we have d T (v, w) d G (v, w) + 2 = = 4. Consequently, T s a tree 4-spanner of G. To get a tree 7-spanner for an arbtrary connected probe nterval graph G = (P, N, E), we use the followng strategy. Frst we decompose the graph G nto subgraphs G 0, G 1,...,G k such that G and G j ( j) share at most one common vertex and each G s ether an nterval graph or a superconnected probe nterval graph. Then teratvely, gven a tree 7-spanner T for G 0 G 1 G ( < k) and a tree t-spanner T +1 (t 4) of G +1, we wll extend T to a tree 7-spanner T +1 for G 0 G 1 G G +1 by ether makng all vertces of G +1 adjacent n T +1 to a common neghbor n G 0 G 1 G (f t exsts) or by glung trees T and T +1 at a common vertex. Now we gve a formal descrpton of the decomposton algorthm. Let S 0, S 1,...,S q be segments of the unon y N J y (see Fgure 6 for an llustraton). PROCEDURE DECOMP. A decomposton of a probe nterval graph Input: A probe nterval graph G and ts nterval representaton (I, J ). Output: Subgraphs G 0, G 1,...,G 2q+2 of G, where G 2 ( {0,...,q+1}) s an nterval graph and G 2+1 ( {0,...,q}) s a superconnected probe nterval graph, and specal vertces u j ( j = 1,...,2q + 2), where u j belongs to G j 1 and G j. Method: for = 0 to q do /* defne an nterval graph */ set X := {I x I: L(x) L(S )}; on ntervals X defne an nterval graph G 2 ; let I be an nterval from X wth maxmum R( ) value; set u 2+1 := a vertex of G correspondng to I ; set I := I\(X \{I }); /* defne a superconnected probe nterval graph */ set Y := {I y J : I y S }; set X := {I x I: L(x) R(S )}; defne a probe nterval graph G 2+1 wth probes X and nonprobes Y; let I be an nterval from X wth maxmum R( ) value; set u 2+2 := a vertex of G correspondng to I ; set I := I\(X \{I }); defne on I an nterval graph G 2q+2.

17 Tree Spanners for Bpartte Graphs and Probe Interval Graphs 43 Clearly, all probe nterval graphs G 2+1 ( = 1,...,q) are superconnected and a decomposton of G nto G 0, G 1,...,G 2q+2 can be done n lnear tme f endponts of the ntervals I J are sorted. LEMMA 16. For any = 2,...,2q + 2, R(u ) R(u 1 ) holds. PROOF. When we delete an nterval I v from I, we always leave n I an nterval I u such that R(v) R(u). Now, for an nterval graph G 0 (f t s not empty), we can construct a tree 3-spanner T 0 = T 0 (u 0 ) rooted at any vertex u 0 of G 0. For an nterval graph G 2 ( = 1,...,q + 1), we can construct a tree 3-spanner T 2 = T 2 (u 2 ) rooted at vertex u 2 (see PROCEDURE DECOMP). Snce all those trees are shortest path trees, the neghborhoods of vertex u 2 n G 2 and T 2 concde. Let G 2+1 be an nterval bgraph obtaned from a superconnected probe nterval graph G 2+1 by gnorng all edges between probes and deletng all probes I v such that I v I u2+1. LEMMA 17. For any = 0,...,q, vertex u 2+1 has a maxmum neghbor n G 2+1. PROOF. Accordng to PROCEDURE DECOMP, nterval I correspondng to u 2+1 belongs to I. Let J y be an nterval of J such that L(J y ) R(I ) and R(J y ) s maxmum. We show that vertex y of G 2+1 s a maxmum neghbor of u 2+1 n G 2+1. Consder a vertex w of G 2+1 whch s at dstance 2 from u 2+1 n G 2+1 and assume that ntervals J y, I w do not ntersect. If R(I w )<L(J y ), then necessarly I w s a subnterval of I and w s not a vertex of G 2+1. Hence, we may assume that R(J y)<l(i w ). However, then, by maxmalty of R(J y ), there cannot exst an nterval n J whch ntersects both I and I w. The latter contradcts our assumpton that the dstance n G 2+1 between u 2+1 and w s 2. Let T 2+1 = T 2+1 (u 2+1) be a tree 3-spanner of an nterval bgraph G 2+1 constructed startng at vertex u 2+1, {0,...,q} (see PROCEDURE SPAN-ATEG). Clearly, the neghborhoods of vertex u 2+1 n G 2+1 and T 2+1 concde. We can extend tree T2+1 to a spannng tree T 2+1 = T 2+1 (u 2+1 ) of G 2+1 by addng, for each probe I v of G 2+1 such that I v I u2+1, a pendant vertex v adjacent to u 2+1. LEMMA 18. T 2+1 (u 2+1 ) s a tree 4-spanner for G 2+1, {0,...,q}. Moreover, for any edge {w, u 2+1 } of G 2+1, d T2+1 (w, u 2+1 ) 2 holds. PROOF. Let A ={v: v s a vertex of G 2+1 such that I v I u2+1 } and let H be a superconnected probe nterval graph obtaned from G 2+1 by elmnatng vertces of A. Snce G 2+1 s the nterval bgraph counterpart of H, tree T2+1 s a tree 4-spanner for H. Consder now an edge {v, w} of G 2+1. We may assume that at least one of these vertces (say, v) s from A. If also w A then, by constructon, d T2+1 (v, w) = 2. If w/ A then, snce I v ntersects I w and I v I u2+1, I w must ntersect I u2+1 too. If w s a nonprobe, then

18 44 A. Brandstädt, F. F. Dragan, H.-O. Le, V. B. Le, and R. Uehara {w, u 2+1 } s an edge of G 2+1 and hence of T2+1.Ifws a probe, then d G (u 2+1,w)= = d T (u 2+1,w)snce T s a shortest path spannng tree (rooted at u 2+1)ofG 2+1. Consequently, n both cases we have d T2+1 (v, w) = 1 + d T (u 2+1,w) Now we are ready to construct a spannng tree T for the orgnal probe nterval graph G = (P, N, E). We say that a vertex v of G domnates a subgraph G k of G f every vertex of G k, dfferent from v, s adjacent to v n G. PROCEDURE SPAN-PIG. Tree 7-spanner for probe nterval graphs Input: A probe nterval graph G = (P, N, E), ts nterval representaton (I, J ) and a decomposton of G nto graphs G 0, G 1,...,G 2q+2. Output: A spannng tree T = (P N, E ) of G. Method: set E = and k := 0; whle k 2q + 2 do f there s an ndex j such that k j and u k domnates G j then do fnd the largest ndex j wth that property; for each v n G k... G j (v u k ) add edge {v, u k } to E ; set k := j + 1; else do f k s even then do fnd a tree 3-spanner T k (u k ) of an nterval graph G k ; add all edges of T k (u k ) to E ; f k s odd then do fnd a tree 4-spanner T k (u k ) of a superconnected probe nterval graph G k ; add all edges of T k (u k ) to E ; set k := k + 1. It s easy to see that the tree T constructed by PROCEDURE SPAN-PIG s a spannng tree of G and ts constructon takes only lnear tme. LEMMA 19. If for graph G k (k {0,...,2q+2}) there exsts a vertex u {u 0,...,u k } whch domnates G k, then there s a vertex u s {u 0,...,u k } such that d T (x, u s ) 1 holds for any x n G k. Otherwse, f such a vertex u does not exst, then for any vertces x, yofg k, d T (x, y) = d Tk (x, y) holds. PROOF. Assume that such a vertex u exsts, but for any u s there s a vertex x n G k such that d T (x, u s )>1. By Lemma 16, R(u k ) R(u ). Hence, vertex u k s also adjacent to all vertces of G k (except tself). On the other hand, snce for any u s there s a vertex x n G k such that d T (x, u s )>1, there was an teraton of the whle loop n PROCEDURE SPAN-PIG where the edges of tree T k (u k ) were added to T. That s, t was detected that vertex u k does not domnate G k. A contradcton obtaned proves the frst part of the lemma. The second part s evdent.

19 Tree Spanners for Bpartte Graphs and Probe Interval Graphs 45 COROLLARY 20. For any vertces x, yofg k (k {0,...,2q + 2}), d T (x, y) max{2, d Tk (x, y)} holds. Such a vertex u s descrbed n Lemma 19 s called the focus of G k n T. LEMMA 21. T s a tree 7-spanner for G. PROOF. Consder an edge {v, w} of G. If both vertces v and w belong to the same graph G k (k = 0,...,2q + 2) then ether d T (v, w) 2ord T (v, w) = d Tk (v, w) 4. Hence, we may assume that they are from dfferent graphs. Clearly, v and w cannot both belong to N. Case 1: v P and w N. In ths case there s a segment S {S 0, S 1,...,S q } such that L(S ) L(w) R(w) R(S ). Clearly, w s a vertex of G 2+1 and, by PROCEDURE DECOMP, no neghbor of w dfferent from u 2+2 can belong to G k (k > 2 + 1). Hence, L(v) L(S ) L(w) R(v) must hold. Moreover, snce L(u 2+1 ) L(S ) L(w) R(v) R(u 2+1 ), vertces w and u 2+1 are adjacent n G and therefore n T 2+1. So, d T2+1 (w, u 2+1 ) = 1. The latter means that ether vertces w and u 2+1 are adjacent n T or they are both adjacent to the focus of G 2+1 n T (see Lemma 19). If v belongs to G 2 then, snce u 2+1 s also n G 2 and d G (v, u 2+1 )=1, d T2 (v, u 2+1 ) 3 must hold. Hence, we have d T (v, w) d T (v, u 2+1 ) + d T (w, u 2+1 ) max{2, d T2 (v, u 2+1 )}+max{2, d T2+1 (w, u 2+1 )} = 5. Now assume that v belongs to G j wth j < 2. Then vertex u j+1 domnates G j+1 snce R(u j+1 ) R(v) L(S ). Let u s be the focus of G j+1 n T and let r be the largest ndex such that graph G r s stll domnated by u s. By PROCEDURE SPAN-PIG, u s s the focus n T of all graphs G j+1,...,g r. Therefore, vertces u j+1,...,u r+1 are all at dstance at most 1 from u s n T. We also have, by Corollary 20, d T (v, u j+1 ) max{2, d Tj (v, u j+1 )} 4. If d T (v, u j+1 )>2, then necessarly s = j + 1 and r 2 (recall that R(u j+1 ) L(S )). Hence, 2 < d T (v, u s ) 4, d T (u s, u 2+1 ) 1, and vertex w s adjacent n T ether to u s or to u 2+1, dependng on whether u s domnates G 2+1 or not. Thus, we have d T (v, w) d T (v, u s ) + d T (u s, u 2+1 ) = 6. Let now d T (v, u j+1 ) 2. If u s domnates G 2, then agan d T (u s, u 2+1 ) 1. Otherwse, r < 2 and vertex u r+1 domnates G 2 snce R(u r+1 ) R(u j+1 ) R(v) L(S ). By PROCEDURE SPAN-PIG, u r+1 s the focus of G 2 n T. Hence, d T (u r+1, u 2+1 ) 1 and therefore d T (u s, u 2+1 ) = d T (u s, u r+1 ) + d T (u r+1, u 2+1 ) = 2. Snce w s adjacent n T ether to u 2+1 or to the focus of G 2+1 n T,wegetd T (v, w) d T (v, u j+1 ) + d T (u j+1, u s ) + d T (u s, u 2+1 ) = 6. Case 2: v, w P. Snce w (as well as v) can be a vertex from {u 1,...,u 2q+2 },tcan belong to few consecutve graphs G,...,G +a. Therefore, let and j be the smallest ndces such that w belongs to G and v belongs to G j. Wthout loss of generalty, assume also that j <. We have R(v) L(w). Snce v n G j s adjacent to w n G, vertex u must be adjacent to v. Snce G can be a proper nterval graph (f s odd), by Lemma 18, we

20 46 A. Brandstädt, F. F. Dragan, H.-O. Le, V. B. Le, and R. Uehara have d T (w, u ) 2. Recall that, f G s an nterval graph (.e., s even), then we would have d T (w, u ) 1. If j = 1, then both vertces v and u are n G 1 and, therefore, d G (v, u ) = 1 mples d T 1 (v, u ) 4. Hence, we have d T (v, w) d T (v, u ) + d T (w, u ) max{2, d T 1 (v, u )}+max{2, d T (w, u )} = 6. Now assume that j < 1. Then vertex u j+1 domnates G j+1 snce R(u j+1 ) R(v) L(w). Let agan u s be the focus of G j+1 n T and let r be the largest ndex such that graph G r s stll domnated by u s. Snce u s s the focus n T of all graphs G j+1,...,g r, vertces u j+1,...,u r+1 are all at dstance at most 1 from u s n T.By Corollary 20, we also have d T (v, u j+1 ) max{2, d Tj (v, u j+1 )} 4. If d T (v, u j+1 )>2, then agan s = j + 1 and r 1. Hence, 2 < d T (v, u s ) 4, d T (u s, u ) 1 and therefore d T (v, w) d T (v, u s ) + d T (u s, u ) + d T (u,w) = 7. Let now d T (v, u j+1 ) 2. If u s domnates G 1, then agan d T (u s, u ) 1. If u s does not domnate G 1, then vertex u r+1 must domnate t (snce R(u r+1 ) R(u j+1 ) R(v)). Therefore, by PROCEDURE SPAN-PIG, u r+1 s the focus of G 2 n T and d T (u r+1, u ) 1 must hold. Thus, d T (v, w) d T (v, u j+1 )+d T (u j+1, u s )+d T (u s, u )+ d T (u,w) = 7. The man theorem n ths secton s the followng: THEOREM 22. Any probe nterval graph G admts a tree 7-spanner. Moreover, such a tree 7-spanner can be constructed n O(m log n) tme, or n O(m + n log n) tme f the ntersecton model of G s gven n advance. Now let G = (P, N, E) be an enhanced probe nterval graph wth probes P and nonprobes N. COROLLARY 23. Any enhanced probe nterval graph G = (P, N, E) admts a tree 7-spanner. Moreover, such a tree spanner can be constructed n O(m log n) tme. PROOF. By gnorng n G edges between nonprobes, we get a probe nterval graph G. Let T be a tree 7-spanner of G constructed by PROCEDURE SPAN-PIG. We show that T s a tree 7-spanner of G, too. One needs to check the dstance n T only between nonprobes x, y N whch are adjacent n G,.e., {x, y} s an enhanced edge. By the defnton of an enhanced edge, there must exst two nonntersectng probes v, w such that {v, x}, {v, y}, {w, x}, {w, y} are edges n G. Wthout loss of generalty, assume that R(v) < L(w). Then, clearly, vertces x, y,ware all from some superconnected probe nterval graph G 2+1 (see PROCEDURE DECOMP). Let G 2+1 be the nterval bgraph counterpart of G 2+1 and let T 2+1 be a tree 3-spanner of G 2+1. For edges {w, x} and {w, y} of graph G 2+1 we have d T (w, x) max{2, d T2+1 (w, x)} 3 and d T (w, y) max{2, d T2+1 (w, y)} 3 (recall that edges {w, x} and {w, y} are connectng a probe wth nonprobes and hence they are both edges of G 2+1 ). Thus, d T (x, y) d T (x,w)+ d T (y,w) = 6.

Tree Spanners on Chordal Graphs: Complexity, Algorithms, Open Problems

Tree Spanners on Chordal Graphs: Complexity, Algorithms, Open Problems Tree Spanners on Chordal Graphs: Complexty, Algorthms, Open Problems A. Brandstädt 1, F.F. Dragan 2, H.-O. Le 1, and V.B. Le 1 1 Insttut für Theoretsche Informatk, Fachberech Informatk, Unverstät Rostock,

More information

CHAPTER 2 DECOMPOSITION OF GRAPHS

CHAPTER 2 DECOMPOSITION OF GRAPHS CHAPTER DECOMPOSITION OF GRAPHS. INTRODUCTION A graph H s called a Supersubdvson of a graph G f H s obtaned from G by replacng every edge uv of G by a bpartte graph,m (m may vary for each edge by dentfyng

More information

the nber of vertces n the graph. spannng tree T beng part of a par of maxmally dstant trees s called extremal. Extremal trees are useful n the mxed an

the nber of vertces n the graph. spannng tree T beng part of a par of maxmally dstant trees s called extremal. Extremal trees are useful n the mxed an On Central Spannng Trees of a Graph S. Bezrukov Unverstat-GH Paderborn FB Mathematk/Informatk Furstenallee 11 D{33102 Paderborn F. Kaderal, W. Poguntke FernUnverstat Hagen LG Kommunkatonssysteme Bergscher

More information

6.854 Advanced Algorithms Petar Maymounkov Problem Set 11 (November 23, 2005) With: Benjamin Rossman, Oren Weimann, and Pouya Kheradpour

6.854 Advanced Algorithms Petar Maymounkov Problem Set 11 (November 23, 2005) With: Benjamin Rossman, Oren Weimann, and Pouya Kheradpour 6.854 Advanced Algorthms Petar Maymounkov Problem Set 11 (November 23, 2005) Wth: Benjamn Rossman, Oren Wemann, and Pouya Kheradpour Problem 1. We reduce vertex cover to MAX-SAT wth weghts, such that the

More information

For instance, ; the five basic number-sets are increasingly more n A B & B A A = B (1)

For instance, ; the five basic number-sets are increasingly more n A B & B A A = B (1) Secton 1.2 Subsets and the Boolean operatons on sets If every element of the set A s an element of the set B, we say that A s a subset of B, or that A s contaned n B, or that B contans A, and we wrte A

More information

Non-Split Restrained Dominating Set of an Interval Graph Using an Algorithm

Non-Split Restrained Dominating Set of an Interval Graph Using an Algorithm Internatonal Journal of Advancements n Research & Technology, Volume, Issue, July- ISS - on-splt Restraned Domnatng Set of an Interval Graph Usng an Algorthm ABSTRACT Dr.A.Sudhakaraah *, E. Gnana Deepka,

More information

The Erdős Pósa property for vertex- and edge-disjoint odd cycles in graphs on orientable surfaces

The Erdős Pósa property for vertex- and edge-disjoint odd cycles in graphs on orientable surfaces Dscrete Mathematcs 307 (2007) 764 768 www.elsever.com/locate/dsc Note The Erdős Pósa property for vertex- and edge-dsjont odd cycles n graphs on orentable surfaces Ken-Ich Kawarabayash a, Atsuhro Nakamoto

More information

Compiler Design. Spring Register Allocation. Sample Exercises and Solutions. Prof. Pedro C. Diniz

Compiler Design. Spring Register Allocation. Sample Exercises and Solutions. Prof. Pedro C. Diniz Compler Desgn Sprng 2014 Regster Allocaton Sample Exercses and Solutons Prof. Pedro C. Dnz USC / Informaton Scences Insttute 4676 Admralty Way, Sute 1001 Marna del Rey, Calforna 90292 pedro@s.edu Regster

More information

More on the Linear k-arboricity of Regular Graphs R. E. L. Aldred Department of Mathematics and Statistics University of Otago P.O. Box 56, Dunedin Ne

More on the Linear k-arboricity of Regular Graphs R. E. L. Aldred Department of Mathematics and Statistics University of Otago P.O. Box 56, Dunedin Ne More on the Lnear k-arborcty of Regular Graphs R E L Aldred Department of Mathematcs and Statstcs Unversty of Otago PO Box 56, Dunedn New Zealand Ncholas C Wormald Department of Mathematcs Unversty of

More information

An Optimal Algorithm for Prufer Codes *

An Optimal Algorithm for Prufer Codes * J. Software Engneerng & Applcatons, 2009, 2: 111-115 do:10.4236/jsea.2009.22016 Publshed Onlne July 2009 (www.scrp.org/journal/jsea) An Optmal Algorthm for Prufer Codes * Xaodong Wang 1, 2, Le Wang 3,

More information

Ramsey numbers of cubes versus cliques

Ramsey numbers of cubes versus cliques Ramsey numbers of cubes versus clques Davd Conlon Jacob Fox Choongbum Lee Benny Sudakov Abstract The cube graph Q n s the skeleton of the n-dmensonal cube. It s an n-regular graph on 2 n vertces. The Ramsey

More information

Problem Set 3 Solutions

Problem Set 3 Solutions Introducton to Algorthms October 4, 2002 Massachusetts Insttute of Technology 6046J/18410J Professors Erk Demane and Shaf Goldwasser Handout 14 Problem Set 3 Solutons (Exercses were not to be turned n,

More information

Parallelism for Nested Loops with Non-uniform and Flow Dependences

Parallelism for Nested Loops with Non-uniform and Flow Dependences Parallelsm for Nested Loops wth Non-unform and Flow Dependences Sam-Jn Jeong Dept. of Informaton & Communcaton Engneerng, Cheonan Unversty, 5, Anseo-dong, Cheonan, Chungnam, 330-80, Korea. seong@cheonan.ac.kr

More information

The Greedy Method. Outline and Reading. Change Money Problem. Greedy Algorithms. Applications of the Greedy Strategy. The Greedy Method Technique

The Greedy Method. Outline and Reading. Change Money Problem. Greedy Algorithms. Applications of the Greedy Strategy. The Greedy Method Technique //00 :0 AM Outlne and Readng The Greedy Method The Greedy Method Technque (secton.) Fractonal Knapsack Problem (secton..) Task Schedulng (secton..) Mnmum Spannng Trees (secton.) Change Money Problem Greedy

More information

F Geometric Mean Graphs

F Geometric Mean Graphs Avalable at http://pvamu.edu/aam Appl. Appl. Math. ISSN: 1932-9466 Vol. 10, Issue 2 (December 2015), pp. 937-952 Applcatons and Appled Mathematcs: An Internatonal Journal (AAM) F Geometrc Mean Graphs A.

More information

1 Introducton Gven a graph G = (V; E), a non-negatve cost on each edge n E, and a set of vertces Z V, the mnmum Stener problem s to nd a mnmum cost su

1 Introducton Gven a graph G = (V; E), a non-negatve cost on each edge n E, and a set of vertces Z V, the mnmum Stener problem s to nd a mnmum cost su Stener Problems on Drected Acyclc Graphs Tsan-sheng Hsu y, Kuo-Hu Tsa yz, Da-We Wang yz and D. T. Lee? September 1, 1995 Abstract In ths paper, we consder two varatons of the mnmum-cost Stener problem

More information

Complex Numbers. Now we also saw that if a and b were both positive then ab = a b. For a second let s forget that restriction and do the following.

Complex Numbers. Now we also saw that if a and b were both positive then ab = a b. For a second let s forget that restriction and do the following. Complex Numbers The last topc n ths secton s not really related to most of what we ve done n ths chapter, although t s somewhat related to the radcals secton as we wll see. We also won t need the materal

More information

All-Pairs Shortest Paths. Approximate All-Pairs shortest paths Approximate distance oracles Spanners and Emulators. Uri Zwick Tel Aviv University

All-Pairs Shortest Paths. Approximate All-Pairs shortest paths Approximate distance oracles Spanners and Emulators. Uri Zwick Tel Aviv University Approxmate All-Pars shortest paths Approxmate dstance oracles Spanners and Emulators Ur Zwck Tel Avv Unversty Summer School on Shortest Paths (PATH05 DIKU, Unversty of Copenhagen All-Pars Shortest Paths

More information

Capacitated Domination and Covering: A Parameterized Perspective

Capacitated Domination and Covering: A Parameterized Perspective Capactated Domnaton and Coverng: A Parameterzed Perspectve Mchael Dom Danel Lokshtanov Saket Saurabh Yngve Vllanger Abstract Capactated versons of Domnatng Set and Vertex Cover have been studed ntensvely

More information

Constructing Minimum Connected Dominating Set: Algorithmic approach

Constructing Minimum Connected Dominating Set: Algorithmic approach Constructng Mnmum Connected Domnatng Set: Algorthmc approach G.N. Puroht and Usha Sharma Centre for Mathematcal Scences, Banasthal Unversty, Rajasthan 304022 usha.sharma94@yahoo.com Abstract: Connected

More information

Bridges and cut-vertices of Intuitionistic Fuzzy Graph Structure

Bridges and cut-vertices of Intuitionistic Fuzzy Graph Structure Internatonal Journal of Engneerng, Scence and Mathematcs (UGC Approved) Journal Homepage: http://www.jesm.co.n, Emal: jesmj@gmal.com Double-Blnd Peer Revewed Refereed Open Access Internatonal Journal -

More information

Machine Learning: Algorithms and Applications

Machine Learning: Algorithms and Applications 14/05/1 Machne Learnng: Algorthms and Applcatons Florano Zn Free Unversty of Bozen-Bolzano Faculty of Computer Scence Academc Year 011-01 Lecture 10: 14 May 01 Unsupervsed Learnng cont Sldes courtesy of

More information

Computation of a Minimum Average Distance Tree on Permutation Graphs*

Computation of a Minimum Average Distance Tree on Permutation Graphs* Annals of Pure and Appled Mathematcs Vol, No, 0, 74-85 ISSN: 79-087X (P), 79-0888(onlne) Publshed on 8 December 0 wwwresearchmathscorg Annals of Computaton of a Mnmum Average Dstance Tree on Permutaton

More information

An Application of the Dulmage-Mendelsohn Decomposition to Sparse Null Space Bases of Full Row Rank Matrices

An Application of the Dulmage-Mendelsohn Decomposition to Sparse Null Space Bases of Full Row Rank Matrices Internatonal Mathematcal Forum, Vol 7, 2012, no 52, 2549-2554 An Applcaton of the Dulmage-Mendelsohn Decomposton to Sparse Null Space Bases of Full Row Rank Matrces Mostafa Khorramzadeh Department of Mathematcal

More information

Hermite Splines in Lie Groups as Products of Geodesics

Hermite Splines in Lie Groups as Products of Geodesics Hermte Splnes n Le Groups as Products of Geodescs Ethan Eade Updated May 28, 2017 1 Introducton 1.1 Goal Ths document defnes a curve n the Le group G parametrzed by tme and by structural parameters n the

More information

Module Management Tool in Software Development Organizations

Module Management Tool in Software Development Organizations Journal of Computer Scence (5): 8-, 7 ISSN 59-66 7 Scence Publcatons Management Tool n Software Development Organzatons Ahmad A. Al-Rababah and Mohammad A. Al-Rababah Faculty of IT, Al-Ahlyyah Amman Unversty,

More information

Fast Computation of Shortest Path for Visiting Segments in the Plane

Fast Computation of Shortest Path for Visiting Segments in the Plane Send Orders for Reprnts to reprnts@benthamscence.ae 4 The Open Cybernetcs & Systemcs Journal, 04, 8, 4-9 Open Access Fast Computaton of Shortest Path for Vstng Segments n the Plane Ljuan Wang,, Bo Jang

More information

CMPS 10 Introduction to Computer Science Lecture Notes

CMPS 10 Introduction to Computer Science Lecture Notes CPS 0 Introducton to Computer Scence Lecture Notes Chapter : Algorthm Desgn How should we present algorthms? Natural languages lke Englsh, Spansh, or French whch are rch n nterpretaton and meanng are not

More information

b * -Open Sets in Bispaces

b * -Open Sets in Bispaces Internatonal Journal of Mathematcs and Statstcs Inventon (IJMSI) E-ISSN: 2321 4767 P-ISSN: 2321-4759 wwwjmsorg Volume 4 Issue 6 August 2016 PP- 39-43 b * -Open Sets n Bspaces Amar Kumar Banerjee 1 and

More information

Strong games played on random graphs

Strong games played on random graphs Strong games played on random graphs Asaf Ferber Department of Mathematcs Massachusetts Insttute of Technology Cambrdge, U.S.A. ferbera@mt.edu Pascal Pfster Insttute of Theoretcal Computer Scence ETH Zürch

More information

UNIT 2 : INEQUALITIES AND CONVEX SETS

UNIT 2 : INEQUALITIES AND CONVEX SETS UNT 2 : NEQUALTES AND CONVEX SETS ' Structure 2. ntroducton Objectves, nequaltes and ther Graphs Convex Sets and ther Geometry Noton of Convex Sets Extreme Ponts of Convex Set Hyper Planes and Half Spaces

More information

Covering Pairs in Directed Acyclic Graphs

Covering Pairs in Directed Acyclic Graphs Advance Access publcaton on 5 November 2014 c The Brtsh Computer Socety 2014. All rghts reserved. For Permssons, please emal: ournals.permssons@oup.com do:10.1093/comnl/bxu116 Coverng Pars n Drected Acyclc

More information

Theoretical Computer Science

Theoretical Computer Science Theoretcal Computer Scence 481 (2013) 74 84 Contents lsts avalable at ScVerse ScenceDrect Theoretcal Computer Scence journal homepage: www.elsever.com/locate/tcs Increasng the mnmum degree of a graph by

More information

NETWORKS of dynamical systems appear in a variety of

NETWORKS of dynamical systems appear in a variety of Necessary and Suffcent Topologcal Condtons for Identfablty of Dynamcal Networks Henk J. van Waarde, Petro Tes, and M. Kanat Camlbel arxv:807.09v [math.oc] 2 Jul 208 Abstract Ths paper deals wth dynamcal

More information

Report on On-line Graph Coloring

Report on On-line Graph Coloring 2003 Fall Semester Comp 670K Onlne Algorthm Report on LO Yuet Me (00086365) cndylo@ust.hk Abstract Onlne algorthm deals wth data that has no future nformaton. Lots of examples demonstrate that onlne algorthm

More information

The Shortest Path of Touring Lines given in the Plane

The Shortest Path of Touring Lines given in the Plane Send Orders for Reprnts to reprnts@benthamscence.ae 262 The Open Cybernetcs & Systemcs Journal, 2015, 9, 262-267 The Shortest Path of Tourng Lnes gven n the Plane Open Access Ljuan Wang 1,2, Dandan He

More information

5 The Primal-Dual Method

5 The Primal-Dual Method 5 The Prmal-Dual Method Orgnally desgned as a method for solvng lnear programs, where t reduces weghted optmzaton problems to smpler combnatoral ones, the prmal-dual method (PDM) has receved much attenton

More information

Cordial and 3-Equitable Labeling for Some Star Related Graphs

Cordial and 3-Equitable Labeling for Some Star Related Graphs Internatonal Mathematcal Forum, 4, 009, no. 31, 1543-1553 Cordal and 3-Equtable Labelng for Some Star Related Graphs S. K. Vadya Department of Mathematcs, Saurashtra Unversty Rajkot - 360005, Gujarat,

More information

Discrete Applied Mathematics. Shortest paths in linear time on minor-closed graph classes, with an application to Steiner tree approximation

Discrete Applied Mathematics. Shortest paths in linear time on minor-closed graph classes, with an application to Steiner tree approximation Dscrete Appled Mathematcs 7 (9) 67 684 Contents lsts avalable at ScenceDrect Dscrete Appled Mathematcs journal homepage: www.elsever.com/locate/dam Shortest paths n lnear tme on mnor-closed graph classes,

More information

Clustering on antimatroids and convex geometries

Clustering on antimatroids and convex geometries Clusterng on antmatrods and convex geometres YULIA KEMPNER 1, ILYA MUCNIK 2 1 Department of Computer cence olon Academc Insttute of Technology 52 Golomb tr., P.O. Box 305, olon 58102 IRAEL 2 Department

More information

O n processors in CRCW PRAM

O n processors in CRCW PRAM PARALLEL COMPLEXITY OF SINGLE SOURCE SHORTEST PATH ALGORITHMS Mshra, P. K. Department o Appled Mathematcs Brla Insttute o Technology, Mesra Ranch-8355 (Inda) & Dept. o Electroncs & Electrcal Communcaton

More information

CSE 326: Data Structures Quicksort Comparison Sorting Bound

CSE 326: Data Structures Quicksort Comparison Sorting Bound CSE 326: Data Structures Qucksort Comparson Sortng Bound Steve Setz Wnter 2009 Qucksort Qucksort uses a dvde and conquer strategy, but does not requre the O(N) extra space that MergeSort does. Here s the

More information

CSE 326: Data Structures Quicksort Comparison Sorting Bound

CSE 326: Data Structures Quicksort Comparison Sorting Bound CSE 326: Data Structures Qucksort Comparson Sortng Bound Bran Curless Sprng 2008 Announcements (5/14/08) Homework due at begnnng of class on Frday. Secton tomorrow: Graded homeworks returned More dscusson

More information

R s s f. m y s. SPH3UW Unit 7.3 Spherical Concave Mirrors Page 1 of 12. Notes

R s s f. m y s. SPH3UW Unit 7.3 Spherical Concave Mirrors Page 1 of 12. Notes SPH3UW Unt 7.3 Sphercal Concave Mrrors Page 1 of 1 Notes Physcs Tool box Concave Mrror If the reflectng surface takes place on the nner surface of the sphercal shape so that the centre of the mrror bulges

More information

A New Approach For the Ranking of Fuzzy Sets With Different Heights

A New Approach For the Ranking of Fuzzy Sets With Different Heights New pproach For the ankng of Fuzzy Sets Wth Dfferent Heghts Pushpnder Sngh School of Mathematcs Computer pplcatons Thapar Unversty, Patala-7 00 Inda pushpndersnl@gmalcom STCT ankng of fuzzy sets plays

More information

Semi - - Connectedness in Bitopological Spaces

Semi - - Connectedness in Bitopological Spaces Journal of AL-Qadsyah for computer scence an mathematcs A specal Issue Researches of the fourth Internatonal scentfc Conference/Second صفحة 45-53 Sem - - Connectedness n Btopologcal Spaces By Qays Hatem

More information

Related-Mode Attacks on CTR Encryption Mode

Related-Mode Attacks on CTR Encryption Mode Internatonal Journal of Network Securty, Vol.4, No.3, PP.282 287, May 2007 282 Related-Mode Attacks on CTR Encrypton Mode Dayn Wang, Dongda Ln, and Wenlng Wu (Correspondng author: Dayn Wang) Key Laboratory

More information

Chapter 6 Programmng the fnte element method Inow turn to the man subject of ths book: The mplementaton of the fnte element algorthm n computer programs. In order to make my dscusson as straghtforward

More information

COPS AND ROBBER WITH CONSTRAINTS

COPS AND ROBBER WITH CONSTRAINTS COPS AND ROBBER WITH CONSTRAINTS FEDOR V. FOMIN, PETR A. GOLOVACH, AND PAWE L PRA LAT Abstract. Cops & Robber s a classcal pursut-evason game on undrected graphs, where the task s to dentfy the mnmum number

More information

Transaction-Consistent Global Checkpoints in a Distributed Database System

Transaction-Consistent Global Checkpoints in a Distributed Database System Proceedngs of the World Congress on Engneerng 2008 Vol I Transacton-Consstent Global Checkponts n a Dstrbuted Database System Jang Wu, D. Manvannan and Bhavan Thurasngham Abstract Checkpontng and rollback

More information

A Topology-aware Random Walk

A Topology-aware Random Walk A Topology-aware Random Walk Inkwan Yu, Rchard Newman Dept. of CISE, Unversty of Florda, Ganesvlle, Florda, USA Abstract When a graph can be decomposed nto clusters of well connected subgraphs, t s possble

More information

Programming in Fortran 90 : 2017/2018

Programming in Fortran 90 : 2017/2018 Programmng n Fortran 90 : 2017/2018 Programmng n Fortran 90 : 2017/2018 Exercse 1 : Evaluaton of functon dependng on nput Wrte a program who evaluate the functon f (x,y) for any two user specfed values

More information

Math Homotopy Theory Additional notes

Math Homotopy Theory Additional notes Math 527 - Homotopy Theory Addtonal notes Martn Frankland February 4, 2013 The category Top s not Cartesan closed. problem. In these notes, we explan how to remedy that 1 Compactly generated spaces Ths

More information

On the Perspectives Opened by Right Angle Crossing Drawings

On the Perspectives Opened by Right Angle Crossing Drawings Journal of Graph Algorthms and Applcatons http://jgaa.nfo/ vol. 5, no., pp. 53 78 (20) On the Perspectves Opened by Rght Angle Crossng Drawngs Patrzo Angeln Luca Cttadn Guseppe D Battsta Walter Ddmo 2

More information

Complexity to Find Wiener Index of Some Graphs

Complexity to Find Wiener Index of Some Graphs Complexty to Fnd Wener Index of Some Graphs Kalyan Das Department of Mathematcs Ramnagar College, Purba Mednpur, West Bengal, Inda Abstract. The Wener ndex s one of the oldest graph parameter whch s used

More information

A NOTE ON FUZZY CLOSURE OF A FUZZY SET

A NOTE ON FUZZY CLOSURE OF A FUZZY SET (JPMNT) Journal of Process Management New Technologes, Internatonal A NOTE ON FUZZY CLOSURE OF A FUZZY SET Bhmraj Basumatary Department of Mathematcal Scences, Bodoland Unversty, Kokrajhar, Assam, Inda,

More information

Analysis of Continuous Beams in General

Analysis of Continuous Beams in General Analyss of Contnuous Beams n General Contnuous beams consdered here are prsmatc, rgdly connected to each beam segment and supported at varous ponts along the beam. onts are selected at ponts of support,

More information

LP Rounding for k-centers with Non-uniform Hard Capacities

LP Rounding for k-centers with Non-uniform Hard Capacities LP Roundng for k-centers wth Non-unform Hard Capactes (Extended Abstract) Marek Cygan, MohammadTagh Hajaghay, Samr Khuller IDSIA, Unversty of Lugano, Swtzerland. Emal: marek@dsa.ch Department of Computer

More information

Planar Capacitated Dominating Set is W[1]-hard

Planar Capacitated Dominating Set is W[1]-hard Planar Capactated Domnatng Set s W[1]-hard Hans L. Bodlaender 1, Danel Lokshtanov 2, and Eelko Pennnkx 1 1 Department of Informaton and Computng Scences, Unverstet Utrecht, PO Box 80.089, 3508TB Utrecht,

More information

GSLM Operations Research II Fall 13/14

GSLM Operations Research II Fall 13/14 GSLM 58 Operatons Research II Fall /4 6. Separable Programmng Consder a general NLP mn f(x) s.t. g j (x) b j j =. m. Defnton 6.. The NLP s a separable program f ts objectve functon and all constrants are

More information

On Embedding and NP-Complete Problems of Equitable Labelings

On Embedding and NP-Complete Problems of Equitable Labelings IOSR Journal o Mathematcs (IOSR-JM) e-issn: 78-578, p-issn: 39-765X Volume, Issue Ver III (Jan - Feb 5), PP 8-85 wwwosrjournalsorg Ombeddng and NP-Complete Problems o Equtable Labelngs S K Vadya, C M Barasara

More information

A Binarization Algorithm specialized on Document Images and Photos

A Binarization Algorithm specialized on Document Images and Photos A Bnarzaton Algorthm specalzed on Document mages and Photos Ergna Kavalleratou Dept. of nformaton and Communcaton Systems Engneerng Unversty of the Aegean kavalleratou@aegean.gr Abstract n ths paper, a

More information

Parallel matrix-vector multiplication

Parallel matrix-vector multiplication Appendx A Parallel matrx-vector multplcaton The reduced transton matrx of the three-dmensonal cage model for gel electrophoress, descrbed n secton 3.2, becomes excessvely large for polymer lengths more

More information

Information Sciences

Information Sciences Informaton Scences 79 (9) 369 367 ontents lsts avalable at ScenceDrect Informaton Scences ournal homepage: www.elsever.com/locate/ns Necessary and suffcent condtons for transacton-consstent global checkponts

More information

Learning the Kernel Parameters in Kernel Minimum Distance Classifier

Learning the Kernel Parameters in Kernel Minimum Distance Classifier Learnng the Kernel Parameters n Kernel Mnmum Dstance Classfer Daoqang Zhang 1,, Songcan Chen and Zh-Hua Zhou 1* 1 Natonal Laboratory for Novel Software Technology Nanjng Unversty, Nanjng 193, Chna Department

More information

ALEKSANDROV URYSOHN COMPACTNESS CRITERION ON INTUITIONISTIC FUZZY S * STRUCTURE SPACE

ALEKSANDROV URYSOHN COMPACTNESS CRITERION ON INTUITIONISTIC FUZZY S * STRUCTURE SPACE mercan Journal of Mathematcs and cences Vol. 5, No., (January-December, 206) Copyrght Mnd Reader Publcatons IN No: 2250-302 www.journalshub.com LEKNDROV URYOHN COMPCTNE CRITERION ON INTUITIONITIC FUZZY

More information

such that is accepted of states in , where Finite Automata Lecture 2-1: Regular Languages be an FA. A string is the transition function,

such that is accepted of states in , where Finite Automata Lecture 2-1: Regular Languages be an FA. A string is the transition function, * Lecture - Regular Languages S Lecture - Fnte Automata where A fnte automaton s a -tuple s a fnte set called the states s a fnte set called the alphabet s the transton functon s the ntal state s the set

More information

Approximations for Steiner Trees with Minimum Number of Steiner Points

Approximations for Steiner Trees with Minimum Number of Steiner Points Journal of Global Optmzaton 18: 17 33, 000. 17 000 Kluwer Academc ublshers. rnted n the Netherlands. Approxmatons for Stener Trees wth Mnmum Number of Stener onts 1, 1,,,,3, DONGHUI CHEN *, DING-ZHU DU

More information

1 Introducton Effcent and speedy recovery of electrc power networks followng a major outage, caused by a dsaster such as extreme weather or equpment f

1 Introducton Effcent and speedy recovery of electrc power networks followng a major outage, caused by a dsaster such as extreme weather or equpment f Effcent Recovery from Power Outage (Extended Summary) Sudpto Guha Λ Anna Moss y Joseph (Seff) Naor z Baruch Scheber x Abstract We study problems that are motvated by the real-lfe problem of effcent recovery

More information

A SYSTOLIC APPROACH TO LOOP PARTITIONING AND MAPPING INTO FIXED SIZE DISTRIBUTED MEMORY ARCHITECTURES

A SYSTOLIC APPROACH TO LOOP PARTITIONING AND MAPPING INTO FIXED SIZE DISTRIBUTED MEMORY ARCHITECTURES A SYSOLIC APPROACH O LOOP PARIIONING AND MAPPING INO FIXED SIZE DISRIBUED MEMORY ARCHIECURES Ioanns Drosts, Nektaros Kozrs, George Papakonstantnou and Panayots sanakas Natonal echncal Unversty of Athens

More information

NOVEL CONSTRUCTION OF SHORT LENGTH LDPC CODES FOR SIMPLE DECODING

NOVEL CONSTRUCTION OF SHORT LENGTH LDPC CODES FOR SIMPLE DECODING Journal of Theoretcal and Appled Informaton Technology 27 JATIT. All rghts reserved. www.jatt.org NOVEL CONSTRUCTION OF SHORT LENGTH LDPC CODES FOR SIMPLE DECODING Fatma A. Newagy, Yasmne A. Fahmy, and

More information

CE 221 Data Structures and Algorithms

CE 221 Data Structures and Algorithms CE 1 ata Structures and Algorthms Chapter 4: Trees BST Text: Read Wess, 4.3 Izmr Unversty of Economcs 1 The Search Tree AT Bnary Search Trees An mportant applcaton of bnary trees s n searchng. Let us assume

More information

Data Representation in Digital Design, a Single Conversion Equation and a Formal Languages Approach

Data Representation in Digital Design, a Single Conversion Equation and a Formal Languages Approach Data Representaton n Dgtal Desgn, a Sngle Converson Equaton and a Formal Languages Approach Hassan Farhat Unversty of Nebraska at Omaha Abstract- In the study of data representaton n dgtal desgn and computer

More information

ON SOME ENTERTAINING APPLICATIONS OF THE CONCEPT OF SET IN COMPUTER SCIENCE COURSE

ON SOME ENTERTAINING APPLICATIONS OF THE CONCEPT OF SET IN COMPUTER SCIENCE COURSE Yordzhev K., Kostadnova H. Інформаційні технології в освіті ON SOME ENTERTAINING APPLICATIONS OF THE CONCEPT OF SET IN COMPUTER SCIENCE COURSE Yordzhev K., Kostadnova H. Some aspects of programmng educaton

More information

International Journal of Scientific & Engineering Research, Volume 7, Issue 5, May ISSN Some Polygonal Sum Labeling of Bistar

International Journal of Scientific & Engineering Research, Volume 7, Issue 5, May ISSN Some Polygonal Sum Labeling of Bistar Internatonal Journal of Scentfc & Engneerng Research Volume 7 Issue 5 May-6 34 Some Polygonal Sum Labelng of Bstar DrKAmuthavall SDneshkumar ABSTRACT- A (p q) graph G s sad to admt a polygonal sum labelng

More information

Greedy Technique - Definition

Greedy Technique - Definition Greedy Technque Greedy Technque - Defnton The greedy method s a general algorthm desgn paradgm, bult on the follong elements: confguratons: dfferent choces, collectons, or values to fnd objectve functon:

More information

Load Balancing for Hex-Cell Interconnection Network

Load Balancing for Hex-Cell Interconnection Network Int. J. Communcatons, Network and System Scences,,, - Publshed Onlne Aprl n ScRes. http://www.scrp.org/journal/jcns http://dx.do.org/./jcns.. Load Balancng for Hex-Cell Interconnecton Network Saher Manaseer,

More information

On Some Entertaining Applications of the Concept of Set in Computer Science Course

On Some Entertaining Applications of the Concept of Set in Computer Science Course On Some Entertanng Applcatons of the Concept of Set n Computer Scence Course Krasmr Yordzhev *, Hrstna Kostadnova ** * Assocate Professor Krasmr Yordzhev, Ph.D., Faculty of Mathematcs and Natural Scences,

More information

Solving two-person zero-sum game by Matlab

Solving two-person zero-sum game by Matlab Appled Mechancs and Materals Onlne: 2011-02-02 ISSN: 1662-7482, Vols. 50-51, pp 262-265 do:10.4028/www.scentfc.net/amm.50-51.262 2011 Trans Tech Publcatons, Swtzerland Solvng two-person zero-sum game by

More information

TN348: Openlab Module - Colocalization

TN348: Openlab Module - Colocalization TN348: Openlab Module - Colocalzaton Topc The Colocalzaton module provdes the faclty to vsualze and quantfy colocalzaton between pars of mages. The Colocalzaton wndow contans a prevew of the two mages

More information

1 Dynamic Connectivity

1 Dynamic Connectivity 15-850: Advanced Algorthms CMU, Sprng 2017 Lecture #3: Dynamc Graph Connectvty algorthms 01/30/17 Lecturer: Anupam Gupta Scrbe: Hu Han Chn, Jacob Imola Dynamc graph algorthms s the study of standard graph

More information

Course Introduction. Algorithm 8/31/2017. COSC 320 Advanced Data Structures and Algorithms. COSC 320 Advanced Data Structures and Algorithms

Course Introduction. Algorithm 8/31/2017. COSC 320 Advanced Data Structures and Algorithms. COSC 320 Advanced Data Structures and Algorithms Course Introducton Course Topcs Exams, abs, Proects A quc loo at a few algorthms 1 Advanced Data Structures and Algorthms Descrpton: We are gong to dscuss algorthm complexty analyss, algorthm desgn technques

More information

Lecture 5: Multilayer Perceptrons

Lecture 5: Multilayer Perceptrons Lecture 5: Multlayer Perceptrons Roger Grosse 1 Introducton So far, we ve only talked about lnear models: lnear regresson and lnear bnary classfers. We noted that there are functons that can t be represented

More information

Cluster Analysis of Electrical Behavior

Cluster Analysis of Electrical Behavior Journal of Computer and Communcatons, 205, 3, 88-93 Publshed Onlne May 205 n ScRes. http://www.scrp.org/ournal/cc http://dx.do.org/0.4236/cc.205.350 Cluster Analyss of Electrcal Behavor Ln Lu Ln Lu, School

More information

Hierarchical clustering for gene expression data analysis

Hierarchical clustering for gene expression data analysis Herarchcal clusterng for gene expresson data analyss Gorgo Valentn e-mal: valentn@ds.unm.t Clusterng of Mcroarray Data. Clusterng of gene expresson profles (rows) => dscovery of co-regulated and functonally

More information

Combinatorial Auctions with Structured Item Graphs

Combinatorial Auctions with Structured Item Graphs Combnatoral Auctons wth Structured Item Graphs Vncent Contzer and Jonathan Derryberry and Tuomas Sandholm Carnege Mellon Unversty 5000 Forbes Avenue Pttsburgh, PA 15213 {contzer, jonderry, sandholm}@cs.cmu.edu

More information

Assignment # 2. Farrukh Jabeen Algorithms 510 Assignment #2 Due Date: June 15, 2009.

Assignment # 2. Farrukh Jabeen Algorithms 510 Assignment #2 Due Date: June 15, 2009. Farrukh Jabeen Algorthms 51 Assgnment #2 Due Date: June 15, 29. Assgnment # 2 Chapter 3 Dscrete Fourer Transforms Implement the FFT for the DFT. Descrbed n sectons 3.1 and 3.2. Delverables: 1. Concse descrpton

More information

FLOW POLYTOPES OF PARTITIONS

FLOW POLYTOPES OF PARTITIONS FLOW POLYTOPES OF PARTITIONS KAROLA MÉSZÁROS, CONNOR SIMPSON, AND ZOE WELLNER Abstract. Recent progress on flow polytopes ndcates many nterestng famles wth product formulas for ther volume. These product

More information

11. APPROXIMATION ALGORITHMS

11. APPROXIMATION ALGORITHMS Copng wth NP-completeness 11. APPROXIMATION ALGORITHMS load balancng center selecton prcng method: vertex cover LP roundng: vertex cover generalzed load balancng knapsack problem Q. Suppose I need to solve

More information

Summarizing Data using Bottom-k Sketches

Summarizing Data using Bottom-k Sketches Summarzng Data usng Bottom-k Sketches Edth Cohen AT&T Labs Research 8 Park Avenue Florham Park, NJ 7932, USA edth@research.att.com Ham Kaplan School of Computer Scence Tel Avv Unversty Tel Avv, Israel

More information

Insertion Sort. Divide and Conquer Sorting. Divide and Conquer. Mergesort. Mergesort Example. Auxiliary Array

Insertion Sort. Divide and Conquer Sorting. Divide and Conquer. Mergesort. Mergesort Example. Auxiliary Array Inserton Sort Dvde and Conquer Sortng CSE 6 Data Structures Lecture 18 What f frst k elements of array are already sorted? 4, 7, 1, 5, 1, 16 We can shft the tal of the sorted elements lst down and then

More information

Classifier Selection Based on Data Complexity Measures *

Classifier Selection Based on Data Complexity Measures * Classfer Selecton Based on Data Complexty Measures * Edth Hernández-Reyes, J.A. Carrasco-Ochoa, and J.Fco. Martínez-Trndad Natonal Insttute for Astrophyscs, Optcs and Electroncs, Lus Enrque Erro No.1 Sta.

More information

S1 Note. Basis functions.

S1 Note. Basis functions. S1 Note. Bass functons. Contents Types of bass functons...1 The Fourer bass...2 B-splne bass...3 Power and type I error rates wth dfferent numbers of bass functons...4 Table S1. Smulaton results of type

More information

TPL-Aware Displacement-driven Detailed Placement Refinement with Coloring Constraints

TPL-Aware Displacement-driven Detailed Placement Refinement with Coloring Constraints TPL-ware Dsplacement-drven Detaled Placement Refnement wth Colorng Constrants Tao Ln Iowa State Unversty tln@astate.edu Chrs Chu Iowa State Unversty cnchu@astate.edu BSTRCT To mnmze the effect of process

More information

Parallel Numerics. 1 Preconditioning & Iterative Solvers (From 2016)

Parallel Numerics. 1 Preconditioning & Iterative Solvers (From 2016) Technsche Unverstät München WSe 6/7 Insttut für Informatk Prof. Dr. Thomas Huckle Dpl.-Math. Benjamn Uekermann Parallel Numercs Exercse : Prevous Exam Questons Precondtonng & Iteratve Solvers (From 6)

More information

AMath 483/583 Lecture 21 May 13, Notes: Notes: Jacobi iteration. Notes: Jacobi with OpenMP coarse grain

AMath 483/583 Lecture 21 May 13, Notes: Notes: Jacobi iteration. Notes: Jacobi with OpenMP coarse grain AMath 483/583 Lecture 21 May 13, 2011 Today: OpenMP and MPI versons of Jacob teraton Gauss-Sedel and SOR teratve methods Next week: More MPI Debuggng and totalvew GPU computng Read: Class notes and references

More information

Routability Driven Modification Method of Monotonic Via Assignment for 2-layer Ball Grid Array Packages

Routability Driven Modification Method of Monotonic Via Assignment for 2-layer Ball Grid Array Packages Routablty Drven Modfcaton Method of Monotonc Va Assgnment for 2-layer Ball Grd Array Pacages Yoch Tomoa Atsush Taahash Department of Communcatons and Integrated Systems, Toyo Insttute of Technology 2 12

More information

Mathematics 256 a course in differential equations for engineering students

Mathematics 256 a course in differential equations for engineering students Mathematcs 56 a course n dfferental equatons for engneerng students Chapter 5. More effcent methods of numercal soluton Euler s method s qute neffcent. Because the error s essentally proportonal to the

More information

Key words. Graphics processing unit, GPU, digital geometry, computational geometry, parallel computation, CUDA, OpenCL

Key words. Graphics processing unit, GPU, digital geometry, computational geometry, parallel computation, CUDA, OpenCL PROOF OF CORRECTNESS OF THE DIGITAL DELAUNAY TRIANGULATION ALGORITHM THANH-TUNG CAO, HERBERT EDELSBRUNNER, AND TIOW-SENG TAN Abstract. We prove that the dual of the dgtal Vorono dagram constructed by floodng

More information

Type-2 Fuzzy Non-uniform Rational B-spline Model with Type-2 Fuzzy Data

Type-2 Fuzzy Non-uniform Rational B-spline Model with Type-2 Fuzzy Data Malaysan Journal of Mathematcal Scences 11(S) Aprl : 35 46 (2017) Specal Issue: The 2nd Internatonal Conference and Workshop on Mathematcal Analyss (ICWOMA 2016) MALAYSIAN JOURNAL OF MATHEMATICAL SCIENCES

More information