Ranking of Closeness Centrality for Large-Scale Social Networks

Size: px
Start display at page:

Download "Ranking of Closeness Centrality for Large-Scale Social Networks"

Transcription

1 Raig of Closeess Cetrality for Large-Scale Social Networs Kazuya Oamoto 1, Wei Che, ad Xiag-Yag Li 3 1 Kyoto Uiversity, oia@uis.yoto-u.ac.jp Microsoft Research Asia, weic@microsoft.com 3 Illiois Istitute of Techology ad Microsoft Research Asia xli@cs.iit.edu Abstract. Closeess cetrality is a importat cocept i social etwor aalysis. I a graph represetig a social etwor, closeess cetrality measures how close a vertex is to all other vertices i the graph. I this paper, we combie existig methods o calculatig exact values ad approximate values of closeess cetrality ad preset ew algorithms to ra the top- vertices with the highest closeess cetrality. We show that uder certai coditios, our algorithm is more efficiet tha the algorithm that calculates the closeess-cetralities of all vertices. 1 Itroductio Social etwors have bee the subject of study for may decades i social sciece research. I recet years, with the rapid growth of Iteret ad World Wide Web, may large-scale olie-based social etwors such as Faceboo, Friedster appear, ad may large-scale social etwor data, such as coauthorship etwors, become easily available olie for aalysis [Ne04a, Ne04b, EL05, PP0]. A social etwor is typically represeted as a graph, with idividual persos represeted as vertices, the relatioships betwee pairs of idividuals as edges, ad the stregths of the relatioships represeted as the weights o edges (for the purpose of fidig the shortest weighted distace, we ca treat lower-weight edges as stroger relatioships). Cetrality is a importat cocept i studyig social etwors [Fr79, NP03]. Coceptually, cetality measures how cetral a idividual is positioed i a social etwor. Withi graph theory ad etwor aalysis, various measures (see [KL05] for details) of the cetrality of a vertex withi a graph have bee proposed to determie the relative importace of a vertex withi the graph. Four measures of cetrality that are widely used i etwor aalysis are degree cetrality, betweeess cetrality 4, closeess cetrality, ad eigevector cetrality 5. I this paper, we focus o shortest-path closeess 4 For a graph G = (V, E), the betweeess cetrality C B(v) for a vertex v is C B(v) = σ v(s,t) s,t:s t v where σ(s, t) is the umber of shortest paths from s to t, ad σ(s,t) σ v(s, t) is the umber of shortest paths from s to t that pass through v. 5 Give a graph G = (V, E) with adjacecy matrix A, let x i be the eigevector cetrality of the ith ode v i. The vector x = (x 1, x,, x ) T is the solutio of equatio

2 cetrality (or closeess cetrality for short) [Ba50, Be65]. The closeess cetrality of a vertex i a graph is the iverse of the average shortest-path distace from the vertex to ay other vertex i the graph. It ca be viewed as the efficiecy of each vertex (idividual) i spreadig iformatio to all other vertices. The larger the closeess cetrality of a vertex, the shorter the average distace from the vertex to ay other vertex, ad thus the better positioed the vertex is i spreadig iformatio to other vertices. The closeess cetrality of all vertices ca be calculated by solvig allpairs shortest-paths problem, which ca be solved by various algorithms taig O(m + log ) time [Jo77, FT87], where is the umber of vertices ad m is the umber of edges of the graph. However, these algorithms are ot efficiet eough for large-scale social etwors with millios or more vertices. I [EW04], Eppstei ad Wag developed a approximatio algorithm to calculate the closeess cetrality i time O( log ɛ ( log + m)) withi a additive error of ɛ for the iverse of the closeess cetrality (with probability at least 1 1 ), where ɛ > 0 ad is the diameter of the graph. However, applicatios may be more iterested i raig vertices with high closeess cetralities tha the actual values of closeess cetralities of all vertices. Suppose we wat to use the approximatio algorithm of [EW04] to ra the closeess cetralities of all vertices. Sice the average shortest-path distaces are bouded above by, the average differece i average distace (the iverse of closeess cetrality) betwee the ith-raed vertex ad the (i + 1)th-raed vertex (for ay i = 1,..., 1) is O( ). To obtai a reasoable raig result, we would lie to cotrol the additive error of each estimate of closeess cetrality to withi O( ), which meas we set ɛ to Θ( 1 ). The the algorithm taes O( log ( log + m)) time, which is worse tha the exact algorithm. Therefore, we caot use either purely the exact algorithm or purely the approximatio algorithm to ra closeess cetralities of vertices. I this paper, we show a method of raig top highest closeess cetrality vertices, combiig the approximatio algorithm ad the exact algorithm. We first provide a basic raig algorithm TOPRANK(), ad show that uder certai coditios, the algorithm ras all top highest closeess cetrality vertices (with high probability) i O(( + 3 log 1 3 )( log + m)) time, which is better tha Ax = λx, where λ is the greatest eigevalue of A to esure that all values x i are positive by the Perro-Frobeius theorem. Google s PageRa [BP98] is a variat of the eigevector cetrality measure. The PageRa vector R = (r 1, r,, r ) T, where r i is the PageRa of webpage i ad is the total umber of webpages, is the solutio of the equatio R = 1 d 1 + dlr. Here d is a dampig factor set aroud 0.85, L is a modified webpage-adjacecy matrix: l i,j = 0 if page j does ot li to i, ad ormalised such that, for each j, i=1 li,j = 1, i.e., li,j = a i,j d j where a i,j = 1 oly if page j has li to page i, ad d j = i=1 ai,j is the out-degree of page j.

3 O(( log + m)) (whe = o()), the time eeded by a brute-force algorithm that simply computes all average shortest distaces ad the ras them. We the use a heuristic to further improve the algorithm. Our wor ca be viewed as the first step toward desigig ad evaluatig efficiet algorithms i fidig top raig vertices with highest closeess cetralities. We discuss i the ed several ope problems ad future directios of this wor. Prelimiary We cosider a coected weighted udirected graph G = (V, E) with vertices ad m edges ( V =, E = m). We use d(v, u) to deote the legth of a shortest-path betwee v ad u, ad to deote the diameter of graph G, i.e., = max v,u V d(v, u). The closeess cetrality c v of vertex v [Be65] is defied as 1 c v = Σ u V d(v, u). (.1) I other words, the closeess cetrality of v is the iverse of the average (shortestpath) distace from v to ay other vertex i the graph. The higher the c v, the shorter the average distace from v to other vertices, ad v is more importat by this measure. Other defiitios of closeess cetralities exist. For example, 1 some defie the closeess cetrality of a vertex v as Σ u V d(v,u) [Sa66], ad some defie the closeess cetrality as the mea geodesic distace (i.e the shortest path) betwee a vertex v ad all other vertices reachable from it, i.e., Σ u V d(v,u) 1, where is the size of the etwor s coected compoet V reachable from v. I this paper, we will focus o closeess cetrality defied i equatio (.1). The problem to solve i this paper is to fid the top vertices with the highest closeess cetralities ad ra them, where is a parameter of the algorithm. To solve this problem, we combie the exact algorithm [Jo77, FT87] ad the approximatio algorithm [EW04] for computig average shortest-path distaces to ra vertices o the closeess cetrality. The exact algorithm iterates Dijstra s sigle-source shortest-paths (SSSP for short) algorithm times for all vertices to compute the average shortest-path distaces. The origial Dijstra s SSSP algorithm [Di59] computes all shortest-path distaces from oe vertex, ad it ca be efficietly implemeted i O( log + m) time [Jo77, FT87]. The approximatio algorithm RAND give i [EW04] also uses Dijstra s SSSP algorithm. RAND samples l vertices uiformly at radom ad computes SSSP from each sample vertex. RAND estimates the closeess cetrality of a vertex usig the average of l shortest-path distaces from the vertex to the l sample vertices istead of to all vertices. The followig boud o the accuracy of the approximatio is give i [EW04], which utilizes the Hoeffdig s theorem [Ho63]: 6 Pr{ 1 ĉ v 1 c v ɛ } ɛ l log ( 1 6 I this paper, log meas atural logarithm with base e. ), (.)

4 for ay small positive value ɛ, where ĉ v is the estimated closeess cetrality of vertex v. Let a v be the average shortest-path distace of vertex v, i.e., a v = Σ u V d(v, u) 1 = 1 c v. Usig the average distace, iequality (.) ca be rewritte as Pr{ â v a v ɛ } ɛ l log ( 1 ), (.3) where â v is the estimated average distace of vertex v to all other vertices. If the algorithm uses l = α log ɛ samples (α > 1 is a costat umber) which will cause the probability of ɛ error at each vertex to be bouded above by 1, the probability of ɛ error aywhere i the graph is the bouded from above by 1 ( 1 (1 1 ) ). It meas that the approximatio algorithm calculates the average legths of shortest-paths of all vertices i O( log ɛ ( log + m)) time withi a additive error of ɛ with probability at least 1 1, i.e., with high probability (w.h.p.). 3 Raig algorithms Our top- raig algorithm is based o the approximatio algorithm as well as the exact algorithm. The idea is to first use the approximatio algorithm with l samples to obtai estimated average distaces of all vertices ad fid a cadidate set E of top- vertices with estimated shortest distaces. We eed to guaratee that all fial top- vertices with the exact average shortest distaces are icluded i set E with high probability. Thus, we eed to carefully choose umber > usig the boud give i formula (.3). Oce we fid set E, we ca use the exact algorithm to compute the exact average distaces for all vertices i E ad ra them accordigly to fid the fial top- vertices with the highest closeess cetralities. The ey of the algorithm is to fid the right balace betwee sample size l ad the cadidate set size : If we use a too small sample size l, the cadidate set size could be too large, but if we try to mae small, the sample size l may be too large. Ideally, we wat a optimal l that miimizes l +, so that the total time of both the approximatio algorithm ad the computatio of exact closeess cetralities of vertices i the cadidate set is miimized. I this sectio we will show the basic algorithm first, ad the provide a further improvemet of the algorithm with a heuristic. 3.1 Basic raig algorithm We ame the vertices i V as v 1, v,..., v such that a v1 a v a v. Let â v be the estimated average distace of vertex v usig approximatio algorithm based o samplig. Figure 1 shows our basic raig algorithm TOPRANK(), where is the iput parameter specifyig the umber of top raig vertices

5 the algorithm should extract. The algorithm also has a cofiguratio parameter l, which is the umber of samples used by the RAND algorithm i the first step. We will specify the value of l i Lemma. Fuctio f(l) i step 4 is defied as follows: f(l) = α log l (where α > 1 is a costat umber), such that the probability of the estimatio error for ay vertex beig at least f(l) is bouded above by 1 3, based o iequality (.3) (whe settig ɛ = f(l)). For example, we ca set α to be ay value at least 4.5/3, which wors for ay 4. Algorithm TOPRANK() 1 Use the approximatio algorithm RAND with a set S of l sampled vertices to obtai the estimated average distace â v for each vertex v. // Reame all vertices to ˆv 1, ˆv,..., ˆv such that âˆv1 âˆv âˆv. Fid ˆv. 3 Let ˆ = mi u S max v V d(u, v). // d(u, v) for all u S, v V have bee calculated at step 1 ad ˆ is determied i O(l) time. 4 Compute cadidate set E as the set of vertices whose estimated average distaces are less tha or equal to âˆv + f(l) ˆ. 5 Calculate exact average shortest-path distaces of all vertices i E. 6 Sort the exact average distaces ad fid the top- vertices as the output. Fig. 1. Algorithm for raig top- vertices with the highest closeess cetralities. Lemma 1. Algorithm TOPRANK() give i Figure 1 ras the top- vertices with the highest closeess cetralities correctly w.h.p., with ay cofiguratio parameter l. Proof. We show that the set E computed at step 4 i algorithm TOPRANK() cotais all top- vertices with the exact shortest distaces w.h.p. Let T = {v 1,..., v } ad ˆT = {ˆv 1,..., ˆv }. Sice for ay vertex v, the probability of the estimate â v exceedig the error rage of f(l) is bouded above by 1, i.e., Pr ( {a 3 v f(l) â v a v + f(l) }) 1, we have 3 ( Pr { ) â v a v + f(l) a v + f(l) } v T 3. Next, we wat to achieve a similar iequality as above for vertices ˆv ˆT. However, ˆT ad its odes are radom variables, ad thus to apply Hoeffdig iequality as give i (.3) we eed aother level of uio boud, as give below. For

6 every ˆv i ˆT, we have Pr ( {aˆvi âˆv + f(l) }) Pr ( {aˆvi âˆvi + f(l) }) ( ) = Pr {aˆvi âˆvi + f(l) } {ˆv i = v} v V v V Pr ( {a v â v + f(l) } {ˆv i = v}) v V Pr ( {a v â v + f(l) }) v V 1 3 = 1. The we tae aother uio boud for all ˆv i ˆT, ad obtai Pr { ˆv ˆT aˆv âˆv + f(l) }. The above iequality meas that, with error probability of at most, there are at least vertices whose real average distaces are less tha or equal to âˆv + f(l), which meas a v âˆv + f(l) with error probability bouded above by. The â v a v + f(l) âˆv + f(l) for all v T with error probability bouded above by. Moreover, we have ˆ, because for ay u S, we have ad thus = max v,v V d(v, v ) max v,v V (d(u, v) + d(u, v )) = max d(u, v) + max d(u, v,v V v,v V v ) = max d(u, v). v V mi max u S v V d(u, v) = ˆ. Therefore, for all v T, â v âˆv + f(l) ˆ with probability at least (1 1 ) (because ). Hece, TOPRANK() icludes all top- vertices with exact average distaces i E i step 4, ad TOPRANK() fids these exact vertices i steps 5 ad 6, with high probability. This fiishes the proof of the lemma. We ow evaluate the complexity of algorithm TOPRANK(). The major computatio tass are l computatios of SSSP i step 1 ad E computatios of SSSP i step 5. We eed to choose a appropriate l to miimize the sum of these computatios. The umber of computatios of SSSP i step 5 depeds o the distributio of estimated average distaces of all vertices. The followig lemma provides a aswer whe this distributio is uiform.

7 Lemma. If the distributio of estimated average distaces is uiform with rage c (c is a costat umber), the TOPRANK() taes O(( + 3 log 1 3 )( log + m)) time, whe we choose l = Θ( 3 log 1 3 ). Proof. TOPRANK() taes O(l( log + m)) time at step 1 because SSSP algorithm taes O( log +m) time ad TOPRANK() iterates SSSP algorithm l times. Sice the distributio of estimated average distaces is uiform with rage f(l) ˆ f(l) ˆ c c, there are c vertices betwee âˆv ad âˆv + f(l) ˆ, ad is O(f(l)) because ˆ = mi u S max v V d(u, v) max u,v V d(u, v) =. So, the umber of vertices i E is +O(f(l)) ad TOPRANK() taes O(( + O(f(l)))( log + m)) time at step 5. Therefore, we select a l that could miimize the total ruig time at step 1 ad 5. I other words, we choose a l to miimize l + f(l), which implies l = Θ( 3 log 1 3 ). The TOPRANK() taes O( 3 log 1 3 ( log + m)) time at step 1, ad taes O(( + 3 log 1 3 )( log + m)) at step 5. Obviously TOPRANK() taes O( 3 log 1 3 ( log + m)) time at the other steps. So, TOPRANK() taes O(( + 3 log 1 3 )( log + m)) total ruig time. Combiig Lemmata 1 ad, we arrive at the followig theorem. Theorem 1. If the distributio of estimated average distaces is uiform with rage c (c is a costat umber), the algorithm TOPRANK() give i Figure 1 ras the top- vertices with the highest closeess cetralities i O(( + 3 log 1 3 )( log + m)) time w.h.p., whe we choose l = Θ( 3 log 1 3 ). Theorem 1 oly addresses the case whe the distributio of estimated average distaces is uiform. I this case, the complexity of TOPRANK() is better tha a brute-force algorithm that simply computes all average shortest distaces ad ras them, which taes O(( log + m)) time (assumig = o()). Eve though the theorem is oly for the case of uiform distributio, it could be applied to more geeral situatios, as explaied ow. Give a estimated average distace x, its desity d(x) is the umber of vertices whose estimate average distace is aroud x. The uiform distributio meas that the desity d(x) is the same aywhere i the rage of x. For ay other distributio, it has a average desity of d, which is the average of d(x) over all x s. Suppose that the distributio is such that whe x is sufficietly small, d(x) d (this property requires further ivestigatio but we believe it is reasoable for social etwors). Let x 0 be the largest value such that for all x x 0, d(x) d. The, i our algorithm, as log as âˆv + f(l) ˆ x0, the umber of vertices betwee âˆv ad âˆv +f(l) ˆ f(l) ˆ is at most c, as give i the proof of Lemma. Thus, Lemma uses a coservative upper boud for this umber, ad it will still hold for the distributios with the above property. Eve with the above geeralizatio, however, the savigs from O(( log + m)) to O(( + 3 log 1 3 )( log + m)) is still ot very sigificat. Ideally, we

8 would lie a raig algorithm that is O(poly()( log +m)), where poly() is a polyomial of, which meas the umber of SSSP calculatios is oly related to, ot. This is possible for small whe the distributio of estimated average distaces is ot uiform but other distributios lie the ormal distributio. I this case, the umber of additioal SSSP computatios for vertices i the rage from âˆv to âˆv + f(l) ˆ could be small ad ot related to. We leave this as a future research wor (see more discussio i Sectio 4). 3. Improvig the algorithm with a heuristic Algorithm TOPRANK() 1 Use the approximatio algorithm RAND with a set S of l sampled vertices to obtai the estimated average distace â v for each vertex v. // Reame all vertices to ˆv 1, ˆv,..., ˆv such that âˆv1 âˆv âˆv. Fid ˆv. 3 Let ˆ = mi u S max v V d(u, v). 4 Compute cadidate set E as the set of vertices whose estimated average distaces are less tha or equal to âˆv + f(l) ˆ. 5 repeat 6 p E 7 Select additioal q vertices S + as ew samples uiformly at radom. 8 Update estimated average distaces of all vertices usig ew samples i S + (eed to compute SSSP for all ew sample vertices). 9 S S S + ; l l + q; ˆ mi( ˆ, mi u S + max v V d(u, v)) // Reame all vertices to ˆv 1, ˆv,..., ˆv such that âˆv1 âˆv âˆv. 10 Fid ˆv. 11 Compute cadidate set E as the set of vertices whose estimated average distaces are less tha or equal to âˆv + f(l) ˆ. 1 p E 13 util p p q 14 Calculate exact average shortest-path distaces of all vertices i E. 15 Sort the exact average distaces ad fid the top- vertices as the output. Fig.. Improved algorithm for raig vertices with top closeess cetralities The algorithm i Figure 1 speds its majority of computatio o the followig two steps: (1) step 1 computig SSSP for l samples, ad () step 5 computig SSSP for all cadidates i set E. The ey i reducig the ruig time of the algorithm is to fid the right sample size l to miimize l + E, the total umber of SSSP calculatios. However, this umber is difficult to obtai before ruig the algorithm, especially whe the distributio of average distaces is uow. I this sectio, we improve the algorithm by a heuristic to achieve the above goal. The idea of the heuristic is to icremetally add ew samples to compute more accurate average distaces of all vertices. I each iteratio, q ew sample vertices are added. After computig the ew average distaces with these q ew vertices, we obtai a ew cadidate set E. If the size of the cadidate set E decreases more tha q, the we ow that the savigs by reducig the umber of cadidates outweigh the cost of addig more samples. I this case, we

9 cotiue the ext iteratio of addig more samples. This procedure eds whe the cost of addig more samples outweighs the savigs obtaied by the reduced umber of cadidates. Figure provides this heuristic algorithm. Essetially, this is the dyamic way of fidig the optimal l to miimize l + E (or to mae l = E, where l is the small chage i l ad E is the correspodig chage i E ). The iitial value of the l i step 1 ca be obtaied based o Theorem 1 if we ow that the distributio of the estimated average distaces is uiform. Otherwise, we ca choose a basic value, for example, sice we eed to compute at least SSSP i step 14 i ay case. The icremetal uit q could be a small value, for example, log. However, we do ot ow yet if E strictly decreases whe the sample size l for estimatig average distaces icreases, ad if the rate of decrease of E slows dow whe addig more ad more sample vertices. Therefore, it is ot guarateed that the heuristic algorithm will always stop at the optimal sample size l. A ope problem is to study the coditios uder which the chage of E with respect to the chage of sample size l ideed has the above properties, ad thus the heuristic algorithm ideed provides the most efficiet solutio. 4 Coclusio ad discussios This paper ca be viewed as the first step towards the desig of more efficiet algorithms i obtaiig highest raed closeess cetrality vertices. By combiig the approximatio algorithm with the exact algorithm, we obtai a algorithm that has better complexity tha the brute-force exact algorithm. There are may directios to exted this study. First, as metioed i the previous sectio, we are iterested i more efficiet algorithms such that the umber of SSSP computatios is oly related to, ot to. This may be possible for some classes of social etwors with certai properties o their average distace distributios. Secod, the coditio uder which the heuristic algorithm results i the least umber of SSSP computatio is a ope problem ad would be quite iterestig to study. Third, we may be able to obtai faster algorithm if we ca relax the problem requiremet. Istead of fidig all top- vertices with high probability, we may allow the output to have a error boud t, which is the umber of vertices that should be raed withi top- vertices but are missed i the output. Geerally, give a algorithm for top- query of various cetralities, we defie the hit-ratio, deoted as η(a), of a output A = {v 1, v,, v κ } (ot ecessarily of size ) as A Q, where Q is the actual set of top- vertices. Let r(v i ) deote the the actual ra of v i. Here, we require that r(v i ) < r(v i+1 ), for i [1, κ 1]. Thus we have r(v i ) i. We defie the κ(κ+1) accuracy of A, deoted as α(a), as κ i=1 r(vi) (other defiitios of accuracy are possible). Clearly, η(a) [0, 1] ad α(a) [0, 1]. The hit-ratio ad accuracy of a algorithm are the its worst performace over all possible

10 iputs. We the may oly require that Pr (η(a) 1 ϱ, α(a) 1 ɛ) 1 δ, for sufficietly small ϱ, ɛ ad δ. Such relaxatios i the requiremet may allow much more efficiet algorithms, sice we observe that the complexity of our algorithm is maily because we eed to iclude all vertices i the extra rage from âˆv to âˆv + f(l) ˆ i order to iclude all top- vertices with high probability. Fourth, we would lie to study the stability of our algorithms for top- query usig radom samplig. Costebader et al. [CV03] studied the stability of various cetrality measures. Their study shows that, with a 50% sample of the origial etwor odes, average correlatios for the closeess measure raged from 0.54 to Fially, we ca loo ito other type of cetralities ad see how to ra them efficietly usig the techique i this paper. For example, Brades [Br00] presets a algorithm for betweeess cetrality of weighted graph with time-complexity (m + log ). Brades et al. [BP00] preset the first approximatio algorithm for betweeess cetrality. Improvemets over their method were preseted recetly i [GS08, BK07]. To coclude, we would lie to provide a brief compariso of our algorithms with the well ow PageRa algorithm [BP98]. PageRa is a algorithm used to ra the importace of the webpages, which are viewed as vertices coected by directed edges (hyperlis). As explaied i Footote 5, PageRa is a variat of the eigevector cetrality. Thus, it is a differet measure from closeess cetrality. More importatly, by defiitio the PageRa of a vertex (a webpage) depeds o the PageRas of other vertices liig to it, so the PageRa calculatio requires computig all PageRa values of all vertices, eve if oly the top- PageRa vertices are desired. However, for closeess cetrality measure, our algorithms do ot eed to compute closeess cetralities for all vertices. Istead, we may start with rough estimates of closeess cetralities of vertices, ad through refiig the estimates we reduce the cadidate set cotaiig the top- vertices. This results i reduced time complexity i our computatio. Refereces [BK07] Bader, D. A., Kitali, S., Madduri, K., Mihail, M.: Approximatig Betweeess Cetrality. The 5th Worshop o Algorithms ad Models for the Web-Graph (007) [Ba50] Bavelas, A.: Commuicatio patters i tas-orieted groups. The Joural of the Acoustical Society of America (6) (1950) [Be65] Beauchamp, M. A.: A improved idex of cetrality. Behavioral Sciece 10() (1965) [Br00] Brades, U.: Faster Evaluatio of Shortest-Path Based Cetrality Idices. Kostazer Schrifte i Mathemati ud Iformati 10 (000) [BP00] Brades, U., Pich, C.: Cetrality Estimatio i Large Networs. Itl. Joural of Bifurcatio ad Chaos i Applied Scieces ad Egieerig 17(7) [BP98] Bri, S., Page, L.: The aatomy of a large-scale hypertextual Web search egie. Computer Networs ad ISDN Systems 30 (1998)

11 [CV03] Costebader, E., Valete, T. W.: The stability of cetrality measures whe etwors are sampled. Social Networs 5 (003) [Di59] Dijstra, E. W.: A ote o two problems i coexio with graphs. Numerische Mathemati 1 (1959) [EL05] Elmacioglu, E., Lee, D.: O six degrees of separatio i DBLP-DB ad more. ACM SIGMOD Record 34() (005) [EW04] Eppstei, D., Wag, J.: Fast Approximatio of Cetrality. Joural of Graph Algorithms ad Applicatios 8 (004) [FT87] Fredma, M. L., Tarja, R. E.: Fiboacci heaps ad their uses i improved etwor optimizatio algorithms. Joural of the ACM 34(3) (1987) [Fr79] Freema, L. C.: Cetrality i social etwors coceptual clarificatio. Social Networs 1(3) (1978/79) [GS08] Geisberger, R., Saders, P., Schultes, D.: Better Approximatio of Betweeess Cetrality. Proceedigs of the 10th Worshop o Algorithm Egieerig ad Experimets (ALENEX 08) SIAM (008) [Ho63] Hoeffdig, W.: Probability iequalities for sums of bouded radom variables. Joural of the ACM 58(1) (1963) [Jo77] Johso, D. B.: Efficiet algorithms for shortest paths i sparse etwors. Joural of the ACM 4(1) (1977) 1 13 [KL05] Koschutzi, D., Lehma, K. A., Peeters, L., Richter, S., Tefelde-Podehl, D., Zlotowsi, O.: Cetrality idices. Networ Aalysis (005) [Ne04a] Newma, M. E. J.: Coauthorship etwors ad patters of scietific collaboratio. Proceedigs of the Natioal Academy of Scieces 101 (004) [Ne04b] Newma, M. E. J.: Who is the best coected scietist? A study of scietific coauthorship etwors. Complex Networs (004) [NP03] Newma, M. E. J., Par, J.: Why social etwors are differet from other types of etwors. Physical Review E 68 (003) 0361 [PP0] Potterat, J. J., Phillips-Plummer, L., Muth, S. Q., Rotheberg, R. B., Woodhouse, D. E., Maldoado-Log, T. S., Zimmerma H. P., Muth, J. B.: Ris etwor structure i the early epidemic phase of HIV trasmissio i Colorado Sprigs. Sexually Trasmitted Ifectios 78 (00) i159 i163 [Sa66] Sabidussi, G.: The cetrality idex of a graph. Psychometria 31(4) (1966)

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

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

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

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

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

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

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

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

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

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

Pattern Recognition Systems Lab 1 Least Mean Squares

Pattern Recognition Systems Lab 1 Least Mean Squares Patter Recogitio Systems Lab 1 Least Mea Squares 1. Objectives This laboratory work itroduces the OpeCV-based framework used throughout the course. I this assigmet a lie is fitted to a set of poits usig

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

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

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

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

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

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 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

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

An Improved Shuffled Frog-Leaping Algorithm for Knapsack Problem

An Improved Shuffled Frog-Leaping Algorithm for Knapsack Problem A Improved Shuffled Frog-Leapig Algorithm for Kapsack Problem Zhoufag Li, Ya Zhou, ad Peg Cheg School of Iformatio Sciece ad Egieerig Hea Uiversity of Techology ZhegZhou, Chia lzhf1978@126.com Abstract.

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

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

Improved Random Graph Isomorphism

Improved Random Graph Isomorphism 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

More information

Performance Plus Software Parameter Definitions

Performance Plus Software Parameter Definitions Performace Plus+ Software Parameter Defiitios/ Performace Plus Software Parameter Defiitios Chapma Techical Note-TG-5 paramete.doc ev-0-03 Performace Plus+ Software Parameter Defiitios/2 Backgroud ad Defiitios

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

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

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

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

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

3D Model Retrieval Method Based on Sample Prediction

3D Model Retrieval Method Based on Sample Prediction 20 Iteratioal Coferece o Computer Commuicatio ad Maagemet Proc.of CSIT vol.5 (20) (20) IACSIT Press, Sigapore 3D Model Retrieval Method Based o Sample Predictio Qigche Zhag, Ya Tag* School of Computer

More information

CIS 121 Data Structures and Algorithms with Java Spring Stacks, Queues, and Heaps Monday, February 18 / Tuesday, February 19

CIS 121 Data Structures and Algorithms with Java Spring Stacks, Queues, and Heaps Monday, February 18 / Tuesday, February 19 CIS Data Structures ad Algorithms with Java Sprig 09 Stacks, Queues, ad Heaps Moday, February 8 / Tuesday, February 9 Stacks ad Queues Recall the stack ad queue ADTs (abstract data types from lecture.

More information

BASED ON ITERATIVE ERROR-CORRECTION

BASED ON ITERATIVE ERROR-CORRECTION A COHPARISO OF CRYPTAALYTIC PRICIPLES BASED O ITERATIVE ERROR-CORRECTIO Miodrag J. MihaljeviC ad Jova Dj. GoliC Istitute of Applied Mathematics ad Electroics. Belgrade School of Electrical Egieerig. Uiversity

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

Analysis of Server Resource Consumption of Meteorological Satellite Application System Based on Contour Curve

Analysis of Server Resource Consumption of Meteorological Satellite Application System Based on Contour Curve Advaces i Computer, Sigals ad Systems (2018) 2: 19-25 Clausius Scietific Press, Caada Aalysis of Server Resource Cosumptio of Meteorological Satellite Applicatio System Based o Cotour Curve Xiagag Zhao

More information

9.1. Sequences and Series. Sequences. What you should learn. Why you should learn it. Definition of Sequence

9.1. Sequences and Series. Sequences. What you should learn. Why you should learn it. Definition of Sequence _9.qxd // : AM Page Chapter 9 Sequeces, Series, ad Probability 9. Sequeces ad Series What you should lear Use sequece otatio to write the terms of sequeces. Use factorial otatio. Use summatio otatio to

More information

IMP: Superposer Integrated Morphometrics Package Superposition Tool

IMP: Superposer Integrated Morphometrics Package Superposition Tool IMP: Superposer Itegrated Morphometrics Package Superpositio Tool Programmig by: David Lieber ( 03) Caisius College 200 Mai St. Buffalo, NY 4208 Cocept by: H. David Sheets, Dept. of Physics, Caisius College

More information

Lecture 28: Data Link Layer

Lecture 28: Data Link Layer Automatic Repeat Request (ARQ) 2. Go ack N ARQ Although the Stop ad Wait ARQ is very simple, you ca easily show that it has very the low efficiecy. The low efficiecy comes from the fact that the trasmittig

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

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

Intro to Scientific Computing: Solutions

Intro to Scientific Computing: Solutions Itro to Scietific Computig: Solutios Dr. David M. Goulet. How may steps does it take to separate 3 objects ito groups of 4? We start with 5 objects ad apply 3 steps of the algorithm to reduce the pile

More information

Ch 9.3 Geometric Sequences and Series Lessons

Ch 9.3 Geometric Sequences and Series Lessons Ch 9.3 Geometric Sequeces ad Series Lessos SKILLS OBJECTIVES Recogize a geometric sequece. Fid the geeral, th term of a geometric sequece. Evaluate a fiite geometric series. Evaluate a ifiite geometric

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

CSC 220: Computer Organization Unit 11 Basic Computer Organization and Design

CSC 220: Computer Organization Unit 11 Basic Computer Organization and Design College of Computer ad Iformatio Scieces Departmet of Computer Sciece CSC 220: Computer Orgaizatio Uit 11 Basic Computer Orgaizatio ad Desig 1 For the rest of the semester, we ll focus o computer architecture:

More information

Evaluation scheme for Tracking in AMI

Evaluation scheme for Tracking in AMI A M I C o m m u i c a t i o A U G M E N T E D M U L T I - P A R T Y I N T E R A C T I O N http://www.amiproject.org/ Evaluatio scheme for Trackig i AMI S. Schreiber a D. Gatica-Perez b AMI WP4 Trackig:

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

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

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

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

Consider the following population data for the state of California. Year Population

Consider the following population data for the state of California. Year Population Assigmets for Bradie Fall 2016 for Chapter 5 Assigmet sheet for Sectios 5.1, 5.3, 5.5, 5.6, 5.7, 5.8 Read Pages 341-349 Exercises for Sectio 5.1 Lagrage Iterpolatio #1, #4, #7, #13, #14 For #1 use MATLAB

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

Fast Fourier Transform (FFT) Algorithms

Fast Fourier Transform (FFT) Algorithms Fast Fourier Trasform FFT Algorithms Relatio to the z-trasform elsewhere, ozero, z x z X x [ ] 2 ~ elsewhere,, ~ e j x X x x π j e z z X X π 2 ~ The DFS X represets evely spaced samples of the z- trasform

More information

A SOFTWARE MODEL FOR THE MULTILAYER PERCEPTRON

A SOFTWARE MODEL FOR THE MULTILAYER PERCEPTRON A SOFTWARE MODEL FOR THE MULTILAYER PERCEPTRON Roberto Lopez ad Eugeio Oñate Iteratioal Ceter for Numerical Methods i Egieerig (CIMNE) Edificio C1, Gra Capitá s/, 08034 Barceloa, Spai ABSTRACT I this work

More information

Lecture 18. Optimization in n dimensions

Lecture 18. Optimization in n dimensions Lecture 8 Optimizatio i dimesios Itroductio We ow cosider the problem of miimizig a sigle scalar fuctio of variables, f x, where x=[ x, x,, x ]T. The D case ca be visualized as fidig the lowest poit of

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

The Closest Line to a Data Set in the Plane. David Gurney Southeastern Louisiana University Hammond, Louisiana

The Closest Line to a Data Set in the Plane. David Gurney Southeastern Louisiana University Hammond, Louisiana The Closest Lie to a Data Set i the Plae David Gurey Southeaster Louisiaa Uiversity Hammod, Louisiaa ABSTRACT This paper looks at three differet measures of distace betwee a lie ad a data set i the plae:

More information

Adaptive Resource Allocation for Electric Environmental Pollution through the Control Network

Adaptive Resource Allocation for Electric Environmental Pollution through the Control Network Available olie at www.sciecedirect.com Eergy Procedia 6 (202) 60 64 202 Iteratioal Coferece o Future Eergy, Eviromet, ad Materials Adaptive Resource Allocatio for Electric Evirometal Pollutio through the

More information

Pruning and Summarizing the Discovered Time Series Association Rules from Mechanical Sensor Data Qing YANG1,a,*, Shao-Yu WANG1,b, Ting-Ting ZHANG2,c

Pruning and Summarizing the Discovered Time Series Association Rules from Mechanical Sensor Data Qing YANG1,a,*, Shao-Yu WANG1,b, Ting-Ting ZHANG2,c Advaces i Egieerig Research (AER), volume 131 3rd Aual Iteratioal Coferece o Electroics, Electrical Egieerig ad Iformatio Sciece (EEEIS 2017) Pruig ad Summarizig the Discovered Time Series Associatio Rules

More information

The Counterchanged Crossed Cube Interconnection Network and Its Topology Properties

The Counterchanged Crossed Cube Interconnection Network and Its Topology Properties WSEAS TRANSACTIONS o COMMUNICATIONS Wag Xiyag The Couterchaged Crossed Cube Itercoectio Network ad Its Topology Properties WANG XINYANG School of Computer Sciece ad Egieerig South Chia Uiversity of Techology

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

Accuracy Improvement in Camera Calibration

Accuracy Improvement in Camera Calibration Accuracy Improvemet i Camera Calibratio FaJie L Qi Zag ad Reihard Klette CITR, Computer Sciece Departmet The Uiversity of Aucklad Tamaki Campus, Aucklad, New Zealad fli006, qza001@ec.aucklad.ac.z r.klette@aucklad.ac.z

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

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

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

Approximating Betweenness Centrality

Approximating Betweenness Centrality Approximatig Betweeess Cetrality David A. Bader, Shiva Kitali, Kamesh Madduri, ad Milea Mihail College of Computig Georgia Istitute of Techology {bader,kitali,kamesh,mihail}@cc.gatech.edu Abstract. Betweeess

More information

Improvement of the Orthogonal Code Convolution Capabilities Using FPGA Implementation

Improvement of the Orthogonal Code Convolution Capabilities Using FPGA Implementation Improvemet of the Orthogoal Code Covolutio Capabilities Usig FPGA Implemetatio Naima Kaabouch, Member, IEEE, Apara Dhirde, Member, IEEE, Saleh Faruque, Member, IEEE Departmet of Electrical Egieerig, Uiversity

More information

( n+1 2 ) , position=(7+1)/2 =4,(median is observation #4) Median=10lb

( n+1 2 ) , position=(7+1)/2 =4,(median is observation #4) Median=10lb Chapter 3 Descriptive Measures Measures of Ceter (Cetral Tedecy) These measures will tell us where is the ceter of our data or where most typical value of a data set lies Mode the value that occurs most

More information

Examples and Applications of Binary Search

Examples and Applications of Binary Search Toy Gog ITEE Uiersity of Queeslad I the secod lecture last week we studied the biary search algorithm that soles the problem of determiig if a particular alue appears i a sorted list of iteger or ot. We

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

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

A New Morphological 3D Shape Decomposition: Grayscale Interframe Interpolation Method

A New Morphological 3D Shape Decomposition: Grayscale Interframe Interpolation Method A ew Morphological 3D Shape Decompositio: Grayscale Iterframe Iterpolatio Method D.. Vizireau Politehica Uiversity Bucharest, Romaia ae@comm.pub.ro R. M. Udrea Politehica Uiversity Bucharest, Romaia mihea@comm.pub.ro

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

Eigenimages. Digital Image Processing: Bernd Girod, 2013 Stanford University -- Eigenimages 1

Eigenimages. Digital Image Processing: Bernd Girod, 2013 Stanford University -- Eigenimages 1 Eigeimages Uitary trasforms Karhue-Loève trasform ad eigeimages Sirovich ad Kirby method Eigefaces for geder recogitio Fisher liear discrimat aalysis Fisherimages ad varyig illumiatio Fisherfaces vs. eigefaces

More information

Harris Corner Detection Algorithm at Sub-pixel Level and Its Application Yuanfeng Han a, Peijiang Chen b * and Tian Meng c

Harris Corner Detection Algorithm at Sub-pixel Level and Its Application Yuanfeng Han a, Peijiang Chen b * and Tian Meng c Iteratioal Coferece o Computatioal Sciece ad Egieerig (ICCSE 015) Harris Corer Detectio Algorithm at Sub-pixel Level ad Its Applicatio Yuafeg Ha a, Peijiag Che b * ad Tia Meg c School of Automobile, Liyi

More information

The identification of key quality characteristics based on FAHP

The identification of key quality characteristics based on FAHP Iteratioal Joural of Research i Egieerig ad Sciece (IJRES ISSN (Olie: 2320-9364, ISSN (Prit: 2320-9356 Volume 3 Issue 6 ǁ Jue 2015 ǁ PP.01-07 The idetificatio of ey quality characteristics based o FAHP

More information

A Study on the Performance of Cholesky-Factorization using MPI

A Study on the Performance of Cholesky-Factorization using MPI A Study o the Performace of Cholesky-Factorizatio usig MPI Ha S. Kim Scott B. Bade Departmet of Computer Sciece ad Egieerig Uiversity of Califoria Sa Diego {hskim, bade}@cs.ucsd.edu Abstract Cholesky-factorizatio

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

Recursive Estimation

Recursive Estimation Recursive Estimatio Raffaello D Adrea Sprig 2 Problem Set: Probability Review Last updated: February 28, 2 Notes: Notatio: Uless otherwise oted, x, y, ad z deote radom variables, f x (x) (or the short

More information

Octahedral Graph Scaling

Octahedral Graph Scaling Octahedral Graph Scalig Peter Russell Jauary 1, 2015 Abstract There is presetly o strog iterpretatio for the otio of -vertex graph scalig. This paper presets a ew defiitio for the term i the cotext of

More information

A Note on Least-norm Solution of Global WireWarping

A Note on Least-norm Solution of Global WireWarping A Note o Least-orm Solutio of Global WireWarpig Charlie C. L. Wag Departmet of Mechaical ad Automatio Egieerig The Chiese Uiversity of Hog Kog Shati, N.T., Hog Kog E-mail: cwag@mae.cuhk.edu.hk Abstract

More information

Chapter 1. Introduction to Computers and C++ Programming. Copyright 2015 Pearson Education, Ltd.. All rights reserved.

Chapter 1. Introduction to Computers and C++ Programming. Copyright 2015 Pearson Education, Ltd.. All rights reserved. Chapter 1 Itroductio to Computers ad C++ Programmig Copyright 2015 Pearso Educatio, Ltd.. All rights reserved. Overview 1.1 Computer Systems 1.2 Programmig ad Problem Solvig 1.3 Itroductio to C++ 1.4 Testig

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

Introduction. Nature-Inspired Computing. Terminology. Problem Types. Constraint Satisfaction Problems - CSP. Free Optimization Problem - FOP

Introduction. Nature-Inspired Computing. Terminology. Problem Types. Constraint Satisfaction Problems - CSP. Free Optimization Problem - FOP Nature-Ispired Computig Hadlig Costraits Dr. Şima Uyar September 2006 Itroductio may practical problems are costraied ot all combiatios of variable values represet valid solutios feasible solutios ifeasible

More information

The Magma Database file formats

The Magma Database file formats The Magma Database file formats Adrew Gaylard, Bret Pikey, ad Mart-Mari Breedt Johaesburg, South Africa 15th May 2006 1 Summary Magma is a ope-source object database created by Chris Muller, of Kasas City,

More information

Numerical Methods Lecture 6 - Curve Fitting Techniques

Numerical Methods Lecture 6 - Curve Fitting Techniques Numerical Methods Lecture 6 - Curve Fittig Techiques Topics motivatio iterpolatio liear regressio higher order polyomial form expoetial form Curve fittig - motivatio For root fidig, we used a give fuctio

More information

Cubic Polynomial Curves with a Shape Parameter

Cubic Polynomial Curves with a Shape Parameter roceedigs of the th WSEAS Iteratioal Coferece o Robotics Cotrol ad Maufacturig Techology Hagzhou Chia April -8 00 (pp5-70) Cubic olyomial Curves with a Shape arameter MO GUOLIANG ZHAO YANAN Iformatio ad

More information

SD vs. SD + One of the most important uses of sample statistics is to estimate the corresponding population parameters.

SD vs. SD + One of the most important uses of sample statistics is to estimate the corresponding population parameters. SD vs. SD + Oe of the most importat uses of sample statistics is to estimate the correspodig populatio parameters. The mea of a represetative sample is a good estimate of the mea of the populatio that

More information

Morgan Kaufmann Publishers 26 February, COMPUTER ORGANIZATION AND DESIGN The Hardware/Software Interface. Chapter 5

Morgan Kaufmann Publishers 26 February, COMPUTER ORGANIZATION AND DESIGN The Hardware/Software Interface. Chapter 5 Morga Kaufma Publishers 26 February, 28 COMPUTER ORGANIZATION AND DESIGN The Hardware/Software Iterface 5 th Editio Chapter 5 Set-Associative Cache Architecture Performace Summary Whe CPU performace icreases:

More information

Dynamic Programming and Curve Fitting Based Road Boundary Detection

Dynamic Programming and Curve Fitting Based Road Boundary Detection Dyamic Programmig ad Curve Fittig Based Road Boudary Detectio SHYAM PRASAD ADHIKARI, HYONGSUK KIM, Divisio of Electroics ad Iformatio Egieerig Chobuk Natioal Uiversity 664-4 Ga Deokji-Dog Jeoju-City Jeobuk

More information

Copyright 2016 Ramez Elmasri and Shamkant B. Navathe

Copyright 2016 Ramez Elmasri and Shamkant B. Navathe Copyright 2016 Ramez Elmasri ad Shamkat B. Navathe CHAPTER 19 Query Optimizatio Copyright 2016 Ramez Elmasri ad Shamkat B. Navathe Itroductio Query optimizatio Coducted by a query optimizer i a DBMS Goal:

More information

Algorithm Design Techniques. Divide and conquer Problem

Algorithm Design Techniques. Divide and conquer Problem Algorithm Desig Techiques Divide ad coquer Problem Divide ad Coquer Algorithms Divide ad Coquer algorithm desig works o the priciple of dividig the give problem ito smaller sub problems which are similar

More information

Normal Distributions

Normal Distributions Normal Distributios Stacey Hacock Look at these three differet data sets Each histogram is overlaid with a curve : A B C A) Weights (g) of ewly bor lab rat pups B) Mea aual temperatures ( F ) i A Arbor,

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

A Polynomial Interval Shortest-Route Algorithm for Acyclic Network

A Polynomial Interval Shortest-Route Algorithm for Acyclic Network A Polyomial Iterval Shortest-Route Algorithm for Acyclic Network Hossai M Akter Key words: Iterval; iterval shortest-route problem; iterval algorithm; ucertaity Abstract A method ad algorithm is preseted

More information

Alpha Individual Solutions MAΘ National Convention 2013

Alpha Individual Solutions MAΘ National Convention 2013 Alpha Idividual Solutios MAΘ Natioal Covetio 0 Aswers:. D. A. C 4. D 5. C 6. B 7. A 8. C 9. D 0. B. B. A. D 4. C 5. A 6. C 7. B 8. A 9. A 0. C. E. B. D 4. C 5. A 6. D 7. B 8. C 9. D 0. B TB. 570 TB. 5

More information

APPLICATION NOTE PACE1750AE BUILT-IN FUNCTIONS

APPLICATION NOTE PACE1750AE BUILT-IN FUNCTIONS APPLICATION NOTE PACE175AE BUILT-IN UNCTIONS About This Note This applicatio brief is iteded to explai ad demostrate the use of the special fuctios that are built ito the PACE175AE processor. These powerful

More information

Sectio 4, a prototype project of settig field weight with AHP method is developed ad the experimetal results are aalyzed. Fially, we coclude our work

Sectio 4, a prototype project of settig field weight with AHP method is developed ad the experimetal results are aalyzed. Fially, we coclude our work 200 2d Iteratioal Coferece o Iformatio ad Multimedia Techology (ICIMT 200) IPCSIT vol. 42 (202) (202) IACSIT Press, Sigapore DOI: 0.7763/IPCSIT.202.V42.0 Idex Weight Decisio Based o AHP for Iformatio Retrieval

More information

Scalable Diversified Ranking on Large Graphs

Scalable Diversified Ranking on Large Graphs IEEE TRANSACTIONS ON NOWLEDGE AND DATA ENGINEERING, VOL.XXX, NO. XXX, 22 Scalable Diversified Rakig o Large Graphs Rog-Hua Li ad Jeffery Xu Yu Abstract Ehacig diversity i rakig o graphs has bee idetified

More information

Arithmetic Sequences

Arithmetic Sequences . Arithmetic Sequeces COMMON CORE Learig Stadards HSF-IF.A. HSF-BF.A.1a HSF-BF.A. HSF-LE.A. Essetial Questio How ca you use a arithmetic sequece to describe a patter? A arithmetic sequece is a ordered

More information