On Two Segmentation Problems

Size: px
Start display at page:

Download "On Two Segmentation Problems"

Transcription

1 Journal of Algorthms 33, Ž Artcle ID jagm , avalable onlne at on On Two Segmentaton Problems Noga Alon* Department of Mathematcs, Raymond and Beerly Sacler Faculty of Exact Scences, Tel A Unersty, Tel A, Israel and Insttute for Adanced Study, Prnceton, New Jersey E-mal: noga@math.tau.ac.l and Benny Sudaov Department of Mathematcs, Raymond and Beerly Sacler Faculty of Exact Scences, Tel A Unersty, Tel A, Israel E-mal: sudaov@math.tau.ac.l Receved January 12, 1999; revsed Aprl 15, 1999 The hypercube segmentaton problem s the followng: Gven a set S of m vertces of the dscrete d-dmensonal cube 0, 14 d, fnd vertces P 1,..., P, P 4 0, 1 d and a parttons of S nto segments S 1,...,S so as to maxmze the sum Ý 1 Ýc S Pc, where s the overlap operator between two vertces of the d-dmensonal cube, defned to be the number of postons they have n common. Ths problem Ž among other ones. was consdered by Klenberg, Papadmtrou, and Raghavan, where the authors desgned a determnstc approxmaton algorthm that runs n polynomal tme for every fxed and produces a soluton whose value s wthn of the optmum, as well as a randomzed algorthm that runs n lnear tme for every fxed and produces a soluton whose expected value s wthn 0.7 of the optmum. Here we desgn an mproved approxmaton algorthm; for every fxed 0 and every fxed our algorthm produces n lnear tme a soluton whose value s wthn Ž 1. of the optmum. Therefore, for every fxed, ths s a polynomal approxmaton scheme for the problem. The algorthm s determnstc, but t s convenent to frst descrbe t as a randomzed algorthm and then to derandomze t usng some propertes of expander graphs. We also consder a segmented verson of the mnmum spannng tree problem, where we show that no approxmaton can be acheved n polynomal tme, unless P NP Academc Press * Research supported n part by a USAIsrael BSF grant, by the Mnerva Center for Geometry at Tel Avv Unversty, by Sloan Foundaton Grant , and by a State of New Jersey grant $30.00 Copyrght 1999 by Academc Press All rghts of reproducton n any form reserved.

2 174 ALON AND SUDAKOV 1. INTRODUCTION Motvated by the study of varous decson-mang procedures arsng n data mnng, Klenberg, Papadmtrou, and Raghavan ntroduced n 9 a new class of optmzaton problems, whch they called segmentaton problems. In these problems, a company has some nformaton about a set of customers C, and ts objectve s to choose Ž and produce. a prescrbed number of polces. The objectve s to optmze, over all possble choces of polces, the sum, over all customers c C, of the value assgned by c to the best polcy among the polces produced, accordng to hs ndvdual utlty functon. Once the polces are chosen, the set of customers s parttoned nto segments, where segment number conssts of all customers that pc polcy number. It turns out that n many cases, even when the optmzaton tas s trval for the nonsegmented case Ž 1., the correspondng optmzaton problem s NP-hard already for 2. In the present paper we study two problems of ths type. The frst one s the followng. THE HYPERCUBE SEGMENTATION PROBLEM. Gven a set S of m customers, each a vertex of the dscrete d-dmensonal cube 0, 14 d, fnd polces P 4 1,...,P, P 0, 1 d and a partton of S nto segments S,...,S so as to maxmze the sum 1 Ý Ý 1 cs P c, where s the overlap operator between two vertces of the d-dmensonal cube, defned to be the number of postons they have n common. Ths problem s consdered n 9, where the authors show that ts precse soluton s NP-hard even for 2. They desgn two approxmaton algorthms for the problem: The frst s a determnstc algorthm that runs n polynomal tme for every fxed and produces a soluton whose value s wthn 2' 2 2 Ž of the optmum. It s based on the nterestng observaton that for every set S 0, 14 d there s some P S so that for every x 0, 14 d, Ý cs Ž '. Ý Pc cs xc. The second s a randomzed algorthm that runs n lnear tme for every fxed and produces a soluton whose expected value s wthn 0.7 of the optmum.

3 TWO SEGMENTATION PROBLEMS 175 Here we desgn an mproved approxmaton algorthm; for every fxed 0 and every fxed our algorthm produces n lnear tme a soluton whose value s wthn Ž 1. of the optmum. Therefore, for every fxed ths s a polynomal tme approxmaton scheme for the problem. Our algorthm s determnstc, but t s convenent to frst descrbe t as a randomzed one and then to derandomze t usng some propertes of expander graphs. Ths mproves the performance rato as well as the runnng tme of the determnstc algorthm of 9 for all m, d, and. The randomzed algorthm of 9 s slghtly faster than ours for large, but the performance rato of our algorthm s much better. The second segmentaton problem we consder s the followng mnmzaton problem, whch s only mentoned brefly n 9. THE MINIMUM SPANNING TREE SEGMENTATION PROBLEM. Gven a connected graph G Ž V, E. and n nonnegatve functons f : E R, 1 n, fnd spannng trees T 1,...,T of G, so as to mnmze the sum n Ý 1 1j j mn f T, where f Ž T. Ý f Ž e. j e EŽT.. j We show that unless P NP, there s no polynomal tme algorthm that approxmates the optmal soluton of ths problem up to any fnte factor, even f 2. The rest of ths paper s organzed as follows. In Secton 2 we consder the hypercube segmentaton problem, descrbe our randomzed approxmaton algorthm, and present s derandomzaton. In Secton 3 we present the Ž smple. proof that there s no polynomal tme approxmaton algorthm for the mnmum spannng tree segmentaton problem, unless P NP. The fnal secton 4 contans some concludng remars. 2. THE HYPERCUBE SEGMENTATION PROBLEM In ths secton we present a polynomal approxmaton scheme for the hypercube segmentaton problem. Frst we descrbe a randomzed algorthm for ths problem and then we show how t can be derandomzed, usng some propertes of random wals on expanders Random Samplng Let S 0, 14 d be a set of m customers. Denote by fž P, S. Ý 4 c S Pc the total value of polcy P 0, 1 d for the customer set S S, where Pc s the number of coordnates n whch P and c agree.

4 176 ALON AND SUDAKOV A famly of polces P 1,...,P nduces a partton of the entre set S nto segments S 1,...,S by puttng c S nto the set S f Pc Pjc for all j and by breang tes arbtrarly. It s easy to see that ths partton maxmzes the value of the expresson Ý fž P, S. over all possble part- tons of S nto parts S 1,...,S. Therefore the segmentaton problem s equvalent to the problem of fndng a famly of optmal polces. Note that the optmal value of the problem s clearly at least md2. Ths value can be produced wthout segmentaton by pcng the majorty bt n each of the d coordnates. We frst descrbe a smple randomzed approxmaton algorthm for the hypercube segmentaton problem, whch for any fxed 0 produces a soluton whose expected value s wthn Ž 1. from optmal. For any fxed and the runnng tme of ths algorthm s lnear. ALGORITHM A, Ž.. Input: A set S of m customers, each beng a vertex of 0, 14 d. 1. Sample l Ž 2. customers from S wth repettons, randomly and ndependently, accordng to a unform dstrbuton. 2. For all possble parttons of the sample set nto at most segments do: 2.1. For each segment n the partton fnd an optmal polcy: a vector from 0, 14 d whch n each coordnate agrees wth the majorty of the elements of the segment. Ths gves a famly of polces Produce the segmentaton of the entre set S accordng to ths famly of polces. 3. Let S,...,S 1 be the optmal segmentaton obtaned from all possble parttons of the sample set Žnote that some of the sets S may be empty. and let P,1, be the correspondng famly of polces. Output: ŽS, P. for 1. Note that the number of all possble parttons of a set of sze l nto at most parts s O Ž l.. Therefore, the runnng tme of ths algorthm s Ž l1. OŽŽ 2. ln. O md e md. Ths s lnear n the length of the nput md for any fxed and and remans polynomal n ths length for each up to OŽlnŽ md. ln lnž md... To study the performance of the algorthm, let P 1,..., P be the optmal famly of polces and let S 1,...,S be the correspondng segmentaton of S. Denote by X the subset of S obtaned by our random samplng. Let X,..., X be the partton of X defned by X X S and let P,...,P 1 1 be the optmal famly of polces for ths segmentaton of X Žf X s empty, then P can be any vector.. Denote by S 1,...,S the partton of S nduced by the famly P 4. Snce the algorthm A, Ž. checs all possble

5 TWO SEGMENTATION PROBLEMS 177 parttons of X, we conclude that the value of ts soluton satsfes fž P, S. fž P, S. fž P, S.. Ý Ý Ý It thus suffces to prove that the expected value of Ý fž P, S. s at least Ž 1. of the optmum value Ý fž P, S.. Let S be a segment n the optmal partton of S, and let S Ž r. j, r 0, 1 be the subset of S of all vectors, whose jth coordnate equals to r. Put S Ž. 0 S Ž. 1 S. By step 2.1 of the algorthm A, Ž. j j j the jth coordnate P, n the polcy vector P j s the majorty bt over all the jth coordnates of the elements from X S. Thus we obtan that the event P j Pj can happen only f the number of elements n X whch belong to S Ž. 0 or to S Ž. j j 1 devates from ts expected value by at least Ž 2.ŽS lm.. Note that the value X S Ž r. j j s bnomally dstrbuted wth parameters l and S Ž r. j m. Therefore, usng the standard estmates for bnomal dstrbutons Ž see, e.g., 4, Appendx A. we obtan that Pr P P e j j 2 Ž jžs l m... Each such event contrbutes an addtve factor of S Ž. 0 S Ž. j j 1 S j to the total dfference between the optmal value and the expected result of the algorthm. By the above dscusson, ths mples that the expected value of ths dfference s at most Ý j Ž jž 2 S l m.. Pr P P S Ž 0. S Ž 1. S e. Ý j j j j j j Ž. ct Consder the functon gt te 2. It s easy to chec that gt Ž. attans ts ' Ž. 12 maxmum at t 1 2c and, hence, gt c for any real t. By tang 2 Ž. Ž j Ž S l m.. c to be S lm we obtan that e OŽ m S l. j ' Ž.. Therefore the expected value satsfes Ý Ý Ý j ž / 1 1 j E f P, S f P, S S e ( 2 Ž jžslm.. ž ' / d m Ý fž P, S. O S Ý Ý. l 1 j1 1 ' ' Ý Ž. Ý Ž. Ý( 1 1 j1 Ý Ž. ž ( By Jensen s nequalty Ý1 S Ý S m. Therefore, d m E f P, S f P, S O ' m ž / ž l / ' / f P, S O md. l 1

6 178 ALON AND SUDAKOV Usng the facts that l Ž 2. and that the optmal value of the hypercube segmentaton problem s at least md2, we conclude that wth the rght choce of the constant n the defnton of l, ž / 2 md E fž P, S. fž P, S. Ž 1. fž P, S.. Ý Ý Ý 1 1 Ths completes the proof that the approxmaton rato of the algorthm A, s at least Derandomzaton a random wals Let G Ž V, E. be a connected, nonbpartte, d-regular graph on m vertces. A random wal on G s equvalent to a tme reversble Marov chan. The states of the Marov chan are the vertces of the graph, and for any two vertces u and the transton probablty from u to, p 1d f Ž u,. u s an edge and zero otherwse. Note that by defnton the transton probablty matrx P Ž 1d. A, where A s the adjacency matrx of the graph G, and the unform dstrbuton s the statonary dstrbuton of ths wal Žsee, e.g., 13 for some basc results about random wals on graphs.. The egenvalues of P are reals, and the largest egenvalue Ž n absolute value. s 1. We denote the second largest Žn absolute value. egenvalue by and defne the egenalue gap to be 1. Ths quantty s drectly related to the expanson propertes of the graph G Žsee, e.g., 2, 3, 14, 15.. Roughly speang, s large f and only f G s a good expander. Let U be a subset of vertces of G. Consder a random wal on G startng from a vertex chosen unformly at random. We denote by tl the number of tmes the random wal vsts a vertex of U durng the frst l steps. The followng useful result about the behavor of tl was proved by Gllman Ž 7 followng 1, 5, 8.. THEOREM Let G Ž V, E. be a connected, regular graph on m ertces wth egenalue gap. Consder a random wal on G startng from a ertex chosen unformly at random. Let U be an arbtrary subset of ertces of G, U cm. Then for any l 2 20l Pr t cl 4e. l To use the above result for producng effcent determnstc algorthms, we need an explct constructon of regular graphs wth constant degree and large egenvalue gap. The best nown such constructons were gven by Lubotzy, Phllps, and Sarna 11 and ndependently by Marguls 12. For each d p 1, where p s a prme congruent to 1 modulo 4, they

7 TWO SEGMENTATION PROBLEMS 179 constructed an nfnte explct famly of d-regular graphs wth 2' d 1. ŽWe note that these graphs wll not have exactly m vertces for any m, but ths does not cause any real problem as we can tae a graph on n vertces such that m n Ž1 ož 1.. m. In ths case the number of vertces n the subset U, U cm s stll Žc ož 1.. n.. Tang, say, d 6 and 2' 5 we get an egenvalue gap of Ž 6 2' and thus we can use such a 6-regular expander for our purposes. Usng ths constructon together wth the result of Gllman we obtan the followng corollary. COROLLARY 2.2. Gen any set S of sze m and any natural number l we l can construct an explct famly F of sze 6 m of multsets F 4, F S, F l wth the followng property. Let F be a multset, chosen randomly and unformly from F, then for eery subset U S of sze cm l PrŽ F U cl. 4e. Proof. Let G be a 6-regular graph on the vertex set S wth egenvalue gap at least Ž 6 2' Let F F 4 be the famly of all possble wals of length l on G. Clearly the sze of F s 6 l m. A random element F of F corresponds to a random wal of length l on the graph G, whch starts n a unform dstrbuton. Note that by defnton F U t l. Therefore, Theorem 2.1 completes the proof of the corollary. A famly of subsets from Corollary 2.2 s the man ngredent of the followng determnstc algorthm for the hypercube segmentaton problem. ALGORITHM B, Ž.. Input: A set S of m customers, each beng a vertex of 0, 14 d. 1. Construct a famly F F 4 of sze OŽ6 l m. of multsubsets of S, Ž 2 where each F l 2., satsfyng the property n the asser- ton of Corollary For 1 F and for all possble parttons of F nto at most segments do: 2.1. For each segment n the partton fnd an optmal polcy: a vector from 0, 14 d whch n each coordnate agrees wth the majorty of the elements of the segment. Ths gves a famly of polces Produce the segmentaton of the entre set S accordng to ths famly of polces. 3. Let S,...,S 1 be the optmal segmentaton obtaned from all possble parttons of F for 1 F Ž note that some of the sets S may be empty. and let P, 1 be the correspondng famly of the best polces. Output: ŽS, P. for 1.

8 180 ALON AND SUDAKOV Ž l1 l. OŽŽ 2 2. ln. The runnng tme of ths algorthm s O 6 md e md. Therefore t s lnear n md for any fxed and and remans polynomal n md for any up to OŽŽlnŽ md. ln lnž md We clam that the above algorthm produces a soluton of value at least Ž 1. of the optmum. Indeed, consder a multset X Ft chosen randomly and ndpendently from the famly F. Let P 1,...,P be the optmal famly of polces and let S 1,..., S be the correspondng segmentaton of S. Let X 1,..., X be the partton of X defned by X X S and let P,...,P 1 be the optmal famly of polces for ths segmentaton of X Žf X s empty, then P can be any vector.. Denote by S 1,...,S the partton of S nduced by the famly P 4. As explaned n the prevous subsecton, t suffces to prove that the expected value of Ý fž P, S. s at least Ž 1. of the optmum value Ý fž P, S.. Let S be a segment n the optmal partton of S, and let S Ž r. j, r 0, 1 be the subset of S consstng of all vectors whose jth coordnate s r. Put S Ž. 0 S Ž. 1 S. By step 2.1 of the algorthm B, Ž. j j j the jth coordnate P, n the polcy vector P j s the majorty bt over all the jth coordnates of the elements from X S. Thus we obtan that the event P j Pj can happen only f the number of elements n X whch belong to S Ž. 0 or to S Ž. j j 1 devates from ts expected value by at least Ž 2.ŽS lm. j. Note that, by Corollary 2.2, X Ft satsfes the property that l PrŽ X U cl. 4e for any subset U S of sze cm. Therefore, we obtan that Pr P P e j j Ž 2 jž S 2 l m 2.. e ŽlŽ j S m. 2.. Each such event contrbutes an addtve factor of S Ž. 0 S Ž. j j 1 S j to the total dfference between the optmal value and the expected result of the algorthm. By the above dscusson, ths mples that the expected value of ths dfference s at most S j 2 ŽlŽ js m.. ÝPrŽ Pj Pj. SjŽ 0. SjŽ 1. mý e. m j j Ž. ct 2 12 As mentoned n Subsecton 2.1 the functon gt te c for any Ž. Ž. ŽlŽ js m. 2. real t. By tang c to be l we obtan that j Sm e OŽ 1 ' l.. Therefore, the expected value satsfes ž Ý / Ý Ý m S j 2 E f P, S f P, S m e j ŽlŽ S m j / md Ý fž P, S. O. ž ' l 1

9 TWO SEGMENTATION PROBLEMS 181 Ž 2 Usng the facts that l 2. and that the optmal value of the hypercube segmentaton problem s at least md2, we conclude that wth the rght choce of the constant n the defnton of l, the expected value satsfes ž / 2 md E fž P, S. fž P, S. Ž 1. fž P, S.. Ý Ý Ý 1 1 Thus, there exsts a partcular t and a partton of X Ft whch produces a segmentaton of S whose value s wthn Ž 1. from optmum. But then the algorthm B, Ž. wll fnd t n stage 3. Ths completes the proof of the correctness of the algorthm. 3. THE MINIMUM SPANNING TREE SEGMENTATION PROBLEM A hypergraph H s an ordered par H Ž V, E., where V s a fnte set Ž the ertex set., and E s a famly of dstnct subsets of V Ž the edge set..a hypergraph H Ž V, E. s 3-unform f all edges of H are of sze 3. The chromatc number of H s the mnmum number of colors requred to color all ts vertces so that no edge s monochromatc. Lovasz 10 Žsee also. 6 showed that t s NP-hard to determne whether a 3-unform hypergraph s 2-colorable. In ths secton we present a constructon for reducng the 2-colorablty problem for 3-unform hypergraphs to the segmented verson of the mnmum spannng tree. Usng ths constructon we deduce that unless P NP the mnmum spannng tree segmentaton problem does not have any polynomal tme approxmaton even for an extremely smple grapha path wth three parallel edges between each par of consecutve nodes. Suppose we are gven a 3-unform hypergraph H ŽVŽ H., EH. wth EH m edges. Let G ŽVG, EG. be a path of length m wth three parallel edges between each par of consecutve nodes. Each trple e, e, e of parallel edges n G corresponds to an edge Ž u,, w. u w of the hypergraph H and each edge n the trple s labeled by a vertex of the edge Ž u,, w.. For every vertex u VŽ H. defne a weght functon fu on the edges of G wth f Ž e., e EG u beng one f and only f the edge e s labeled by the vertex u and f Ž e. u 0 otherwse. We clam that the chromatc number of the hypergraph H s equal to two f and only f there exsts a par T, T of spannng trees of G such that 1 2 Ý u 12 uv H mn f Ž T. 0.

10 182 ALON AND SUDAKOV 4 To prove ths clam assume, frst, that c : V H 1, 2 s a 2-colorng of the vertces of H wth no monochromatc edges. Denote by G, 1, 2, the subgraph of G spanned by all edges, correspondng to the vertces of H wth color. Snce no edge of the hypergraph H s monochromatc we obtan that from every trple of parallel edges n G at least one belongs to G, 1, 2. Therefore each of the subgraphs G1 and G2 contans a spannng tree T of G. Thus, t s enough to prove that for any u VŽ H. at least one of the values f Ž G. u, 1, 2, s equal to zero. To do so, consder G for 3 cu. By defnton G contans no edges corre- spondng to u and thus f Ž G. 0. Ths mples that Ý u 0 mn f Ž T. mn f Ž G. 0. Ý u u uv H uv H Now assume that there exsts a par T1 and T2 of spannng trees of G such that mn f Ž T. 0 for every vertex u VŽ H.. Let V, 1, 2, 1 2 u be the subset of vertces of H whch correspond to the labels of the edges n the tree T. Consder a vertex colorng of the hypergraph H by two colors such that all vertces n V, 1, 2, are colored by the color and all the remanng vertces are colored arbtrarly. We need to prove that no edge of H s monochromatc and no vertex gets two colors smultaneously. Ths wll mply that the hypergraph H s 2-colorable. Note frst, that the subsets V1 and V2 are dsjont. Indeed, assume ths s false and let u be a vertex of H whch belongs to V V. Then the spannng trees T and T both contan an edge of G whch s labeled by the vertex u. By the defnton of the functon f t follows that f Ž T., f Ž T. u u 1 u 2 0, contradc- ton. Hence each vertex of H gets only one color. Snce T s a spannng tree of G t has at least one edge from every trple of parallel edges n G. Therefore V, 1, 2, ntersects every edge of the hypergraph H n at least one vertex. Ths mples that there are no monochromatc edges. Applyng now the result of Lovasz, we get that f P NP, then there s no polynomal algorthm to decde whether the optmal value n the mnmum spannng tree segmentaton problem s strctly postve, even for the case of two trees. Ths mples the followng. THEOREM 3.1. Gen a connected graph G Ž V, E., V n, and a famly f,1m, of nonnegate weght functons on EŽ G., t s mpossble to approxmate n polynomal tme n m and n the optmal alue of the mnmum spannng tree segmentaton problem for G Ž een for 2. wthn any fnte factor, unless P NP. 4. CONCLUDING REMARKS The class of segmentaton problems contans several nterestng algorthmc questons, and our present paper deals wth two of them.

11 TWO SEGMENTATION PROBLEMS 183 It s not dffcult to extend the problem and results of Secton 2 to hypercubes over a larger fxed alphabet. We omt the smple detals. The hardness result for the mnmum spannng tree segmentaton problem holds, as mentoned n Secton 3, even f the nput graph s the path wth three parallel edges between every two consecutve vertces. Smlarly, t holds for many other graphs, ncludng every n vertex graph that contans a spannng subgraph whch s a subdvson of a graph obtaned from any path by replacng each of Žn. edges by three parallel ones. Ths ncludes the graphs of the d-cubes, as well as many other ones. Some of our technques here are useful n the study of other segmentaton problems. One of these s the catalog segmentaton problem Žn the dense case. consdered n 9. Suppose that we have a set of n customers and a set U of m tems. For each customer we are gven a subset of tems ths customer les. We wsh to create a catalog wth r tems to be sent to the customers. Our objectve s to maxmze the sum, over all tems, of the number of customers that le ths tem. The smple optmal soluton s, of course, to select the r most popular tems. However, f nstead of one catalog we can create dfferent ones, each wth r tems, sendng one of them to each customer, we can sometmes ensure a much bgger value than that gven by a sngle catalog. Ths leads to the catalog segmentaton problem, whose precse formulaton s the followng. THE CATALOG SEGMENTATION PROBLEM. Gven a set U of sze m and a famly S 1,...,Sn of n subsets of U, fnd subsets X 1,..., X of U, each of sze r, so as to maxmze the sum n Ý 1 1j j max S X. Ths problem s consdered n 9, where the authors prove that t s NP-hard even for 2. For fxed and for the specal Ž dense. case n whch each customer les at least a fracton of all tems Žthat s, S U for all., they desgn a randomzed polynomal tme approxma- ton scheme. Our technque here can be used to provde a determnstc polynomal tme approxmaton scheme for ths specal case. Wthout the densty assumpton, the problem appears to be much more dffcult, and as mentoned n 9, even the problem of mprovng the trval 12 approxmaton for 2 n polynomal tme seems dffcult. REFERENCES 1. M. Ajta, J. Komlos, and E. Szemered, Determnstc smulaton n logspace, n Proc. of the 19th ACM STOC, pp , Assoc. Comput. Mach., New Yor, N. Alon, Egenvalues and expanders, Combnatorca 6 Ž 1986., 8396.

12 184 ALON AND SUDAKOV 3. N. Alon and V. D. Mlman, Egenvalues, expanders and superconcentrators, n Proc. 25th Annual Symp. on Foundatons of Computer Scence, Snger Island, Florda, pp , IEEE Press, New Yor, , sopermetrc nequaltes for graphs and superconcentrators, J. Combn. Theory Ser. B 38 Ž 1985., N. Alon and J. Spencer, The Probablstc Method, Wley, New Yor, A. Cohen and A. Wgderson, Dspersers, determnstc amplfcaton, and wea random sources, n Proc. of the 30th IEEE FOCS, pp. 1419, IEEE Press, New Yor, M. R. Garey and D. S. Johnson, Computers and Intractablty: a Gude to the Theory of N P-Completeness, Freeman, New Yor, D. Gllman, A Chernoff bound for random wals on expander graphs, n Proc. of the 34th IEEE FOCS, pp , IEEE Press, New Yor, SIAM J. of Computng 27 Ž 1998., R. Impaglazzo and D. Zucerman, How to recycle random bts, n Proc. of the 30th IEEE FOCS, pp , IEEE Press, New Yor, J. Klenberg, C. Papadmtrou, and P. Raghavan, Segmentaton problems, n Proc. of the 30th ACM STOC, pp , Assoc. Comput. Mach., New Yor, L. Lovasz, Coverngs and colorngs of hypergraphs, n Proc. 4th S.E. Conf. on Combnatorcs, Graph Theory and Computng, 1973 Utltas Math., A. Lubotzy, R. Phllps, and P. Sarna, Explct expanders and the Ramanujan conjectures, n Proc. of the 18th ACM Symp. on the Theory of Computng, pp , Ramanujan graphs, Combnatorca 8 Ž 1988., G. A. Marguls, Explct grou-theoretcal constructons of combnatoral schemes and ther applcaton to the desgn of expanders and superconcentrators, n Problemy Peredach Informats, pp. 5160, Vol. 24, 1988 Ž n Russan.. ŽEnglsh translaton n Problems of Informaton Transmsson, pp. 3946, Vol. 24, R. Motwan and P. Raghavan, Randomzed Algorthms, Cambrdge Unv. Press, Cambrdge, A. Snclar and M. R. Jerrum, Approxmate countng, unform generaton and rapdly mxng Marov chans, Inform. and Comput. 82 Ž 1989., R. M. Tanner, Explct constructon of concentrators from generalzed N-gons, SIAM J. Alg. Dsc. Meth. 5 Ž 1984.,

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

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

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

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

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

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

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

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

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

Private Information Retrieval (PIR)

Private Information Retrieval (PIR) 2 Levente Buttyán Problem formulaton Alce wants to obtan nformaton from a database, but she does not want the database to learn whch nformaton she wanted e.g., Alce s an nvestor queryng a stock-market

More information

U.C. Berkeley CS294: Beyond Worst-Case Analysis Handout 5 Luca Trevisan September 7, 2017

U.C. Berkeley CS294: Beyond Worst-Case Analysis Handout 5 Luca Trevisan September 7, 2017 U.C. Bereley CS294: Beyond Worst-Case Analyss Handout 5 Luca Trevsan September 7, 207 Scrbed by Haars Khan Last modfed 0/3/207 Lecture 5 In whch we study the SDP relaxaton of Max Cut n random graphs. Quc

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

Kent State University CS 4/ Design and Analysis of Algorithms. Dept. of Math & Computer Science LECT-16. Dynamic Programming

Kent State University CS 4/ Design and Analysis of Algorithms. Dept. of Math & Computer Science LECT-16. Dynamic Programming CS 4/560 Desgn and Analyss of Algorthms Kent State Unversty Dept. of Math & Computer Scence LECT-6 Dynamc Programmng 2 Dynamc Programmng Dynamc Programmng, lke the dvde-and-conquer method, solves problems

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

Sum of Linear and Fractional Multiobjective Programming Problem under Fuzzy Rules Constraints

Sum of Linear and Fractional Multiobjective Programming Problem under Fuzzy Rules Constraints Australan Journal of Basc and Appled Scences, 2(4): 1204-1208, 2008 ISSN 1991-8178 Sum of Lnear and Fractonal Multobjectve Programmng Problem under Fuzzy Rules Constrants 1 2 Sanjay Jan and Kalash Lachhwan

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

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

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

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

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

Smoothing Spline ANOVA for variable screening

Smoothing Spline ANOVA for variable screening Smoothng Splne ANOVA for varable screenng a useful tool for metamodels tranng and mult-objectve optmzaton L. Rcco, E. Rgon, A. Turco Outlne RSM Introducton Possble couplng Test case MOO MOO wth Game Theory

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

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

CS 534: Computer Vision Model Fitting

CS 534: Computer Vision Model Fitting CS 534: Computer Vson Model Fttng Sprng 004 Ahmed Elgammal Dept of Computer Scence CS 534 Model Fttng - 1 Outlnes Model fttng s mportant Least-squares fttng Maxmum lkelhood estmaton MAP estmaton Robust

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

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

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

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

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

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

Support Vector Machines

Support Vector Machines /9/207 MIST.6060 Busness Intellgence and Data Mnng What are Support Vector Machnes? Support Vector Machnes Support Vector Machnes (SVMs) are supervsed learnng technques that analyze data and recognze patterns.

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

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

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

Biostatistics 615/815

Biostatistics 615/815 The E-M Algorthm Bostatstcs 615/815 Lecture 17 Last Lecture: The Smplex Method General method for optmzaton Makes few assumptons about functon Crawls towards mnmum Some recommendatons Multple startng ponts

More information

Subspace clustering. Clustering. Fundamental to all clustering techniques is the choice of distance measure between data points;

Subspace clustering. Clustering. Fundamental to all clustering techniques is the choice of distance measure between data points; Subspace clusterng Clusterng Fundamental to all clusterng technques s the choce of dstance measure between data ponts; D q ( ) ( ) 2 x x = x x, j k = 1 k jk Squared Eucldean dstance Assumpton: All features

More information

Problem Definitions and Evaluation Criteria for Computational Expensive Optimization

Problem Definitions and Evaluation Criteria for Computational Expensive Optimization Problem efntons and Evaluaton Crtera for Computatonal Expensve Optmzaton B. Lu 1, Q. Chen and Q. Zhang 3, J. J. Lang 4, P. N. Suganthan, B. Y. Qu 6 1 epartment of Computng, Glyndwr Unversty, UK Faclty

More information

Helsinki University Of Technology, Systems Analysis Laboratory Mat Independent research projects in applied mathematics (3 cr)

Helsinki University Of Technology, Systems Analysis Laboratory Mat Independent research projects in applied mathematics (3 cr) Helsnk Unversty Of Technology, Systems Analyss Laboratory Mat-2.08 Independent research projects n appled mathematcs (3 cr) "! #$&% Antt Laukkanen 506 R ajlaukka@cc.hut.f 2 Introducton...3 2 Multattrbute

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

Harvard University CS 101 Fall 2005, Shimon Schocken. Assembler. Elements of Computing Systems 1 Assembler (Ch. 6)

Harvard University CS 101 Fall 2005, Shimon Schocken. Assembler. Elements of Computing Systems 1 Assembler (Ch. 6) Harvard Unversty CS 101 Fall 2005, Shmon Schocken Assembler Elements of Computng Systems 1 Assembler (Ch. 6) Why care about assemblers? Because Assemblers employ some nfty trcks Assemblers are the frst

More information

NUMERICAL SOLVING OPTIMAL CONTROL PROBLEMS BY THE METHOD OF VARIATIONS

NUMERICAL SOLVING OPTIMAL CONTROL PROBLEMS BY THE METHOD OF VARIATIONS ARPN Journal of Engneerng and Appled Scences 006-017 Asan Research Publshng Network (ARPN). All rghts reserved. NUMERICAL SOLVING OPTIMAL CONTROL PROBLEMS BY THE METHOD OF VARIATIONS Igor Grgoryev, Svetlana

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

On a Local Protocol for Concurrent File Transfers

On a Local Protocol for Concurrent File Transfers On a Local Protocol for Concurrent Fle Transfers MohammadTagh Hajaghay Dep. of Computer Scence Unversty of Maryland College Park, MD hajagha@cs.umd.edu Roht Khandekar IBM T.J. Watson Research Center 19

More information

A Five-Point Subdivision Scheme with Two Parameters and a Four-Point Shape-Preserving Scheme

A Five-Point Subdivision Scheme with Two Parameters and a Four-Point Shape-Preserving Scheme Mathematcal and Computatonal Applcatons Artcle A Fve-Pont Subdvson Scheme wth Two Parameters and a Four-Pont Shape-Preservng Scheme Jeqng Tan,2, Bo Wang, * and Jun Sh School of Mathematcs, Hefe Unversty

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

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

A mathematical programming approach to the analysis, design and scheduling of offshore oilfields

A mathematical programming approach to the analysis, design and scheduling of offshore oilfields 17 th European Symposum on Computer Aded Process Engneerng ESCAPE17 V. Plesu and P.S. Agach (Edtors) 2007 Elsever B.V. All rghts reserved. 1 A mathematcal programmng approach to the analyss, desgn and

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

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

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

The Codesign Challenge

The Codesign Challenge ECE 4530 Codesgn Challenge Fall 2007 Hardware/Software Codesgn The Codesgn Challenge Objectves In the codesgn challenge, your task s to accelerate a gven software reference mplementaton as fast as possble.

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

Reading. 14. Subdivision curves. Recommended:

Reading. 14. Subdivision curves. Recommended: eadng ecommended: Stollntz, Deose, and Salesn. Wavelets for Computer Graphcs: heory and Applcatons, 996, secton 6.-6., A.5. 4. Subdvson curves Note: there s an error n Stollntz, et al., secton A.5. Equaton

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

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

LP Decoding. Martin J. Wainwright. Electrical Engineering and Computer Science UC Berkeley, CA,

LP Decoding. Martin J. Wainwright. Electrical Engineering and Computer Science UC Berkeley, CA, Jon Feldman LP Decodng Industral Engneerng and Operatons Research Columba Unversty, New York, NY, 10027 jonfeld@eor.columba.edu Martn J. Wanwrght Electrcal Engneerng and Computer Scence UC Berkeley, CA,

More information

A MOVING MESH APPROACH FOR SIMULATION BUDGET ALLOCATION ON CONTINUOUS DOMAINS

A MOVING MESH APPROACH FOR SIMULATION BUDGET ALLOCATION ON CONTINUOUS DOMAINS Proceedngs of the Wnter Smulaton Conference M E Kuhl, N M Steger, F B Armstrong, and J A Jones, eds A MOVING MESH APPROACH FOR SIMULATION BUDGET ALLOCATION ON CONTINUOUS DOMAINS Mark W Brantley Chun-Hung

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

Range images. Range image registration. Examples of sampling patterns. Range images and range surfaces

Range images. Range image registration. Examples of sampling patterns. Range images and range surfaces Range mages For many structured lght scanners, the range data forms a hghly regular pattern known as a range mage. he samplng pattern s determned by the specfc scanner. Range mage regstraton 1 Examples

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

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

Minimization of the Expected Total Net Loss in a Stationary Multistate Flow Network System

Minimization of the Expected Total Net Loss in a Stationary Multistate Flow Network System Appled Mathematcs, 6, 7, 793-87 Publshed Onlne May 6 n ScRes. http://www.scrp.org/journal/am http://dx.do.org/.436/am.6.787 Mnmzaton of the Expected Total Net Loss n a Statonary Multstate Flow Networ System

More information

Machine Learning. Topic 6: Clustering

Machine Learning. Topic 6: Clustering Machne Learnng Topc 6: lusterng lusterng Groupng data nto (hopefully useful) sets. Thngs on the left Thngs on the rght Applcatons of lusterng Hypothess Generaton lusters mght suggest natural groups. Hypothess

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

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

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

Graph-based Clustering

Graph-based Clustering Graphbased Clusterng Transform the data nto a graph representaton ertces are the data ponts to be clustered Edges are eghted based on smlarty beteen data ponts Graph parttonng Þ Each connected component

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

3. CR parameters and Multi-Objective Fitness Function

3. CR parameters and Multi-Objective Fitness Function 3 CR parameters and Mult-objectve Ftness Functon 41 3. CR parameters and Mult-Objectve Ftness Functon 3.1. Introducton Cogntve rados dynamcally confgure the wreless communcaton system, whch takes beneft

More information

cos(a, b) = at b a b. To get a distance measure, subtract the cosine similarity from one. dist(a, b) =1 cos(a, b)

cos(a, b) = at b a b. To get a distance measure, subtract the cosine similarity from one. dist(a, b) =1 cos(a, b) 8 Clusterng 8.1 Some Clusterng Examples Clusterng comes up n many contexts. For example, one mght want to cluster journal artcles nto clusters of artcles on related topcs. In dong ths, one frst represents

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

Empirical Distributions of Parameter Estimates. in Binary Logistic Regression Using Bootstrap

Empirical Distributions of Parameter Estimates. in Binary Logistic Regression Using Bootstrap Int. Journal of Math. Analyss, Vol. 8, 4, no. 5, 7-7 HIKARI Ltd, www.m-hkar.com http://dx.do.org/.988/jma.4.494 Emprcal Dstrbutons of Parameter Estmates n Bnary Logstc Regresson Usng Bootstrap Anwar Ftranto*

More information

Performance Evaluation of Information Retrieval Systems

Performance Evaluation of Information Retrieval Systems Why System Evaluaton? Performance Evaluaton of Informaton Retreval Systems Many sldes n ths secton are adapted from Prof. Joydeep Ghosh (UT ECE) who n turn adapted them from Prof. Dk Lee (Unv. of Scence

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

A New Token Allocation Algorithm for TCP Traffic in Diffserv Network

A New Token Allocation Algorithm for TCP Traffic in Diffserv Network A New Token Allocaton Algorthm for TCP Traffc n Dffserv Network A New Token Allocaton Algorthm for TCP Traffc n Dffserv Network S. Sudha and N. Ammasagounden Natonal Insttute of Technology, Truchrappall,

More information

Unsupervised Learning

Unsupervised Learning Pattern Recognton Lecture 8 Outlne Introducton Unsupervsed Learnng Parametrc VS Non-Parametrc Approach Mxture of Denstes Maxmum-Lkelhood Estmates Clusterng Prof. Danel Yeung School of Computer Scence and

More information

An Iterative Solution Approach to Process Plant Layout using Mixed Integer Optimisation

An Iterative Solution Approach to Process Plant Layout using Mixed Integer Optimisation 17 th European Symposum on Computer Aded Process Engneerng ESCAPE17 V. Plesu and P.S. Agach (Edtors) 2007 Elsever B.V. All rghts reserved. 1 An Iteratve Soluton Approach to Process Plant Layout usng Mxed

More information

Outline. Type of Machine Learning. Examples of Application. Unsupervised Learning

Outline. Type of Machine Learning. Examples of Application. Unsupervised Learning Outlne Artfcal Intellgence and ts applcatons Lecture 8 Unsupervsed Learnng Professor Danel Yeung danyeung@eee.org Dr. Patrck Chan patrckchan@eee.org South Chna Unversty of Technology, Chna Introducton

More information

Proper Choice of Data Used for the Estimation of Datum Transformation Parameters

Proper Choice of Data Used for the Estimation of Datum Transformation Parameters Proper Choce of Data Used for the Estmaton of Datum Transformaton Parameters Hakan S. KUTOGLU, Turkey Key words: Coordnate systems; transformaton; estmaton, relablty. SUMMARY Advances n technologes and

More information

DESIGNING TRANSMISSION SCHEDULES FOR WIRELESS AD HOC NETWORKS TO MAXIMIZE NETWORK THROUGHPUT

DESIGNING TRANSMISSION SCHEDULES FOR WIRELESS AD HOC NETWORKS TO MAXIMIZE NETWORK THROUGHPUT DESIGNING TRANSMISSION SCHEDULES FOR WIRELESS AD HOC NETWORKS TO MAXIMIZE NETWORK THROUGHPUT Bran J. Wolf, Joseph L. Hammond, and Harlan B. Russell Dept. of Electrcal and Computer Engneerng, Clemson Unversty,

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

LECTURE : MANIFOLD LEARNING

LECTURE : MANIFOLD LEARNING LECTURE : MANIFOLD LEARNING Rta Osadchy Some sldes are due to L.Saul, V. C. Raykar, N. Verma Topcs PCA MDS IsoMap LLE EgenMaps Done! Dmensonalty Reducton Data representaton Inputs are real-valued vectors

More information

2x x l. Module 3: Element Properties Lecture 4: Lagrange and Serendipity Elements

2x x l. Module 3: Element Properties Lecture 4: Lagrange and Serendipity Elements Module 3: Element Propertes Lecture : Lagrange and Serendpty Elements 5 In last lecture note, the nterpolaton functons are derved on the bass of assumed polynomal from Pascal s trangle for the fled varable.

More information

SLAM Summer School 2006 Practical 2: SLAM using Monocular Vision

SLAM Summer School 2006 Practical 2: SLAM using Monocular Vision SLAM Summer School 2006 Practcal 2: SLAM usng Monocular Vson Javer Cvera, Unversty of Zaragoza Andrew J. Davson, Imperal College London J.M.M Montel, Unversty of Zaragoza. josemar@unzar.es, jcvera@unzar.es,

More information

CHAPTER 2 PROPOSED IMPROVED PARTICLE SWARM OPTIMIZATION

CHAPTER 2 PROPOSED IMPROVED PARTICLE SWARM OPTIMIZATION 24 CHAPTER 2 PROPOSED IMPROVED PARTICLE SWARM OPTIMIZATION The present chapter proposes an IPSO approach for multprocessor task schedulng problem wth two classfcatons, namely, statc ndependent tasks and

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

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

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

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

Investigations of Topology and Shape of Multi-material Optimum Design of Structures

Investigations of Topology and Shape of Multi-material Optimum Design of Structures Advanced Scence and Tecnology Letters Vol.141 (GST 2016), pp.241-245 ttp://dx.do.org/10.14257/astl.2016.141.52 Investgatons of Topology and Sape of Mult-materal Optmum Desgn of Structures Quoc Hoan Doan

More information

A Facet Generation Procedure. for solving 0/1 integer programs

A Facet Generation Procedure. for solving 0/1 integer programs A Facet Generaton Procedure for solvng 0/ nteger programs by Gyana R. Parja IBM Corporaton, Poughkeepse, NY 260 Radu Gaddov Emery Worldwde Arlnes, Vandala, Oho 45377 and Wlbert E. Wlhelm Teas A&M Unversty,

More information

Network Coding as a Dynamical System

Network Coding as a Dynamical System Network Codng as a Dynamcal System Narayan B. Mandayam IEEE Dstngushed Lecture (jont work wth Dan Zhang and a Su) Department of Electrcal and Computer Engneerng Rutgers Unversty Outlne. Introducton 2.

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

Concurrent Apriori Data Mining Algorithms

Concurrent Apriori Data Mining Algorithms Concurrent Apror Data Mnng Algorthms Vassl Halatchev Department of Electrcal Engneerng and Computer Scence York Unversty, Toronto October 8, 2015 Outlne Why t s mportant Introducton to Assocaton Rule Mnng

More information

CS434a/541a: Pattern Recognition Prof. Olga Veksler. Lecture 15

CS434a/541a: Pattern Recognition Prof. Olga Veksler. Lecture 15 CS434a/541a: Pattern Recognton Prof. Olga Veksler Lecture 15 Today New Topc: Unsupervsed Learnng Supervsed vs. unsupervsed learnng Unsupervsed learnng Net Tme: parametrc unsupervsed learnng Today: nonparametrc

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

Approximating Clique and Biclique Problems*

Approximating Clique and Biclique Problems* Ž. JOURNAL OF ALGORITHMS 9, 17400 1998 ARTICLE NO. AL980964 Approxmatng Clque and Bclque Problems* Dort S. Hochbaum Department of Industral Engneerng and Operatons Research and Walter A. Haas School of

More information

Assembler. Shimon Schocken. Spring Elements of Computing Systems 1 Assembler (Ch. 6) Compiler. abstract interface.

Assembler. Shimon Schocken. Spring Elements of Computing Systems 1 Assembler (Ch. 6) Compiler. abstract interface. IDC Herzlya Shmon Schocken Assembler Shmon Schocken Sprng 2005 Elements of Computng Systems 1 Assembler (Ch. 6) Where we are at: Human Thought Abstract desgn Chapters 9, 12 abstract nterface H.L. Language

More information

An Efficient Genetic Algorithm with Fuzzy c-means Clustering for Traveling Salesman Problem

An Efficient Genetic Algorithm with Fuzzy c-means Clustering for Traveling Salesman Problem An Effcent Genetc Algorthm wth Fuzzy c-means Clusterng for Travelng Salesman Problem Jong-Won Yoon and Sung-Bae Cho Dept. of Computer Scence Yonse Unversty Seoul, Korea jwyoon@sclab.yonse.ac.r, sbcho@cs.yonse.ac.r

More information