Improved Random Graph Isomorphism

Size: px
Start display at page:

Download "Improved Random Graph Isomorphism"

Transcription

1 Improved Radom Graph Isomorphism Tomek Czajka Gopal Paduraga Abstract Caoical labelig of a graph cosists of assigig a uique label to each vertex such that the labels are ivariat uder isomorphism. Such a labelig ca be used to solve the graph isomorphism problem. We give a simple, liear time, high [ probability algorithm for the caoical labelig of a G, p radom graph for p ω l 4 / l l, ω l 4 / l l ]. Our result covers a gap i the rage of p i which o algorithm was kow to work with high probability. Together with a previous result by Bollobas, the radom graph isomorphism problem ca be solved efficietly for p [Θ l /, Θ l /]. Itroductio Radom graph isomorphism is a classic problem i the algorithmic theory of radom graphs [6, 4, ]. I this problem, we are give a radom G, p Erdös-Reyi graph ad aother graph H. The graph isomorphism problem is to decide whether the two graphs are isomorphic ad if so, fid a isomorphism betwee them. A isomorphism is a oe-to-oe mappig of vertices of G oto the vertices of H such that the edges of G are mapped oto the edges of H. Graph isomorphism ca be solved by a caoical labelig of a graph [, 2, 3]. Caoical labelig of a graph cosists of assigig a uique label to each vertex such that the labels are ivariat uder isomorphism. More formally, give a class K of graphs which is closed uder isomorphism, a caoical labelig algorithm assigs the umbers,..., to the vertices of each graph i K, havig vertices, i such a way that two graphs i K are isomorphic if ad oly if the obtaied labeled graphs coicide. The graph isomorphism problem ca be solved usig a caoical labelig of a graph as follows e.g., [2]. Give a caoical labelig algorithm for K, ad a algorithm decidig whether a give graph belogs to K or ot, we also have a algorithm decidig whether X is isomorphic to Y for ay two graphs X, Y provided X K. Namely, if Y K the X is ot isomorphic to Y ; ad if Y K the we have to check whether X ad Y coicide after caoical labelig. The first caoical labelig algorithm for radom graphs was give by Babai, Erdös, ad Selkow []. They gave a simple O 2 time liear i the umber of edges algorithm for Departmet of Computer Sciece, Purdue Uiversity, 250 N. Uiv St., West Lafayette, IN 47907, USA. {czajkat, gopal}@cs.purdue.edu.

2 caoical labelig of G, /2 graphs with probability of failure bouded by O /7. Sice the G, /2 model assigs a uiform distributio over all graphs a total of 2 2 graphs the above result ca be iterpreted as a algorithm that succeeds o almost all graphs. This result was stregtheed by Karp [7], Lipto [9], ad Babai ad Kucera [2]. I particular, Babai ad Kucera [2] give a caoical labelig algorithm for the G, /2 model that also rus i O 2 time with expoetial Oc probability of rejectio i.e., ot belogig to the caoical labelig class. I additio, they show that the rejected graphs ca be hadled such as to obtai a caoical labelig algorithm of all graphs with liear expected time, i.e., the average ruig time over the 2 2 graphs is O 2. The questio that motivates this paper ad the lie of research discussed ext is this: Ca we show a high probability caoical labelig algorithm for all p p p? Previous results have established this for various rages of p. Bollobas [4, Theorem 3.7, page 74] gives a high probability liear time caoical labelig algorithm for G, p, for p ω /5 l ad p /2, i.e., for p [ ω /5 l, /2 ]. Note that for p /2 oe ca equivaletly cosider the complemet graph. The probability of algorithm failure is O. We ote that the above algorithm as well as the algorithms o G, /2 cited earlier [, 7, 9] all exploit properties of the degree sequece of a radom graph. Aother result of Bollobas [5] shows that caoical labelig ca be doe efficietly o much sparser graphs, i.e., for Θ l p Θ /2. This result uses properties of the distace sequece of a vertex of a graph. The distace sequece of a vertex x is the list {d i x, i } where d i x is the umber of vertices at distace i from x. This algorithm takes O 3 time sice all pairs of distaces have to be computed. It is also kow that if 0 p o 3/2 the the isomorphism problem is trivial [4] with high probability. To summarize, the rages of p i which caoical labelig ad hece isomorphism has bee solved with high probability i polyomial time is: [ 0, o 3/2 ], [ Θ l ], o, [ ω /5 l, /2 ] /2 For each rage we have a algorithm with polyomially small failure probability O c for some costat c > 0. For p /2 the failure probability is expoetially small Oc for some 0 < c <. This paper covers the gap betwee the last two rages. We show a liear time, high probability caoical labelig algorithm for G, p graphs for p ωl 4 / l l ad p /2. Here, high probability will mea probability at least O α for every costat α > 0. Our result sigificatly exteds the rage of p compared to [4, Theorem 3.7, page 74] ad covers the gap betwee the secod ad third iterval i. Our algorithm is similar to the Procedure A i [2], but simpler. However, they aalyze the algorithm oly for the G, /2 radom graph model. Our aalysis is differet from [2] ad applies for a much larger rage of p. Our aalysis uses a edge exposure martigale to aalyze, give two vertices, how the degrees of their eighbors chage as edges are added. This approach allows us to establish 2

3 good bouds o the probability of the two degree eighborhoods beig the same, for a wide rage of p. 2 The Algorithm The idea of the algorithm is to distiguish all vertices of a graph usig the degrees of their eighbors. We prove that this allows us to distiguish all vertices of a G, p graph for sufficietly large p with high probability. Defie the degree eighborhood of a vertex as a sorted list of the degrees of the vertex s eighbors. We ote that the degree ad hece also the degree eighborhood are ivariats uder isomorphism. We use the degree eighborhood list to assig our caoical labelig, i.e., the label of a vertex is its degree eighborhood list. The caoical labelig algorithm is as follows. It takes as iput a graph G. The algorithm tries to assig a caoical labelig to the vertices of G by computig the degree eighborhood of each vertex. If the degree eighborhoods are ot distict the algorithm fails. To check for isomorphism, we ca repeat the same procedure for H ad the check whether the edges of G ad H are same uder the labeligs.. Compute vertex degrees. 2. Compute degree eighborhoods for each vertex. 3. Sort vertices by degree eighborhoods i lexicographical order. 4. If the degree eighborhoods are ot distict for each vertex, FAIL. 5. Number the vertices i the sorted order. Theorem 2. If the algorithm does ot fail, it outputs a caoical labelig of G. Proof: Steps ad 2 are ivariat uder isomorphism. If the algorithm does ot fail, the computed degree eighborhoods are all distict, hece steps 3 ad 5 also are isomorphism ivariat. Therefore the computed labelig is a caoical labelig. Theorem 2.2 The algorithm ca be implemeted i liear time i graph s size OV +E. Proof: Computig vertex degrees ca clearly be doe i liear time. Step 2 ca be doe i liear time by sortig all pairs vertex, eighbor degree i lexicographical order usig radix-sort [8]. Step 3 is strig sortig over the alphabet {0,..., }, this ca be doe i liear time [8]. Oce we have a liear time caoical labelig algorithm, we ca test for graph isomorphism i liear time: just compute the caoical labelig for both graphs G ad H. Suppose the algorithm succeeds for G we will prove this happes with high probability. If the algorithm fails for H, the graphs are ot isomorphic. If it succeeds for H, sort the edges of both graphs lexicographically by the labels of their edpoits usig radix-sort ad compare the lists. 3

4 3 Failure Probability Aalysis Before we ca aalyze the algorithm, we eed some prelimiary lemmas o probability bouds cocerig the biomial distributio. p ad other variables appearig i the proofs are fuctios of. We will assume throughout the rest of the paper that 0 < p /2. All asymptotic otatios such as O Op are take as. Let B, p deote the biomial distributio ad bk;, p PrB, p k. Thus: bk;, p p k p k k Lemma 3. If Ω the bk;, p is maximum for k p or k p ad max bk;, p Θ k Proof: See [4]. The formula follows from Stirlig s approximatio, i fact for p ω : max bk;, p k 2πp p Lemma 3.2 If p ω the: l bk;, p bk ;, p O l bk;, p bk;, p O l bk;, p bk ;, p O Proof: X bk;, p bk ;, p p k q k k p k q k k bk;, p k k p k q k k Let δ k, so k δ. If δ 6 l /, the, from lemma 3.: 6 l X bk;, p δ Θ 4 O l

5 Otherwise, δ > 6 l / ad we use Cheroff s boud [0] for the tails of biomial distributio: X bk;, p δ bk;, p PrB, p δ Pr B, p δ 2e δ2 /3 < 2e 2 l 2 O This gives us the first boud. The secod boud follows, because: bk;, p pbk ;, p + qbk;, p l Hece bk;, p is closer to bk;, p tha to bk ;, p. The third boud follows from the first two by triagle iequality. / Lemma 3.3 If p ωl /, k o l, the: bk;, p Θ Proof: times: This follows from lemma 3. ad lemma 3.2 third iequality applied k l bk;, p b ;, p ± k O l Θ ± o O l Θ Lemma 3.4 If > 0, Ω: PrB, p B, p O Proof: This follows directly from lemma 3.: PrB, p B, p i0 bi;, p 2 O bi;, p O i0 5

6 Now we ca proceed to prove theorems about our algorithm. Theorem 3.5 Let a, b be two distict vertices of the graph G with equal degree eighborhoods. Let G G {a, b} be the subgraph obtaied by removig vertices a ad b from G. The the multiset of the G -degrees of the vertices i G coected to a is equal to the multiset of the G -degrees of the vertices i G coected to b. Proof: Sice the degree eighborhoods of a ad b are equal, the degrees of a ad b are also equal the legths of eighborhoods are same. Let A be the set of vertices coected to a i G, B be the set of vertices coected to b i G. A ad B geerate the same degree multisets. Let A A G, B B G. If a ad b are ot coected, the A A, B B. If they are coected, the A A b, B B a. Sice the degrees of a ad b are equal, A ad B i both cases geerate the same G-degree multisets. Let C A B, A A C, B B C. The A C A, B C B. Therefore, A ad B geerate the same G-degree multisets. But all vertices i A B are coected to exactly oe of a, b. Therefore, the G -degrees i A B are oe less tha the G-degrees. Thus A ad B geerate the same G -degree multisets. Hece also A A C ad B B C geerate the same G -degree multisets. The ext theorem is about provig the existece of some umber of vertices whose degrees lie i the rage [, + R ] for appropriate ad R. / / Theorem 3.6 If p ωl 3 /, o l, R o l, R l ω l the with high probability there exist i G, p at least l l p vertices with degrees i the rage [, + R ]. Proof: Let X be a radom variable deotig the umber of such vertices. Let X X X, where each X i is a 0- radom variable equal to if vertex umber i has degree i the give rage. Sice the distributio of the degree of a vertex is B, p ad from lemma 3.3 we kow that the whole rage [, + R ] falls i the rage of highest probability, we have: +R l l E [X i ] bd;, p R Θ ω d E [X] E [X i ] ω l l p Now our goal is to prove that X E [X] /2 with high probability. To do that we will use a techique of provig cocetratio of radom variables aroud the mea usig a Doob s martigale [0, ]. Let s build a edge-exposure martigale [0] for our graph. The martigale will represet the evolutio of the expected value for X as we radomly decide for each edge whether or ot to iclude it i the graph. 6

7 Number the vertices from to ad umber the possible edges i the order {, 2}, {, 3}, {2, 3}, {, 4}, {2, 4}, {3, 4}..., {, }. I other words, first we coect 2 to the smaller vertices, the coect 3 to the smaller vertices, 2, the we coect 4, ad so o. Defie radom variables C i if the edge umber i is chose, 0 otherwise. Defie the Doob s martigale [] Z i E [X C,..., C i ]. Clearly Z 0 E [X], Z 2 X. We wat to use Azuma s Iequality [] to prove a probabilistic lower boud o X. It states that if Z i Z i z i the: P Pr X E [X] t Pr Z 2 Z 0 t e t2 /2 zi 2 2 We will use t E [X] /2. We eed a good upper boud o Z i Z i. Let the edge umber i be {a, b}, a < b. Z i Z i E [X C,..., C i ] E [X C,..., C i ] E [Xv C,..., C i ] E [X v C,..., C i ] v E [Xv C,..., C i ] E [X v C,..., C i ] v E [Xa C,..., C i ] E [X a C,..., C i ] + E [Xb C,..., C i ] E [X b C,..., C i ] sice X v is idepedet from C i for v a, b. Let w be the umber of chose edges icidet to b amog C,..., C i. Let y be the umber of remaiig possible edges amog C i+,..., C icidet to b. Clearly y b, 2 because of the order i which the edges are take vertices bigger tha b have ot yet bee coected. Let B E [Xb C,..., C i ] E [X b C,..., C i ]. If C i 0 the: B E [Xb C,..., C i ] E [X b C,..., C i ] +R +R bd w; y, p bd w; y +, p d d +R +R bd w; y, p pbd w ; y, p + pbd w; y, p d d +R +R 2 +R bd w; y, p p bd w; y, p p bd w; y, p d d d pbd0 w ; y, p pb w + R; y, p b w ; y, p + b w + R; y, p 7

8 Similarly if C i, the: B E [Xb C,..., C i ] E [X b C,..., C i ] +R +R bd w ; y, p bd w; y +, p d d +R +R bd w ; y, p pbd w ; y, p pbd w; y, p d d +R 2 +R 2 +R bd w; y, p p bd w; y, p p bd w; y, p d d d pbd0 w ; y, p pb w + R; y, p b w ; y, p + b w + R; y, p I both cases: B b w ; y, p + b w + R; y, p If y + /p the usig lemma 3. we have: B C py + for a large eough costat C. If y + < /p the we will use the obvious boud B 2. Therefore if we make sure C 2 we have: B C mi, py + C mi, p b + Above reasoig ca be repeated for A E [Xa C,..., C i ] E [X a C,..., C i ]. I this case we will have y remaiig edges ot yet coected to a with y b, ad takig large eough C : A C mi, C mi, py + p b + 8

9 Therefore Z i Z i z i where: z i C + C mi, p b + z 2 i C + C 2 b C + C 2 b2 a mi, b2 p b + 2 C + C 2 C + C 2 mip, p u C + C 2 /p p + p u u O + l l/p O p p l u u /p + mi, pu u Usig Azuma s iequality Equatio 2, we have: E [X] /22 PrX E [X] /2 exp 2 zi 2 2 ω l l/p exp exp ωl O l/p Hece with high probability X > E [X] /2 > p l l. I the corollary below we show a lower boud o how may disjoit degree rages we ca take so that each rage has some vertices i it with high probability. Corollary 3.7 If p ωl 3 / ad x o /l 2 l the we ca fid x l ooverlappig rages of degrees of legth R ω l such that i G, p there will be at least K l l/p vertices i each rage with high probability. Proof: Sice: / l ω l l x we ca fid R such that: R ω l l Rx o / l 9

10 This follows from the geeral theorem that if f og the we ca fid h such that h og ad h ωf. For example, h fg will do. Now just fid x separate rages of legth R aroud with the distace from of the / order o l ad apply the theorem. Now we ca use the corollary to estimate the failure probability of the algorithm. Theorem 3.8 If p /2, p ω l 4 / l l the the probability that the algorithm fails is small, i.e., O α, for every costat α > 0. Proof: Sice: l 4 l ω / l l l 4 ω l l l 2 l l 2 l 2 l o l 2 l l l l o l 2 l we ca fid x such that: x o l 2 l l x ω l l Take ay two vertices a, b i the graph G. Let G G {a, b}. G is a radom G 2, p graph, so accordig to the corollary above, we ca fid x disjoit rages of degrees such that with high probability there exist i G at least K l l /p where 2 vertices with degrees fallig i each rage. If a ad b are to have the same degree eighborhoods, the from theorem 3.5, for every rage both a ad b must be coected to the same umber of vertices i that rage. Sice Kp ω, from lemma 3.4, the probability of that happeig for a give group is at most: O O l l /4 Kp O /4 exp Ωl exp Ωl l Coectios to each group of vertices are idepedet, therefore the probability of a ad b havig the same degree eighborhoods is bouded by: exp Ωl l x exp Ωx l l exp ωl There are fewer tha 2 such pairs a, b ad each pair has same degree eighborhood with small probability. By the uio boud [0, Lemma.2], the probability that ay pair 0

11 of vertices havig the same degree eighborhood is at most 2 times the above probability which is still bouded by exp ωl O α for every costat α > 0. The algorithm will fail oly if the degree eighborhoods are ot distict for each vertex Step 4. Hece the algorithm will succeed with high probability. The theorems 2., 2.2 ad 3.8 show that our algorithm is correct, rus i liear time ad succeeds with high probability for p ωl 4 / l l. Refereces [] L. Babai, P. Erdös, ad S. M. Selkow. Radom Graph Isomorphism, SIAM J. Computig, 93, 980, [2] L. Babai ad L. Kučera, Caoical Labellig of Graphs i Liear Average Time, Proc. of 20th Aual IEEE Symp. o Foudatios of Computatioal Sciece, Puerto Rico, 979, [3] L. Babai ad E. Luks. Caoical labelig of graphs, Proc. of 5th ACM Symp. o Theory of Computig, 983, [4] B. Bollobás. Radom Graphs, Cambridge Uiversity Press, 200. [5] B. Bollobás. Distiguishig vertices of radom graphs, Aals Discrete Math, 3, [6] A. Frieze ad C. McDiarmid. Algorithmic theory of radom graphs, Radom Structures ad Algorithms, 0, 997, [7] R. Karp. Probabilistic aalysis of a Caoical Numberig Algorithm for Graphs, Proc. Symposia i Pure Math., 34, America Mathematical Society, Providece, RI, 979, [8] D. Kuth. The Art of Programmig: Sortig ad Searchig, Addiso-Wesley, 998. [9] R. Lipto. The Beaco Set Approach to Graph Isomorphism, Yale Uiversity, preprit o. 35, 978. [0] M. Mitzemacher ad E. Upfal. Probability ad Computig: Radomized Algorithms ad Probabilistic Aalysis, Cambridge Uiversity Press, [] R. Motwai ad P. Raghava. Radomized Algorithms, Cambridge Uiversity Press, 995.

1 Graph Sparsfication

1 Graph Sparsfication CME 305: Discrete Mathematics ad Algorithms 1 Graph Sparsficatio I this sectio we discuss the approximatio of a graph G(V, E) by a sparse graph H(V, F ) o the same vertex set. I particular, we cosider

More information

Random Graphs and Complex Networks T

Random Graphs and Complex Networks T Radom Graphs ad Complex Networks T-79.7003 Charalampos E. Tsourakakis Aalto Uiversity Lecture 3 7 September 013 Aoucemet Homework 1 is out, due i two weeks from ow. Exercises: Probabilistic iequalities

More information

Lecture 6. Lecturer: Ronitt Rubinfeld Scribes: Chen Ziv, Eliav Buchnik, Ophir Arie, Jonathan Gradstein

Lecture 6. Lecturer: Ronitt Rubinfeld Scribes: Chen Ziv, Eliav Buchnik, Ophir Arie, Jonathan Gradstein 068.670 Subliear Time Algorithms November, 0 Lecture 6 Lecturer: Roitt Rubifeld Scribes: Che Ziv, Eliav Buchik, Ophir Arie, Joatha Gradstei Lesso overview. Usig the oracle reductio framework for approximatig

More information

arxiv: v2 [cs.ds] 24 Mar 2018

arxiv: v2 [cs.ds] 24 Mar 2018 Similar Elemets ad Metric Labelig o Complete Graphs arxiv:1803.08037v [cs.ds] 4 Mar 018 Pedro F. Felzeszwalb Brow Uiversity Providece, RI, USA pff@brow.edu March 8, 018 We cosider a problem that ivolves

More information

CIS 121 Data Structures and Algorithms with Java Fall Big-Oh Notation Tuesday, September 5 (Make-up Friday, September 8)

CIS 121 Data Structures and Algorithms with Java Fall Big-Oh Notation Tuesday, September 5 (Make-up Friday, September 8) CIS 11 Data Structures ad Algorithms with Java Fall 017 Big-Oh Notatio Tuesday, September 5 (Make-up Friday, September 8) Learig Goals Review Big-Oh ad lear big/small omega/theta otatios Practice solvig

More information

Lecture 5. Counting Sort / Radix Sort

Lecture 5. Counting Sort / Radix Sort Lecture 5. Coutig Sort / Radix Sort T. H. Corme, C. E. Leiserso ad R. L. Rivest Itroductio to Algorithms, 3rd Editio, MIT Press, 2009 Sugkyukwa Uiversity Hyuseug Choo choo@skku.edu Copyright 2000-2018

More information

Big-O Analysis. Asymptotics

Big-O Analysis. Asymptotics Big-O Aalysis 1 Defiitio: Suppose that f() ad g() are oegative fuctios of. The we say that f() is O(g()) provided that there are costats C > 0 ad N > 0 such that for all > N, f() Cg(). Big-O expresses

More information

Combination Labelings Of Graphs

Combination Labelings Of Graphs Applied Mathematics E-Notes, (0), - c ISSN 0-0 Available free at mirror sites of http://wwwmaththuedutw/ame/ Combiatio Labeligs Of Graphs Pak Chig Li y Received February 0 Abstract Suppose G = (V; E) is

More information

Big-O Analysis. Asymptotics

Big-O Analysis. Asymptotics Big-O Aalysis 1 Defiitio: Suppose that f() ad g() are oegative fuctios of. The we say that f() is O(g()) provided that there are costats C > 0 ad N > 0 such that for all > N, f() Cg(). Big-O expresses

More information

Pseudocode ( 1.1) Analysis of Algorithms. Primitive Operations. Pseudocode Details. Running Time ( 1.1) Estimating performance

Pseudocode ( 1.1) Analysis of Algorithms. Primitive Operations. Pseudocode Details. Running Time ( 1.1) Estimating performance Aalysis of Algorithms Iput Algorithm Output A algorithm is a step-by-step procedure for solvig a problem i a fiite amout of time. Pseudocode ( 1.1) High-level descriptio of a algorithm More structured

More information

New Results on Energy of Graphs of Small Order

New Results on Energy of Graphs of Small Order Global Joural of Pure ad Applied Mathematics. ISSN 0973-1768 Volume 13, Number 7 (2017), pp. 2837-2848 Research Idia Publicatios http://www.ripublicatio.com New Results o Eergy of Graphs of Small Order

More information

Lecture 2: Spectra of Graphs

Lecture 2: Spectra of Graphs Spectral Graph Theory ad Applicatios WS 20/202 Lecture 2: Spectra of Graphs Lecturer: Thomas Sauerwald & He Su Our goal is to use the properties of the adjacecy/laplacia matrix of graphs to first uderstad

More information

Lower Bounds for Sorting

Lower Bounds for Sorting Liear Sortig Topics Covered: Lower Bouds for Sortig Coutig Sort Radix Sort Bucket Sort Lower Bouds for Sortig Compariso vs. o-compariso sortig Decisio tree model Worst case lower boud Compariso Sortig

More information

An Efficient Algorithm for Graph Bisection of Triangularizations

An Efficient Algorithm for Graph Bisection of Triangularizations A Efficiet Algorithm for Graph Bisectio of Triagularizatios Gerold Jäger Departmet of Computer Sciece Washigto Uiversity Campus Box 1045 Oe Brookigs Drive St. Louis, Missouri 63130-4899, USA jaegerg@cse.wustl.edu

More information

Sorting in Linear Time. Data Structures and Algorithms Andrei Bulatov

Sorting in Linear Time. Data Structures and Algorithms Andrei Bulatov Sortig i Liear Time Data Structures ad Algorithms Adrei Bulatov Algorithms Sortig i Liear Time 7-2 Compariso Sorts The oly test that all the algorithms we have cosidered so far is compariso The oly iformatio

More information

Counting the Number of Minimum Roman Dominating Functions of a Graph

Counting the Number of Minimum Roman Dominating Functions of a Graph Coutig the Number of Miimum Roma Domiatig Fuctios of a Graph SHI ZHENG ad KOH KHEE MENG, Natioal Uiversity of Sigapore We provide two algorithms coutig the umber of miimum Roma domiatig fuctios of a graph

More information

What are we going to learn? CSC Data Structures Analysis of Algorithms. Overview. Algorithm, and Inputs

What are we going to learn? CSC Data Structures Analysis of Algorithms. Overview. Algorithm, and Inputs What are we goig to lear? CSC316-003 Data Structures Aalysis of Algorithms Computer Sciece North Carolia State Uiversity Need to say that some algorithms are better tha others Criteria for evaluatio Structure

More information

On (K t e)-saturated Graphs

On (K t e)-saturated Graphs Noame mauscript No. (will be iserted by the editor O (K t e-saturated Graphs Jessica Fuller Roald J. Gould the date of receipt ad acceptace should be iserted later Abstract Give a graph H, we say a graph

More information

1.2 Binomial Coefficients and Subsets

1.2 Binomial Coefficients and Subsets 1.2. BINOMIAL COEFFICIENTS AND SUBSETS 13 1.2 Biomial Coefficiets ad Subsets 1.2-1 The loop below is part of a program to determie the umber of triagles formed by poits i the plae. for i =1 to for j =

More information

Perhaps the method will give that for every e > U f() > p - 3/+e There is o o-trivial upper boud for f() ad ot eve f() < Z - e. seems to be kow, where

Perhaps the method will give that for every e > U f() > p - 3/+e There is o o-trivial upper boud for f() ad ot eve f() < Z - e. seems to be kow, where ON MAXIMUM CHORDAL SUBGRAPH * Paul Erdos Mathematical Istitute of the Hugaria Academy of Scieces ad Reu Laskar Clemso Uiversity 1. Let G() deote a udirected graph, with vertices ad V(G) deote the vertex

More information

How do we evaluate algorithms?

How do we evaluate algorithms? F2 Readig referece: chapter 2 + slides Algorithm complexity Big O ad big Ω To calculate ruig time Aalysis of recursive Algorithms Next time: Litterature: slides mostly The first Algorithm desig methods:

More information

Some non-existence results on Leech trees

Some non-existence results on Leech trees Some o-existece results o Leech trees László A.Székely Hua Wag Yog Zhag Uiversity of South Carolia This paper is dedicated to the memory of Domiique de Cae, who itroduced LAS to Leech trees.. Abstract

More information

An Efficient Algorithm for Graph Bisection of Triangularizations

An Efficient Algorithm for Graph Bisection of Triangularizations Applied Mathematical Scieces, Vol. 1, 2007, o. 25, 1203-1215 A Efficiet Algorithm for Graph Bisectio of Triagularizatios Gerold Jäger Departmet of Computer Sciece Washigto Uiversity Campus Box 1045, Oe

More information

A RELATIONSHIP BETWEEN BOUNDS ON THE SUM OF SQUARES OF DEGREES OF A GRAPH

A RELATIONSHIP BETWEEN BOUNDS ON THE SUM OF SQUARES OF DEGREES OF A GRAPH J. Appl. Math. & Computig Vol. 21(2006), No. 1-2, pp. 233-238 Website: http://jamc.et A RELATIONSHIP BETWEEN BOUNDS ON THE SUM OF SQUARES OF DEGREES OF A GRAPH YEON SOO YOON AND JU KYUNG KIM Abstract.

More information

Graphs. Minimum Spanning Trees. Slides by Rose Hoberman (CMU)

Graphs. Minimum Spanning Trees. Slides by Rose Hoberman (CMU) Graphs Miimum Spaig Trees Slides by Rose Hoberma (CMU) Problem: Layig Telephoe Wire Cetral office 2 Wirig: Naïve Approach Cetral office Expesive! 3 Wirig: Better Approach Cetral office Miimize the total

More information

Relationship between augmented eccentric connectivity index and some other graph invariants

Relationship between augmented eccentric connectivity index and some other graph invariants Iteratioal Joural of Advaced Mathematical Scieces, () (03) 6-3 Sciece Publishig Corporatio wwwsciecepubcocom/idexphp/ijams Relatioship betwee augmeted eccetric coectivity idex ad some other graph ivariats

More information

Analysis of Algorithms

Analysis of Algorithms Aalysis of Algorithms Ruig Time of a algorithm Ruig Time Upper Bouds Lower Bouds Examples Mathematical facts Iput Algorithm Output A algorithm is a step-by-step procedure for solvig a problem i a fiite

More information

n n B. How many subsets of C are there of cardinality n. We are selecting elements for such a

n n B. How many subsets of C are there of cardinality n. We are selecting elements for such a 4. [10] Usig a combiatorial argumet, prove that for 1: = 0 = Let A ad B be disjoit sets of cardiality each ad C = A B. How may subsets of C are there of cardiality. We are selectig elemets for such a subset

More information

Protected points in ordered trees

Protected points in ordered trees Applied Mathematics Letters 008 56 50 www.elsevier.com/locate/aml Protected poits i ordered trees Gi-Sag Cheo a, Louis W. Shapiro b, a Departmet of Mathematics, Sugkyukwa Uiversity, Suwo 440-746, Republic

More information

Sum-connectivity indices of trees and unicyclic graphs of fixed maximum degree

Sum-connectivity indices of trees and unicyclic graphs of fixed maximum degree 1 Sum-coectivity idices of trees ad uicyclic graphs of fixed maximum degree Zhibi Du a, Bo Zhou a *, Nead Triajstić b a Departmet of Mathematics, South Chia Normal Uiversity, uagzhou 510631, Chia email:

More information

On Infinite Groups that are Isomorphic to its Proper Infinite Subgroup. Jaymar Talledo Balihon. Abstract

On Infinite Groups that are Isomorphic to its Proper Infinite Subgroup. Jaymar Talledo Balihon. Abstract O Ifiite Groups that are Isomorphic to its Proper Ifiite Subgroup Jaymar Talledo Baliho Abstract Two groups are isomorphic if there exists a isomorphism betwee them Lagrage Theorem states that the order

More information

Module 8-7: Pascal s Triangle and the Binomial Theorem

Module 8-7: Pascal s Triangle and the Binomial Theorem Module 8-7: Pascal s Triagle ad the Biomial Theorem Gregory V. Bard April 5, 017 A Note about Notatio Just to recall, all of the followig mea the same thig: ( 7 7C 4 C4 7 7C4 5 4 ad they are (all proouced

More information

INTERSECTION CORDIAL LABELING OF GRAPHS

INTERSECTION CORDIAL LABELING OF GRAPHS INTERSECTION CORDIAL LABELING OF GRAPHS G Meea, K Nagaraja Departmet of Mathematics, PSR Egieerig College, Sivakasi- 66 4, Virudhuagar(Dist) Tamil Nadu, INDIA meeag9@yahoocoi Departmet of Mathematics,

More information

CS473-Algorithms I. Lecture 2. Asymptotic Notation. CS 473 Lecture 2 1

CS473-Algorithms I. Lecture 2. Asymptotic Notation. CS 473 Lecture 2 1 CS473-Algorithms I Lecture Asymptotic Notatio CS 473 Lecture 1 O-otatio (upper bouds) f() = O(g()) if positive costats c, 0 such that e.g., = O( 3 ) 0 f() cg(), 0 c 3 c c = 1 & 0 = or c = & 0 = 1 Asymptotic

More information

The isoperimetric problem on the hypercube

The isoperimetric problem on the hypercube The isoperimetric problem o the hypercube Prepared by: Steve Butler November 2, 2005 1 The isoperimetric problem We will cosider the -dimesioal hypercube Q Recall that the hypercube Q is a graph whose

More information

Strong Complementary Acyclic Domination of a Graph

Strong Complementary Acyclic Domination of a Graph Aals of Pure ad Applied Mathematics Vol 8, No, 04, 83-89 ISSN: 79-087X (P), 79-0888(olie) Published o 7 December 04 wwwresearchmathsciorg Aals of Strog Complemetary Acyclic Domiatio of a Graph NSaradha

More information

Homework 1 Solutions MA 522 Fall 2017

Homework 1 Solutions MA 522 Fall 2017 Homework 1 Solutios MA 5 Fall 017 1. Cosider the searchig problem: Iput A sequece of umbers A = [a 1,..., a ] ad a value v. Output A idex i such that v = A[i] or the special value NIL if v does ot appear

More information

15-859E: Advanced Algorithms CMU, Spring 2015 Lecture #2: Randomized MST and MST Verification January 14, 2015

15-859E: Advanced Algorithms CMU, Spring 2015 Lecture #2: Randomized MST and MST Verification January 14, 2015 15-859E: Advaced Algorithms CMU, Sprig 2015 Lecture #2: Radomized MST ad MST Verificatio Jauary 14, 2015 Lecturer: Aupam Gupta Scribe: Yu Zhao 1 Prelimiaries I this lecture we are talkig about two cotets:

More information

Algorithms Chapter 3 Growth of Functions

Algorithms Chapter 3 Growth of Functions Algorithms Chapter 3 Growth of Fuctios Istructor: Chig Chi Li 林清池助理教授 chigchi.li@gmail.com Departmet of Computer Sciece ad Egieerig Natioal Taiwa Ocea Uiversity Outlie Asymptotic otatio Stadard otatios

More information

Running Time ( 3.1) Analysis of Algorithms. Experimental Studies. Limitations of Experiments

Running Time ( 3.1) Analysis of Algorithms. Experimental Studies. Limitations of Experiments Ruig Time ( 3.1) Aalysis of Algorithms Iput Algorithm Output A algorithm is a step- by- step procedure for solvig a problem i a fiite amout of time. Most algorithms trasform iput objects ito output objects.

More information

Analysis of Algorithms

Analysis of Algorithms Aalysis of Algorithms Iput Algorithm Output A algorithm is a step-by-step procedure for solvig a problem i a fiite amout of time. Ruig Time Most algorithms trasform iput objects ito output objects. The

More information

FREQUENCY ESTIMATION OF INTERNET PACKET STREAMS WITH LIMITED SPACE: UPPER AND LOWER BOUNDS

FREQUENCY ESTIMATION OF INTERNET PACKET STREAMS WITH LIMITED SPACE: UPPER AND LOWER BOUNDS FREQUENCY ESTIMATION OF INTERNET PACKET STREAMS WITH LIMITED SPACE: UPPER AND LOWER BOUNDS Prosejit Bose Evagelos Kraakis Pat Mori Yihui Tag School of Computer Sciece, Carleto Uiversity {jit,kraakis,mori,y

More information

DISTINGUISHING VERTICES OF INHOMOGENEOUS RANDOM GRAPHS. Paolo Codenotti. IMA Preprint Series #2419. (July 2013)

DISTINGUISHING VERTICES OF INHOMOGENEOUS RANDOM GRAPHS. Paolo Codenotti. IMA Preprint Series #2419. (July 2013) DISTINGUISHING VERTICES OF INHOMOGENEOUS RANDOM GRAPHS By Paolo Codeotti IMA Preprit Series #2419 (July 2013) INSTITUTE FOR MATHEMATICS AND ITS APPLICATIONS UNIVERSITY OF MINNESOTA 400 Lid Hall 207 Church

More information

Data Structures and Algorithms. Analysis of Algorithms

Data Structures and Algorithms. Analysis of Algorithms Data Structures ad Algorithms Aalysis of Algorithms Outlie Ruig time Pseudo-code Big-oh otatio Big-theta otatio Big-omega otatio Asymptotic algorithm aalysis Aalysis of Algorithms Iput Algorithm Output

More information

Fundamentals of Media Processing. Shin'ichi Satoh Kazuya Kodama Hiroshi Mo Duy-Dinh Le

Fundamentals of Media Processing. Shin'ichi Satoh Kazuya Kodama Hiroshi Mo Duy-Dinh Le Fudametals of Media Processig Shi'ichi Satoh Kazuya Kodama Hiroshi Mo Duy-Dih Le Today's topics Noparametric Methods Parze Widow k-nearest Neighbor Estimatio Clusterig Techiques k-meas Agglomerative Hierarchical

More information

Outline and Reading. Analysis of Algorithms. Running Time. Experimental Studies. Limitations of Experiments. Theoretical Analysis

Outline and Reading. Analysis of Algorithms. Running Time. Experimental Studies. Limitations of Experiments. Theoretical Analysis Outlie ad Readig Aalysis of Algorithms Iput Algorithm Output Ruig time ( 3.) Pseudo-code ( 3.2) Coutig primitive operatios ( 3.3-3.) Asymptotic otatio ( 3.6) Asymptotic aalysis ( 3.7) Case study Aalysis

More information

Ones Assignment Method for Solving Traveling Salesman Problem

Ones Assignment Method for Solving Traveling Salesman Problem Joural of mathematics ad computer sciece 0 (0), 58-65 Oes Assigmet Method for Solvig Travelig Salesma Problem Hadi Basirzadeh Departmet of Mathematics, Shahid Chamra Uiversity, Ahvaz, Ira Article history:

More information

The Adjacency Matrix and The nth Eigenvalue

The Adjacency Matrix and The nth Eigenvalue Spectral Graph Theory Lecture 3 The Adjacecy Matrix ad The th Eigevalue Daiel A. Spielma September 5, 2012 3.1 About these otes These otes are ot ecessarily a accurate represetatio of what happeed i class.

More information

Xiaozhou (Steve) Li, Atri Rudra, Ram Swaminathan. HP Laboratories HPL Keyword(s): graph coloring; hardness of approximation

Xiaozhou (Steve) Li, Atri Rudra, Ram Swaminathan. HP Laboratories HPL Keyword(s): graph coloring; hardness of approximation Flexible Colorig Xiaozhou (Steve) Li, Atri Rudra, Ram Swamiatha HP Laboratories HPL-2010-177 Keyword(s): graph colorig; hardess of approximatio Abstract: Motivated b y reliability cosideratios i data deduplicatio

More information

Computational Geometry

Computational Geometry Computatioal Geometry Chapter 4 Liear programmig Duality Smallest eclosig disk O the Ageda Liear Programmig Slides courtesy of Craig Gotsma 4. 4. Liear Programmig - Example Defie: (amout amout cosumed

More information

Running Time. Analysis of Algorithms. Experimental Studies. Limitations of Experiments

Running Time. Analysis of Algorithms. Experimental Studies. Limitations of Experiments Ruig Time Aalysis of Algorithms Iput Algorithm Output A algorithm is a step-by-step procedure for solvig a problem i a fiite amout of time. Most algorithms trasform iput objects ito output objects. The

More information

Convergence results for conditional expectations

Convergence results for conditional expectations Beroulli 11(4), 2005, 737 745 Covergece results for coditioal expectatios IRENE CRIMALDI 1 ad LUCA PRATELLI 2 1 Departmet of Mathematics, Uiversity of Bologa, Piazza di Porta Sa Doato 5, 40126 Bologa,

More information

Symmetric Class 0 subgraphs of complete graphs

Symmetric Class 0 subgraphs of complete graphs DIMACS Techical Report 0-0 November 0 Symmetric Class 0 subgraphs of complete graphs Vi de Silva Departmet of Mathematics Pomoa College Claremot, CA, USA Chaig Verbec, Jr. Becer Friedma Istitute Booth

More information

CHAPTER IV: GRAPH THEORY. Section 1: Introduction to Graphs

CHAPTER IV: GRAPH THEORY. Section 1: Introduction to Graphs CHAPTER IV: GRAPH THEORY Sectio : Itroductio to Graphs Sice this class is called Number-Theoretic ad Discrete Structures, it would be a crime to oly focus o umber theory regardless how woderful those topics

More information

2. ALGORITHM ANALYSIS

2. ALGORITHM ANALYSIS 2. ALGORITHM ANALYSIS computatioal tractability survey of commo ruig times 2. ALGORITHM ANALYSIS computatioal tractability survey of commo ruig times Lecture slides by Kevi Waye Copyright 2005 Pearso-Addiso

More information

THE COMPETITION NUMBERS OF JOHNSON GRAPHS

THE COMPETITION NUMBERS OF JOHNSON GRAPHS Discussioes Mathematicae Graph Theory 30 (2010 ) 449 459 THE COMPETITION NUMBERS OF JOHNSON GRAPHS Suh-Ryug Kim, Boram Park Departmet of Mathematics Educatio Seoul Natioal Uiversity, Seoul 151 742, Korea

More information

CS 683: Advanced Design and Analysis of Algorithms

CS 683: Advanced Design and Analysis of Algorithms CS 683: Advaced Desig ad Aalysis of Algorithms Lecture 6, February 1, 2008 Lecturer: Joh Hopcroft Scribes: Shaomei Wu, Etha Feldma February 7, 2008 1 Threshold for k CNF Satisfiability I the previous lecture,

More information

Some cycle and path related strongly -graphs

Some cycle and path related strongly -graphs Some cycle ad path related strogly -graphs I. I. Jadav, G. V. Ghodasara Research Scholar, R. K. Uiversity, Rajkot, Idia. H. & H. B. Kotak Istitute of Sciece,Rajkot, Idia. jadaviram@gmail.com gaurag ejoy@yahoo.co.i

More information

The size Ramsey number of a directed path

The size Ramsey number of a directed path The size Ramsey umber of a directed path Ido Be-Eliezer Michael Krivelevich Bey Sudakov May 25, 2010 Abstract Give a graph H, the size Ramsey umber r e (H, q) is the miimal umber m for which there is a

More information

Lecture Notes 6 Introduction to algorithm analysis CSS 501 Data Structures and Object-Oriented Programming

Lecture Notes 6 Introduction to algorithm analysis CSS 501 Data Structures and Object-Oriented Programming Lecture Notes 6 Itroductio to algorithm aalysis CSS 501 Data Structures ad Object-Orieted Programmig Readig for this lecture: Carrao, Chapter 10 To be covered i this lecture: Itroductio to algorithm aalysis

More information

condition w i B i S maximum u i

condition w i B i S maximum u i ecture 10 Dyamic Programmig 10.1 Kapsack Problem November 1, 2004 ecturer: Kamal Jai Notes: Tobias Holgers We are give a set of items U = {a 1, a 2,..., a }. Each item has a weight w i Z + ad a utility

More information

Throughput-Delay Scaling in Wireless Networks with Constant-Size Packets

Throughput-Delay Scaling in Wireless Networks with Constant-Size Packets Throughput-Delay Scalig i Wireless Networks with Costat-Size Packets Abbas El Gamal, James Mamme, Balaji Prabhakar, Devavrat Shah Departmets of EE ad CS Staford Uiversity, CA 94305 Email: {abbas, jmamme,

More information

Exact Minimum Lower Bound Algorithm for Traveling Salesman Problem

Exact Minimum Lower Bound Algorithm for Traveling Salesman Problem Exact Miimum Lower Boud Algorithm for Travelig Salesma Problem Mohamed Eleiche GeoTiba Systems mohamed.eleiche@gmail.com Abstract The miimum-travel-cost algorithm is a dyamic programmig algorithm to compute

More information

The digraph drop polynomial

The digraph drop polynomial The digraph drop polyomial Fa Chug Ro Graham Abstract For a weighted directed graph (or digraph, for short), deoted by D = (V, E, w), we defie a two-variable polyomial B D (x, y), called the drop polyomial

More information

CSC165H1 Worksheet: Tutorial 8 Algorithm analysis (SOLUTIONS)

CSC165H1 Worksheet: Tutorial 8 Algorithm analysis (SOLUTIONS) CSC165H1, Witer 018 Learig Objectives By the ed of this worksheet, you will: Aalyse the ruig time of fuctios cotaiig ested loops. 1. Nested loop variatios. Each of the followig fuctios takes as iput a

More information

2 X = 2 X. The number of all permutations of a set X with n elements is. n! = n (n 1) (n 2) nn e n

2 X = 2 X. The number of all permutations of a set X with n elements is. n! = n (n 1) (n 2) nn e n 1 Discrete Mathematics revisited. Facts to remember Give set X, the umber of subsets of X is give by X = X. The umber of all permutatios of a set X with elemets is! = ( 1) ( )... 1 e π. The umber ( ) k

More information

Characterizing graphs of maximum principal ratio

Characterizing graphs of maximum principal ratio Characterizig graphs of maximum pricipal ratio Michael Tait ad Josh Tobi November 9, 05 Abstract The pricipal ratio of a coected graph, deoted γg, is the ratio of the maximum ad miimum etries of its first

More information

ON A PROBLEM OF C. E. SHANNON IN GRAPH THEORY

ON A PROBLEM OF C. E. SHANNON IN GRAPH THEORY ON A PROBLEM OF C. E. SHANNON IN GRAPH THEORY m. rosefeld1 1. Itroductio. We cosider i this paper oly fiite odirected graphs without multiple edges ad we assume that o each vertex of the graph there is

More information

Thompson s Group F (p + 1) is not Minimally Almost Convex

Thompson s Group F (p + 1) is not Minimally Almost Convex Thompso s Group F (p + ) is ot Miimally Almost Covex Claire Wladis Thompso s Group F (p + ). A Descriptio of F (p + ) Thompso s group F (p + ) ca be defied as the group of piecewiseliear orietatio-preservig

More information

Spanning Maximal Planar Subgraphs of Random Graphs

Spanning Maximal Planar Subgraphs of Random Graphs Spaig Maximal Plaar Subgraphs of Radom Graphs 6. Bollobiis* Departmet of Mathematics, Louisiaa State Uiversity, Bato Rouge, LA 70803 A. M. Frieze? Departmet of Mathematics, Caregie-Mello Uiversity, Pittsburgh,

More information

A Generalized Set Theoretic Approach for Time and Space Complexity Analysis of Algorithms and Functions

A Generalized Set Theoretic Approach for Time and Space Complexity Analysis of Algorithms and Functions Proceedigs of the 10th WSEAS Iteratioal Coferece o APPLIED MATHEMATICS, Dallas, Texas, USA, November 1-3, 2006 316 A Geeralized Set Theoretic Approach for Time ad Space Complexity Aalysis of Algorithms

More information

Australian Journal of Basic and Applied Sciences, 5(11): , 2011 ISSN On tvs of Subdivision of Star S n

Australian Journal of Basic and Applied Sciences, 5(11): , 2011 ISSN On tvs of Subdivision of Star S n Australia Joural of Basic ad Applied Scieces 5(11): 16-156 011 ISSN 1991-8178 O tvs of Subdivisio of Star S 1 Muhaad Kara Siddiqui ad Deeba Afzal 1 Abdus Sala School of Matheatical Scieces G.C. Uiversity

More information

Analysis Metrics. Intro to Algorithm Analysis. Slides. 12. Alg Analysis. 12. Alg Analysis

Analysis Metrics. Intro to Algorithm Analysis. Slides. 12. Alg Analysis. 12. Alg Analysis Itro to Algorithm Aalysis Aalysis Metrics Slides. Table of Cotets. Aalysis Metrics 3. Exact Aalysis Rules 4. Simple Summatio 5. Summatio Formulas 6. Order of Magitude 7. Big-O otatio 8. Big-O Theorems

More information

A study on Interior Domination in Graphs

A study on Interior Domination in Graphs IOSR Joural of Mathematics (IOSR-JM) e-issn: 2278-5728, p-issn: 219-765X. Volume 12, Issue 2 Ver. VI (Mar. - Apr. 2016), PP 55-59 www.iosrjourals.org A study o Iterior Domiatio i Graphs A. Ato Kisley 1,

More information

CSE 417: Algorithms and Computational Complexity

CSE 417: Algorithms and Computational Complexity Time CSE 47: Algorithms ad Computatioal Readig assigmet Read Chapter of The ALGORITHM Desig Maual Aalysis & Sortig Autum 00 Paul Beame aalysis Problem size Worst-case complexity: max # steps algorithm

More information

6.854J / J Advanced Algorithms Fall 2008

6.854J / J Advanced Algorithms Fall 2008 MIT OpeCourseWare http://ocw.mit.edu 6.854J / 18.415J Advaced Algorithms Fall 2008 For iformatio about citig these materials or our Terms of Use, visit: http://ocw.mit.edu/terms. 18.415/6.854 Advaced Algorithms

More information

CS200: Hash Tables. Prichard Ch CS200 - Hash Tables 1

CS200: Hash Tables. Prichard Ch CS200 - Hash Tables 1 CS200: Hash Tables Prichard Ch. 13.2 CS200 - Hash Tables 1 Table Implemetatios: average cases Search Add Remove Sorted array-based Usorted array-based Balaced Search Trees O(log ) O() O() O() O(1) O()

More information

Lecture 1: Introduction and Strassen s Algorithm

Lecture 1: Introduction and Strassen s Algorithm 5-750: Graduate Algorithms Jauary 7, 08 Lecture : Itroductio ad Strasse s Algorithm Lecturer: Gary Miller Scribe: Robert Parker Itroductio Machie models I this class, we will primarily use the Radom Access

More information

. Written in factored form it is easy to see that the roots are 2, 2, i,

. Written in factored form it is easy to see that the roots are 2, 2, i, CMPS A Itroductio to Programmig Programmig Assigmet 4 I this assigmet you will write a java program that determies the real roots of a polyomial that lie withi a specified rage. Recall that the roots (or

More information

rus i O(log log Λ = log log ) time usig a optimal umber of processors. Chaudhuri, Hagerup, ad Rama's algorithm [2] rus i O(log= loglog) time o the CRC

rus i O(log log Λ = log log ) time usig a optimal umber of processors. Chaudhuri, Hagerup, ad Rama's algorithm [2] rus i O(log= loglog) time o the CRC Selectio Algorithms for Parallel Disk Systems 1 Saguthevar Rajasekara Dept. of CISE, Uiv. of Florida, Gaiesville, FL 32611. Abstract. With the wideig gap betwee processor speeds ad disk access speeds,

More information

Order statistics. Order Statistics. Randomized divide-andconquer. Example. CS Spring 2006

Order statistics. Order Statistics. Randomized divide-andconquer. Example. CS Spring 2006 406 CS 5633 -- Sprig 006 Order Statistics Carola We Slides courtesy of Charles Leiserso with small chages by Carola We CS 5633 Aalysis of Algorithms 406 Order statistics Select the ith smallest of elemets

More information

3. b. Present a combinatorial argument that for all positive integers n : : 2 n

3. b. Present a combinatorial argument that for all positive integers n : : 2 n . b. Preset a combiatorial argumet that for all positive itegers : : Cosider two distict sets A ad B each of size. Sice they are distict, the cardiality of A B is. The umber of ways of choosig a pair of

More information

Bezier curves. Figure 2 shows cubic Bezier curves for various control points. In a Bezier curve, only

Bezier curves. Figure 2 shows cubic Bezier curves for various control points. In a Bezier curve, only Edited: Yeh-Liag Hsu (998--; recommeded: Yeh-Liag Hsu (--9; last updated: Yeh-Liag Hsu (9--7. Note: This is the course material for ME55 Geometric modelig ad computer graphics, Yua Ze Uiversity. art of

More information

Hash Tables. Presentation for use with the textbook Algorithm Design and Applications, by M. T. Goodrich and R. Tamassia, Wiley, 2015.

Hash Tables. Presentation for use with the textbook Algorithm Design and Applications, by M. T. Goodrich and R. Tamassia, Wiley, 2015. Presetatio for use with the textbook Algorithm Desig ad Applicatios, by M. T. Goodrich ad R. Tamassia, Wiley, 2015 Hash Tables xkcd. http://xkcd.com/221/. Radom Number. Used with permissio uder Creative

More information

SECURITY PROOF FOR SHENGBAO WANG S IDENTITY-BASED ENCRYPTION SCHEME

SECURITY PROOF FOR SHENGBAO WANG S IDENTITY-BASED ENCRYPTION SCHEME SCURITY PROOF FOR SNGBAO WANG S IDNTITY-BASD NCRYPTION SCM Suder Lal ad Priyam Sharma Derpartmet of Mathematics, Dr. B.R.A.(Agra), Uiversity, Agra-800(UP), Idia. -mail- suder_lal@rediffmail.com, priyam_sharma.ibs@rediffmail.com

More information

CIS 121 Data Structures and Algorithms with Java Spring Stacks and Queues Monday, February 12 / Tuesday, February 13

CIS 121 Data Structures and Algorithms with Java Spring Stacks and Queues Monday, February 12 / Tuesday, February 13 CIS Data Structures ad Algorithms with Java Sprig 08 Stacks ad Queues Moday, February / Tuesday, February Learig Goals Durig this lab, you will: Review stacks ad queues. Lear amortized ruig time aalysis

More information

Algorithms for Disk Covering Problems with the Most Points

Algorithms for Disk Covering Problems with the Most Points Algorithms for Disk Coverig Problems with the Most Poits Bi Xiao Departmet of Computig Hog Kog Polytechic Uiversity Hug Hom, Kowloo, Hog Kog csbxiao@comp.polyu.edu.hk Qigfeg Zhuge, Yi He, Zili Shao, Edwi

More information

Civil Engineering Computation

Civil Engineering Computation Civil Egieerig Computatio Fidig Roots of No-Liear Equatios March 14, 1945 World War II The R.A.F. first operatioal use of the Grad Slam bomb, Bielefeld, Germay. Cotets 2 Root basics Excel solver Newto-Raphso

More information

Design and Analysis of Algorithms Notes

Design and Analysis of Algorithms Notes Desig ad Aalysis of Algorithms Notes Notes by Wist Course taught by Dr. K Amer Course started: Jauary 4, 013 Course eded: December 13, 01 Curret geeratio: December 18, 013 Listigs 1 Array sum pseudocode.................................

More information

Average Connectivity and Average Edge-connectivity in Graphs

Average Connectivity and Average Edge-connectivity in Graphs Average Coectivity ad Average Edge-coectivity i Graphs Jaehoo Kim, Suil O July 1, 01 Abstract Coectivity ad edge-coectivity of a graph measure the difficulty of breakig the graph apart, but they are very

More information

A NOTE ON COARSE GRAINED PARALLEL INTEGER SORTING

A NOTE ON COARSE GRAINED PARALLEL INTEGER SORTING Chater 26 A NOTE ON COARSE GRAINED PARALLEL INTEGER SORTING A. Cha ad F. Dehe School of Comuter Sciece Carleto Uiversity Ottawa, Caada K1S 5B6 æ {acha,dehe}@scs.carleto.ca Abstract Keywords: We observe

More information

Assignment 5; Due Friday, February 10

Assignment 5; Due Friday, February 10 Assigmet 5; Due Friday, February 10 17.9b The set X is just two circles joied at a poit, ad the set X is a grid i the plae, without the iteriors of the small squares. The picture below shows that the iteriors

More information

MAXIMUM MATCHINGS IN COMPLETE MULTIPARTITE GRAPHS

MAXIMUM MATCHINGS IN COMPLETE MULTIPARTITE GRAPHS Fura Uiversity Electroic Joural of Udergraduate Matheatics Volue 00, 1996 6-16 MAXIMUM MATCHINGS IN COMPLETE MULTIPARTITE GRAPHS DAVID SITTON Abstract. How ay edges ca there be i a axiu atchig i a coplete

More information

Load balanced Parallel Prime Number Generator with Sieve of Eratosthenes on Cluster Computers *

Load balanced Parallel Prime Number Generator with Sieve of Eratosthenes on Cluster Computers * Load balaced Parallel Prime umber Geerator with Sieve of Eratosthees o luster omputers * Soowook Hwag*, Kyusik hug**, ad Dogseug Kim* *Departmet of Electrical Egieerig Korea Uiversity Seoul, -, Rep. of

More information

ALAN FRIEZE, CHARALAMPOS E. TSOURAKAKIS

ALAN FRIEZE, CHARALAMPOS E. TSOURAKAKIS RAINBOW CONNECTIVITY OF G,p) AT THE CONNECTIVITY THRESHOLD ALAN FRIEZE, CHARALAMPOS E. TSOURAKAKIS Abstract. A edge colored graph G is raibow edge coected if ay two vertices are coected by a path whose

More information

THE TOTAL ACQUISITION NUMBER OF THE RANDOMLY WEIGHTED PATH

THE TOTAL ACQUISITION NUMBER OF THE RANDOMLY WEIGHTED PATH Discussioes Mathematicae Graph Theory 37 2017) 919 934 doi:10.7151/dmgt.1972 THE TOTAL ACQUISITION NUMBER OF THE RANDOMLY WEIGHTED PATH Aat Godbole Departmet of Mathematics ad Statistics East Teessee State

More information

Compactness of Fuzzy Sets

Compactness of Fuzzy Sets Compactess of uzzy Sets Amai E. Kadhm Departmet of Egieerig Programs, Uiversity College of Madeat Al-Elem, Baghdad, Iraq. Abstract The objective of this paper is to study the compactess of fuzzy sets i

More information

Subtrees of a random tree

Subtrees of a random tree Subtrees of a radom tree Bogumi l Kamiński Pawe l Pra lat November 21, 2018 Abstract Let T be a radom tree take uiformly at radom from the family of labelled trees o vertices. I this ote, we provide bouds

More information

Image Segmentation EEE 508

Image Segmentation EEE 508 Image Segmetatio Objective: to determie (etract) object boudaries. It is a process of partitioig a image ito distict regios by groupig together eighborig piels based o some predefied similarity criterio.

More information

EVALUATION OF TRIGONOMETRIC FUNCTIONS

EVALUATION OF TRIGONOMETRIC FUNCTIONS EVALUATION OF TRIGONOMETRIC FUNCTIONS Whe first exposed to trigoometric fuctios i high school studets are expected to memorize the values of the trigoometric fuctios of sie cosie taget for the special

More information