Chung–Fuchs theorem: Difference between revisions

From formulasearchengine
Jump to navigation Jump to search
en>Tony1
No edit summary
 
en>Yobot
m WP:CHECKWIKI error fixes / special characters in sortkey fixed, added orphan tag using AWB (9427)
Line 1: Line 1:
== boils them for some hours Beats Pill Australia ==
A [[randomized algorithm]] for computing the [[minimum spanning forest]] of a [[weighted graph]] with no [[isolated vertex|isolated vertices]].  It was developed by [[David Karger]], Philip Klein, and [[Robert Tarjan]]
.<ref>{{citation
| last1 = Karger | first1 = David R. | author1-link = David Karger
| last2 = Klein | first2 = Philip N.
| last3 = Tarjan | first3 = Robert E. | author3-link = Robert Tarjan
| doi = 10.1145/201019.201022
| mr = 1409738
| issue = 2
| journal = [[Journal of the Association for Computing Machinery]]
| pages = 321–328
| title = A randomized linear-time algorithm to find minimum spanning trees
| volume = 42
| year = 1995}}</ref>  The algorithm relies on techniques from [[Borůvka's algorithm]] along with an algorithm for [[MST verification algorithm|verifying a minimum spanning tree in linear time]]<ref name=MST-V1>{{cite journal
| last1 = Dixon | first1 = Brandon
| last2 = Rauch | first2 = Monika
| last3 = Tarjan | first3 = Robert
| author3-link = Robert Tarjan
| title = Verification and sensitivity analysis of minimum spanning trees in linear time
| journal = SIAM J. on Computing
| volume = 21
| pages = 1184–1192
| year = 1992
| url = http://citeseerx.ist.psu.edu/viewdoc/summary?doi=10.1.1.49.25
}}</ref>
.<ref name=MST-V2>
{{cite conference
| last1 = King | first1 = Valerie
| title = A Simpler Minimum Spanning Tree Verification Algorithm
| booktitle = Proceedings of the 4th International Workshop on Algorithms and Data Structures
| year = 1995
| pages = 440–448
| url = http://dl.acm.org/citation.cfm?id=645930.672859
| publisher = Springer-Verlag
| location = London, UK, UK
}}
</ref>  It combines the design paradigms of [[divide and conquer algorithms]], [[greedy algorithms]], and [[randomized algorithms]] to achieve [[Expected value|expected]] [[linear time|linear performance]].


The doors at suite 1640 are now closed. Whether other doors open up for the CI is anybody's guess. Time marches on by, seemingly faster and faster. Inside a blink Monday has become Friday, and January has become June, and you wonder where all the time went. 1990 a simpler time, back when schools had computer labs but no one really knew why yet. I was not old enough to drive yet and most of my fishing was for bass or pickerel at ponds and lakes I possibly could peddle my BMX to. <br><br>Bed very comfortable and pillow choice in room. Only gripe that is very minor, the breakfast room chairs are wicker iron and never the most comfortable. In 2000, Krblek and eba reported it within the Cuernavaca bus system. And in the past few years it has shown up in spectral measurements of composite materials, such as sea ice and human bones, and in signal dynamics of the ErdsRnyi model, a simplified version of the internet named for Paul Erds and Alfrd Rnyi.. <br><br>The files reportedly said initial testing was positive, nevertheless the project was ditched at the begining of 1945. It was concluded that a single explosion would not be powerful enough to generate a tsunami, but a type of about 2 million kilograms of explosives about 8km from shore could produce a giant wave capable of inundating a little city.. <br><br>How Goes Rheumatoid arthritis symptoms Affect The Body Zonegran For Migraine Prevention Their Amoxicillin 2000 Mg Fast Stroke Volume High Blood Pressure Citalopram And [http://www.flowervalewarmbloods.com.au/FCKeditor/editor/css/behaviors/sendmail.asp?page=30-Beats-Pill-Australia Beats Pill Australia] Singular Interaction Weight Traing For Weight Loss Effexor Good Anxiety . Timoptic No Prescription Eye Care Online Pharmacy Drawings Of Tramadol Hcl Migraine Specialist Philly Tramadol 50 Mg Norsk. <br><br>This debacle left a taste in my mouth that whenever a year I still can shake. I tell my buddies and family not to use eHow. Are you able to imagine how many people she referred through [http://www.marriagecelebrantjillemerton.com.au/scripts/search.asp?page=32-Replica-Louis-Vuitton-Handbags-Australia Replica Louis Vuitton Handbags Australia] the years? I love to know what her Aweber [http://www.slickwebsites.com.au/images/test/test.asp?k=10-Buy-Oakley-Sunglasses-Online Buy Oakley Sunglasses Online] checks seem like. For myself, I [http://www.abaservicesaustralia.com.au/Staff/members.asp?action=18-New-Balance-Classics-Cheap New Balance Classics Cheap] earn about $115 from recommending Aweber every 2 or 3 months and that number will certainly grow over time.. <br><br>My father would purchase a bucket of salted ribs, boils them for some hours, cabbage, turnip, potatoes, carrots. My home experience is that many dishes are boiled including a boiled cake. You can find lots of car pictures. We have a big photos gallery from different kinds of categories. <br><br>You know that I've found great humor in the one sided, extremely predictable works of Larry Brooks. You realize they are going to be anti NHL, pro NHLPA, anti John Tortorella or pro NY Ranger. I don't know about any other medications, and if you have questions or concerns regarding your own you should call your physician. I do know that I feel good about this decision, and so far things are really good.<ul>
Deterministic algorithms that find the minimum spanning tree include [[Prim's algorithm]], [[Kruskal's algorithm]], [[Reverse-Delete algorithm]], and [[Borůvka's algorithm]].
 
 
  <li>[http://tilojavideo.com/index.php/blogs/1950952/6197097/i-dunno-timberland-hiking-boots http://tilojavideo.com/index.php/blogs/1950952/6197097/i-dunno-timberland-hiking-boots]</li>
==Overview==
 
The key insight to the algorithm is a random sampling step which partitions a graph into two [[Glossary_of_graph_theory#Subgraphs|subgraphs]] by randomly selecting edges to include in each subgraph.  The algorithm recursively finds the [[minimum spanning tree|minimum spanning forest]] of the first subproblem and uses the solution in conjunction with the [[MST verification algorithm|linear time verification algorithm]] to discard edges in the graph that cannot be in the minimum spanning tree. A procedure taken from [[Borůvka's algorithm]] is also used to reduce the size of the graph at each [[Recursion (computer science)|recursion]].
  <li>[http://www.sebalo.info/spip/spip.php?article13 http://www.sebalo.info/spip/spip.php?article13]</li>
 
 
===Borůvka Step===
  <li>[http://colossuscorporation.net/appicker/index.php?option=com_kunena&func=view&catid=16&id=560582&Itemid=534#560582 http://colossuscorporation.net/appicker/index.php?option=com_kunena&func=view&catid=16&id=560582&Itemid=534#560582]</li>
Each iteration of the algorithm relies on an adaptation of Borůvka's Algorithm referred to as a '''Borůvka Step'''
 
<br />
  <li>[http://www.ai33228.com/forum.php?mod=viewthread&tid=507636 http://www.ai33228.com/forum.php?mod=viewthread&tid=507636]</li>
  Input: A graph ''G'' with no isolated vertices
 
    1 For each vertex ''v'', select the lightest edge incident on ''v''
</ul>
    2 Create a contracted graph ''G''' by replacing each component of ''G'' connected by the edges selected in step 1 with a single vertex
    3 Remove all isolated vertices, self-loops, and non-minimal repetitive edges from ''G'''
  Output: The edges selected in step 1 and the contracted graph ''G'''
A Borůvka Step is equivalent to the inner loop of [[Borůvka's algorithm]] which runs in ''O''(''m'') time where ''m'' is the number of edges in ''G''. Furthermore, since each edge can be selected at most twice (once by each incident vertex) the maximum number of disconnected components after step 1 is equal to half the number of vertices. Thus, a Borůvka step reduces the number of vertices in the graph by at least a factor of two and deletes at least ''n''/2 edges where ''n'' is the number of vertices in ''G''.
 
Example Execution of a Borůvka Step
{| border=1 cellspacing=2 cellpadding=5 class="wikitable"
! Image !! Description
|-
|[[Image:Boruvka Step 1.svg|200px]]
|The lightest edge incident on each vertex is highlighted in green.
|-
|[[Image:Boruvka Step 2.svg|200px]]
|The graph is contracted and each component connected by the edges selected in step 1 is replaced by a single vertex.  This creates two supernodes.  All edges from the original graph remain.
|-
|[[Image:Boruvka Step 3.svg|200px]]
|Edges that form self loops to the supernodes are deleted.
|-
|[[Image:Boruvka Step 4.svg|200px]]
|Non-minimal redundant edges between supernodes are deleted.
|-
|[[Image:Boruvka Step 5.svg|200px]]
|The result of one Borůvka Step on the sample graph is a graph with two supernodes connected by a single edge.
|}
 
===F-heavy and F-light Edges===
In each iteration the algorithm removes edges with particular properties that exclude them from the [[minimum spanning tree]].  These are called '''F-heavy edges''' and are defined as follows. Let ''F'' be a forest on the [[Graph (mathematics)|graph]] ''H''. An F-heavy edge is an edge ''e'' connecting vertices ''u'',''v'' whose weight is strictly greater than the weight of the heaviest edge on the path from ''u'' to ''v'' in ''F''. (If a path does not exist in ''F'' it is considered to have infinite weight).  Any edge that is not F-heavy is '''F-light'''.  If ''H'' is a [[Glossary_of_graph_theory#Subgraphs|subgraph]] of ''G'' then any F-heavy edge in ''G'' cannot be in the minimum spanning tree of ''G'' by the [[Minimum_spanning_tree#Cycle_property|cycle property]].  Given a forest, F-heavy edges can be computed in [[linear time]] using a [[MST verification algorithm|minimum spanning tree verification algorithm]].<ref name=MST-V1/><ref name=MST-V2/>
 
==Algorithm==
  Input: A graph ''G'' with no isolated vertices
    1 If ''G'' is empty return an empty forest
    2 Create a contracted graph ''G''' by running two successive Borůvka steps on ''G''
    3 Create a subgraph ''H'' by selecting each edge in ''G''' with probability 1/2. Recursively apply the algorithm to ''H'' to get its minimum spanning forest ''F''.
    4 Remove all F-heavy edges from ''G''' (where ''F'' is the forest from step 3) using a [[MST verification algorithm|linear time minimum spanning tree verification algorithm]].<ref name=MST-V1/><ref name=MST-V2/>
    5 Recursively apply the algorithm to ''G''' to get its minimum spanning forest.
  Output: The minimum spanning forest of ''G''' and the contracted edges from the Borůvka steps
 
==Correctness==
Correctness is proved by induction on the number of vertices in the graph.  The base case is trivially true.  Let ''T*'' be the minimum spanning tree of ''G''.  Every edge selected in a Borůvka step is in ''T*'' by the [[Minimum_spanning_tree#Cut_property|cut property]] and none of the edges removed to form the contracted graph are in ''T*'' by the [[Minimum_spanning_tree#Cut_property|cut property]] (for redundant edges) and the [[Minimum_spanning_tree#Cycle_property|cycle property]] (for self loops).  The remaining edges of ''T*'' not selected in step 2 form the [[minimum spanning tree]] of the contracted graph by the [[Minimum_spanning_tree#Cut_property|cut property]] (let each cut be a supernode).  Every '''[[#F-heavy and F-light Edges|F-heavy edge]]''' deleted is not in the minimum spanning tree by the [[Minimum_spanning_tree#Cycle_property|cycle property]]. Finally ''F<nowiki>'</nowiki>'' is the minimum spanning tree of the contracted graph by the inductive hypothesis. Thus ''F<nowiki>'</nowiki>'' and the edges contracted edges from the Borůvka steps form the minimum spanning tree.
 
==Performance==
The expected performance is a result of the random sampling step.  The effectiveness of the random sampling step is described by the following lemma which places a bound on the number of '''[[#F-heavy and F-light Edges|F-light]]''' edges in ''G'' thereby restricting the size of the second subproblem.
 
===Random Sampling Lemma===
'''Lemma'''- Let ''H'' be a subgraph of ''G'' formed by including each edge of ''G'' independently with probability ''p'' and let ''F'' be the minimum spanning forest of ''H''. The [[Expected value|expected number]] of '''[[#F-heavy and F-light Edges|F-light]]''' edges in ''G'' is at most ''n/p'' where ''n'' is the number of vertices in ''G''
 
To prove the lemma examine the edges of ''G'' as they are being added to ''H''. The number of [[#F-heavy and F-light Edges|F-light]] edges in ''G'' is independent of the order in which the edges of ''H'' are selected since the minimum spanning forest of ''H'' is the same for all selection orders. For the sake of the proof consider selecting edges for ''H''  by taking the edges of ''G'' one at a time in order of edge weight from lightest to heaviest. Let ''e'' be the current edge being considered. If the endpoints of ''e'' are in two disconnected components of ''H'' then ''e'' is the lightest edge connecting those components and if it is added to ''H'' it will be in ''F'' by the [[Minimum_spanning_tree#Cut_property|cut property]]. This also means ''e'' is [[#F-heavy and F-light Edges|F-light]] regardless of whether or not it is added to ''H'' since only heavier edges are subsequently considered.  If both endpoints of ''e'' are in the same component of ''H'' then it is (and always will be) F-heavy by the [[Minimum_spanning_tree#Cycle_property|cycle property]]. Edge ''e''  is then added to ''H'' with probability ''p''.
 
The maximum number of [[#F-heavy and F-light Edges|F-light]] edges added to ''H'' is ''n''-1 since any minimum spanning tree of ''H'' has ''n''-1 edges. Once ''n''-1 F-light edges have been added to ''H'' none of the subsequent edges considered are F-light by the [[Minimum_spanning_tree#Cycle_property|cycle property]]. Thus, the number of F-light edges in ''G'' is bounded by the number of F-light edges considered for ''H'' before ''n''-1 F-light edges are actually added to ''H''. Since any F-light edge is added with probability ''p'' this is equivalent to flipping a coin with probability ''p'' of coming up heads until ''n''-1 heads have appeared. The total number of coin flips is equal to the number of F-light edges in ''G''.  The distribution of the number of coin flips is given by the [[negative binomial distribution|inverse binomial distribution]] with parameters ''n''-1 and ''p''. For these parameters the expected value of this distribution is (''n''-1)/''p''.
 
===Expected Analysis===
Ignoring work done in recursive subproblems the total amount of work done in a single invocation of the algorithm is [[linear time|linear]] in the number of edges in the input graph. Step 1 takes constant time. Borůvka steps can be executed in time linear in the number of edges as mentioned in the [[#Borůvka Step|Borůvka step]] section. Step 3 iterates through the edges and flips a single coin for each one so it is linear in the number of edges.  Step 4 can be executed in linear time using a modified [[MST verification algorithm|linear time minimum spanning tree verification algorithm]].<ref name=MST-V1/><ref name=MST-V2/> Since the work done in one iteration of the algorithm is linear in the number of edges the work done in one complete run of the algorithm (including all recursive calls) is bounded by a constant factor times the total number of edges in the original problem and all recursive subproblems.
 
Each invocation of the algorithm produces at most two subproblems so the set of subproblems forms a [[binary tree]]. Each [[#Borůvka Step|Borůvka step]] reduces the number of vertices by at least a factor of two so after two Borůvka steps the number of vertices has been reduced by a factor of four. Thus, if the original graph has ''n'' vertices and ''m'' edges then at depth ''d'' of the tree each subproblem is on a graph of at most ''n''/4<sup>''d''</sup> vertices. Also the tree has at most log<sub>4</sub>''n'' levels. 
 
[[File:Linear MST Algorithm Left Subchildren.svg|thumb|right|Left paths of a binary tree are circled in blue]]
 
To reason about the recursion tree let the left child problem be the subproblem in the recursive call in step 3 and the right child problem be the subproblem in the recursive call in step 5.  Count the total number of edges in the original problem and all subproblems by counting the number of edges in each left path of the tree. A left path begins at either a right child or the root and includes all nodes reachable through a path of left children. The left paths of a binary tree are shown circled in blue in the diagram on the right.
 
Each edge in a left child problem is selected from the edges of its parent problem (less the edges contracted in the [[#Borůvka Step|Borůvka steps]]) with probability 1/2. If a parent problem has ''x'' edges then the [[Expected value|expected number]] of edges in the left child problem is at most ''x''/2. If ''x'' is replaced by a random variable ''X'' then by the [[Linearity_of_expectation#Linearity|linearity of expectation]] the expected number of edges in the left child problem ''Y'' is given by <math>E[Y] \leq E[X]/2</math>.  Thus if the expected number of edges in a problem at the top of a left path is ''k'' then the sum of the expected number of edges in each subproblem in the left path is at most <math>\sum_{d=0}^{\infty} \frac{k}{2^d}=2k</math> (see [[Geometric series]]). The root has ''m'' edges so the [[Expected value|expected number]] of edges is equal to 2''m'' plus twice the expected number of edges in each right subproblem.
 
The expected number of edges in each right subproblem is equal to the number of [[#F-heavy and F-light Edges|F-light]] edges in the parent problem where ''F'' is the minimum spanning tree of the left subproblem.  The number of F-light edges is less than or equal to twice the number of vertices in the subproblem by the [[#Random Sampling Lemma|sampling lemma]].  The number of vertices in a subproblem at depth ''d'' is ''n''/4<sup>''d''</sup> so the total number of vertices in all right subproblems is given by <math>\sum_{d=1}^{\infty}\frac{2^{d-1}n}{4^d}=n/2</math>. Thus, the expected number of edges in the original problem and all subproblems is at most 2''m''+''n''. Since ''n'' at most 2''m'' for a graph with no isolated vertices the algorithm runs in expected time ''O''(''m'').
 
===Worst Case Analysis===
The worst case runtime is equivalent to the runtime of [[Borůvka's algorithm]]. This occurs if all edges are added to either the left or right subproblem on each invocation. In this case the algorithm is identical to [[Borůvka's algorithm]] which runs in ''O''(min{''n''<sup>2</sup>, ''m''log''n''}) on a graph with ''n'' vertices and ''m'' edges.
 
==See also==
*[[Kruskal's Algorithm]]
*[[Borůvka's algorithm]]
*[[Prim's algorithm]]
*[[Reverse-Delete algorithm]]
 
==Further reading==
[http://www.cs.technion.ac.il/~idddo/mstverif.pdf  Minimum Spanning Tree Verification in Linear Time]
 
==References==
{{Reflist}}
 
[[Category:Randomized algorithms]]
[[Category:Spanning tree]]

Revision as of 10:32, 20 August 2013

A randomized algorithm for computing the minimum spanning forest of a weighted graph with no isolated vertices. It was developed by David Karger, Philip Klein, and Robert Tarjan .[1] The algorithm relies on techniques from Borůvka's algorithm along with an algorithm for verifying a minimum spanning tree in linear time[2] .[3] It combines the design paradigms of divide and conquer algorithms, greedy algorithms, and randomized algorithms to achieve expected linear performance.

Deterministic algorithms that find the minimum spanning tree include Prim's algorithm, Kruskal's algorithm, Reverse-Delete algorithm, and Borůvka's algorithm.

Overview

The key insight to the algorithm is a random sampling step which partitions a graph into two subgraphs by randomly selecting edges to include in each subgraph. The algorithm recursively finds the minimum spanning forest of the first subproblem and uses the solution in conjunction with the linear time verification algorithm to discard edges in the graph that cannot be in the minimum spanning tree. A procedure taken from Borůvka's algorithm is also used to reduce the size of the graph at each recursion.

Borůvka Step

Each iteration of the algorithm relies on an adaptation of Borůvka's Algorithm referred to as a Borůvka Step

 Input: A graph G with no isolated vertices
   1 For each vertex v, select the lightest edge incident on v 
   2 Create a contracted graph G' by replacing each component of G connected by the edges selected in step 1 with a single vertex
   3 Remove all isolated vertices, self-loops, and non-minimal repetitive edges from G' 
 Output: The edges selected in step 1 and the contracted graph G' 

A Borůvka Step is equivalent to the inner loop of Borůvka's algorithm which runs in O(m) time where m is the number of edges in G. Furthermore, since each edge can be selected at most twice (once by each incident vertex) the maximum number of disconnected components after step 1 is equal to half the number of vertices. Thus, a Borůvka step reduces the number of vertices in the graph by at least a factor of two and deletes at least n/2 edges where n is the number of vertices in G.

Example Execution of a Borůvka Step

Image Description
The lightest edge incident on each vertex is highlighted in green.
The graph is contracted and each component connected by the edges selected in step 1 is replaced by a single vertex. This creates two supernodes. All edges from the original graph remain.
Edges that form self loops to the supernodes are deleted.
Non-minimal redundant edges between supernodes are deleted.
The result of one Borůvka Step on the sample graph is a graph with two supernodes connected by a single edge.

F-heavy and F-light Edges

In each iteration the algorithm removes edges with particular properties that exclude them from the minimum spanning tree. These are called F-heavy edges and are defined as follows. Let F be a forest on the graph H. An F-heavy edge is an edge e connecting vertices u,v whose weight is strictly greater than the weight of the heaviest edge on the path from u to v in F. (If a path does not exist in F it is considered to have infinite weight). Any edge that is not F-heavy is F-light. If H is a subgraph of G then any F-heavy edge in G cannot be in the minimum spanning tree of G by the cycle property. Given a forest, F-heavy edges can be computed in linear time using a minimum spanning tree verification algorithm.[2][3]

Algorithm

 Input: A graph G with no isolated vertices
   1 If G is empty return an empty forest
   2 Create a contracted graph G' by running two successive Borůvka steps on G
   3 Create a subgraph H by selecting each edge in G' with probability 1/2.  Recursively apply the algorithm to H to get its minimum spanning forest F.
   4 Remove all F-heavy edges from G' (where F is the forest from step 3) using a linear time minimum spanning tree verification algorithm.[2][3]
   5 Recursively apply the algorithm to G' to get its minimum spanning forest.
 Output: The minimum spanning forest of G' and the contracted edges from the Borůvka steps

Correctness

Correctness is proved by induction on the number of vertices in the graph. The base case is trivially true. Let T* be the minimum spanning tree of G. Every edge selected in a Borůvka step is in T* by the cut property and none of the edges removed to form the contracted graph are in T* by the cut property (for redundant edges) and the cycle property (for self loops). The remaining edges of T* not selected in step 2 form the minimum spanning tree of the contracted graph by the cut property (let each cut be a supernode). Every F-heavy edge deleted is not in the minimum spanning tree by the cycle property. Finally F' is the minimum spanning tree of the contracted graph by the inductive hypothesis. Thus F' and the edges contracted edges from the Borůvka steps form the minimum spanning tree.

Performance

The expected performance is a result of the random sampling step. The effectiveness of the random sampling step is described by the following lemma which places a bound on the number of F-light edges in G thereby restricting the size of the second subproblem.

Random Sampling Lemma

Lemma- Let H be a subgraph of G formed by including each edge of G independently with probability p and let F be the minimum spanning forest of H. The expected number of F-light edges in G is at most n/p where n is the number of vertices in G

To prove the lemma examine the edges of G as they are being added to H. The number of F-light edges in G is independent of the order in which the edges of H are selected since the minimum spanning forest of H is the same for all selection orders. For the sake of the proof consider selecting edges for H by taking the edges of G one at a time in order of edge weight from lightest to heaviest. Let e be the current edge being considered. If the endpoints of e are in two disconnected components of H then e is the lightest edge connecting those components and if it is added to H it will be in F by the cut property. This also means e is F-light regardless of whether or not it is added to H since only heavier edges are subsequently considered. If both endpoints of e are in the same component of H then it is (and always will be) F-heavy by the cycle property. Edge e is then added to H with probability p.

The maximum number of F-light edges added to H is n-1 since any minimum spanning tree of H has n-1 edges. Once n-1 F-light edges have been added to H none of the subsequent edges considered are F-light by the cycle property. Thus, the number of F-light edges in G is bounded by the number of F-light edges considered for H before n-1 F-light edges are actually added to H. Since any F-light edge is added with probability p this is equivalent to flipping a coin with probability p of coming up heads until n-1 heads have appeared. The total number of coin flips is equal to the number of F-light edges in G. The distribution of the number of coin flips is given by the inverse binomial distribution with parameters n-1 and p. For these parameters the expected value of this distribution is (n-1)/p.

Expected Analysis

Ignoring work done in recursive subproblems the total amount of work done in a single invocation of the algorithm is linear in the number of edges in the input graph. Step 1 takes constant time. Borůvka steps can be executed in time linear in the number of edges as mentioned in the Borůvka step section. Step 3 iterates through the edges and flips a single coin for each one so it is linear in the number of edges. Step 4 can be executed in linear time using a modified linear time minimum spanning tree verification algorithm.[2][3] Since the work done in one iteration of the algorithm is linear in the number of edges the work done in one complete run of the algorithm (including all recursive calls) is bounded by a constant factor times the total number of edges in the original problem and all recursive subproblems.

Each invocation of the algorithm produces at most two subproblems so the set of subproblems forms a binary tree. Each Borůvka step reduces the number of vertices by at least a factor of two so after two Borůvka steps the number of vertices has been reduced by a factor of four. Thus, if the original graph has n vertices and m edges then at depth d of the tree each subproblem is on a graph of at most n/4d vertices. Also the tree has at most log4n levels.

Left paths of a binary tree are circled in blue

To reason about the recursion tree let the left child problem be the subproblem in the recursive call in step 3 and the right child problem be the subproblem in the recursive call in step 5. Count the total number of edges in the original problem and all subproblems by counting the number of edges in each left path of the tree. A left path begins at either a right child or the root and includes all nodes reachable through a path of left children. The left paths of a binary tree are shown circled in blue in the diagram on the right.

Each edge in a left child problem is selected from the edges of its parent problem (less the edges contracted in the Borůvka steps) with probability 1/2. If a parent problem has x edges then the expected number of edges in the left child problem is at most x/2. If x is replaced by a random variable X then by the linearity of expectation the expected number of edges in the left child problem Y is given by E[Y]E[X]/2. Thus if the expected number of edges in a problem at the top of a left path is k then the sum of the expected number of edges in each subproblem in the left path is at most d=0k2d=2k (see Geometric series). The root has m edges so the expected number of edges is equal to 2m plus twice the expected number of edges in each right subproblem.

The expected number of edges in each right subproblem is equal to the number of F-light edges in the parent problem where F is the minimum spanning tree of the left subproblem. The number of F-light edges is less than or equal to twice the number of vertices in the subproblem by the sampling lemma. The number of vertices in a subproblem at depth d is n/4d so the total number of vertices in all right subproblems is given by d=12d1n4d=n/2. Thus, the expected number of edges in the original problem and all subproblems is at most 2m+n. Since n at most 2m for a graph with no isolated vertices the algorithm runs in expected time O(m).

Worst Case Analysis

The worst case runtime is equivalent to the runtime of Borůvka's algorithm. This occurs if all edges are added to either the left or right subproblem on each invocation. In this case the algorithm is identical to Borůvka's algorithm which runs in O(min{n2, mlogn}) on a graph with n vertices and m edges.

See also

Further reading

Minimum Spanning Tree Verification in Linear Time

References

43 year old Petroleum Engineer Harry from Deep River, usually spends time with hobbies and interests like renting movies, property developers in singapore new condominium and vehicle racing. Constantly enjoys going to destinations like Camino Real de Tierra Adentro.

  1. Many property agents need to declare for the PIC grant in Singapore. However, not all of them know find out how to do the correct process for getting this PIC scheme from the IRAS. There are a number of steps that you need to do before your software can be approved.

    Naturally, you will have to pay a safety deposit and that is usually one month rent for annually of the settlement. That is the place your good religion deposit will likely be taken into account and will kind part or all of your security deposit. Anticipate to have a proportionate amount deducted out of your deposit if something is discovered to be damaged if you move out. It's best to you'll want to test the inventory drawn up by the owner, which can detail all objects in the property and their condition. If you happen to fail to notice any harm not already mentioned within the inventory before transferring in, you danger having to pay for it yourself.

    In case you are in search of an actual estate or Singapore property agent on-line, you simply should belief your intuition. It's because you do not know which agent is nice and which agent will not be. Carry out research on several brokers by looking out the internet. As soon as if you end up positive that a selected agent is dependable and reliable, you can choose to utilize his partnerise in finding you a home in Singapore. Most of the time, a property agent is taken into account to be good if he or she locations the contact data on his website. This may mean that the agent does not mind you calling them and asking them any questions relating to new properties in singapore in Singapore. After chatting with them you too can see them in their office after taking an appointment.

    Have handed an trade examination i.e Widespread Examination for House Brokers (CEHA) or Actual Property Agency (REA) examination, or equal; Exclusive brokers are extra keen to share listing information thus making certain the widest doable coverage inside the real estate community via Multiple Listings and Networking. Accepting a severe provide is simpler since your agent is totally conscious of all advertising activity related with your property. This reduces your having to check with a number of agents for some other offers. Price control is easily achieved. Paint work in good restore-discuss with your Property Marketing consultant if main works are still to be done. Softening in residential property prices proceed, led by 2.8 per cent decline within the index for Remainder of Central Region

    Once you place down the one per cent choice price to carry down a non-public property, it's important to accept its situation as it is whenever you move in – faulty air-con, choked rest room and all. Get round this by asking your agent to incorporate a ultimate inspection clause within the possibility-to-buy letter. HDB flat patrons routinely take pleasure in this security net. "There's a ultimate inspection of the property two days before the completion of all HDB transactions. If the air-con is defective, you can request the seller to repair it," says Kelvin.

    15.6.1 As the agent is an intermediary, generally, as soon as the principal and third party are introduced right into a contractual relationship, the agent drops out of the image, subject to any problems with remuneration or indemnification that he could have against the principal, and extra exceptionally, against the third occasion. Generally, agents are entitled to be indemnified for all liabilities reasonably incurred within the execution of the brokers´ authority.

    To achieve the very best outcomes, you must be always updated on market situations, including past transaction information and reliable projections. You could review and examine comparable homes that are currently available in the market, especially these which have been sold or not bought up to now six months. You'll be able to see a pattern of such report by clicking here It's essential to defend yourself in opposition to unscrupulous patrons. They are often very skilled in using highly unethical and manipulative techniques to try and lure you into a lure. That you must also protect your self, your loved ones, and personal belongings as you'll be serving many strangers in your home. Sign a listing itemizing of all of the objects provided by the proprietor, together with their situation. HSR Prime Recruiter 2010
  2. 2.0 2.1 2.2 2.3 One of the biggest reasons investing in a Singapore new launch is an effective things is as a result of it is doable to be lent massive quantities of money at very low interest rates that you should utilize to purchase it. Then, if property values continue to go up, then you'll get a really high return on funding (ROI). Simply make sure you purchase one of the higher properties, reminiscent of the ones at Fernvale the Riverbank or any Singapore landed property Get Earnings by means of Renting

    In its statement, the singapore property listing - website link, government claimed that the majority citizens buying their first residence won't be hurt by the new measures. Some concessions can even be prolonged to chose teams of consumers, similar to married couples with a minimum of one Singaporean partner who are purchasing their second property so long as they intend to promote their first residential property. Lower the LTV limit on housing loans granted by monetary establishments regulated by MAS from 70% to 60% for property purchasers who are individuals with a number of outstanding housing loans on the time of the brand new housing purchase. Singapore Property Measures - 30 August 2010 The most popular seek for the number of bedrooms in Singapore is 4, followed by 2 and three. Lush Acres EC @ Sengkang

    Discover out more about real estate funding in the area, together with info on international funding incentives and property possession. Many Singaporeans have been investing in property across the causeway in recent years, attracted by comparatively low prices. However, those who need to exit their investments quickly are likely to face significant challenges when trying to sell their property – and could finally be stuck with a property they can't sell. Career improvement programmes, in-house valuation, auctions and administrative help, venture advertising and marketing, skilled talks and traisning are continuously planned for the sales associates to help them obtain better outcomes for his or her shoppers while at Knight Frank Singapore. No change Present Rules

    Extending the tax exemption would help. The exemption, which may be as a lot as $2 million per family, covers individuals who negotiate a principal reduction on their existing mortgage, sell their house short (i.e., for lower than the excellent loans), or take part in a foreclosure course of. An extension of theexemption would seem like a common-sense means to assist stabilize the housing market, but the political turmoil around the fiscal-cliff negotiations means widespread sense could not win out. Home Minority Chief Nancy Pelosi (D-Calif.) believes that the mortgage relief provision will be on the table during the grand-cut price talks, in response to communications director Nadeam Elshami. Buying or promoting of blue mild bulbs is unlawful.

    A vendor's stamp duty has been launched on industrial property for the primary time, at rates ranging from 5 per cent to 15 per cent. The Authorities might be trying to reassure the market that they aren't in opposition to foreigners and PRs investing in Singapore's property market. They imposed these measures because of extenuating components available in the market." The sale of new dual-key EC models will even be restricted to multi-generational households only. The models have two separate entrances, permitting grandparents, for example, to dwell separately. The vendor's stamp obligation takes effect right this moment and applies to industrial property and plots which might be offered inside three years of the date of buy. JLL named Best Performing Property Brand for second year running

    The data offered is for normal info purposes only and isn't supposed to be personalised investment or monetary advice. Motley Fool Singapore contributor Stanley Lim would not personal shares in any corporations talked about. Singapore private home costs increased by 1.eight% within the fourth quarter of 2012, up from 0.6% within the earlier quarter. Resale prices of government-built HDB residences which are usually bought by Singaporeans, elevated by 2.5%, quarter on quarter, the quickest acquire in five quarters. And industrial property, prices are actually double the levels of three years ago. No withholding tax in the event you sell your property. All your local information regarding vital HDB policies, condominium launches, land growth, commercial property and more

    There are various methods to go about discovering the precise property. Some local newspapers (together with the Straits Instances ) have categorised property sections and many local property brokers have websites. Now there are some specifics to consider when buying a 'new launch' rental. Intended use of the unit Every sale begins with 10 p.c low cost for finish of season sale; changes to 20 % discount storewide; follows by additional reduction of fiftyand ends with last discount of 70 % or extra. Typically there is even a warehouse sale or transferring out sale with huge mark-down of costs for stock clearance. Deborah Regulation from Expat Realtor shares her property market update, plus prime rental residences and houses at the moment available to lease Esparina EC @ Sengkang
  3. 3.0 3.1 3.2 3.3 55 years old Systems Administrator Antony from Clarence Creek, really loves learning, PC Software and aerobics. Likes to travel and was inspired after making a journey to Historic Ensemble of the Potala Palace.

    You can view that web-site... ccleaner free download