Mega-Merger
Mega-merger is a distributed algorithm aimed at solving the election problem in generic connected undirected graph.[src]
Mega-merger is a distributed algorithm aimed at solving the election problem in generic connected undirected graph.[src] Friendly merge: rank(C) = rank(C') \land e_{merge}(C, C') = e_{merge}(C', C) : If the cities share the same merge link and have same rank, a friendly merge occurs, and the two cities merge into one.[src] A new name is picked for the newly created city, a ruling village is picked and the path from the previous ruler to the node in the merge link is re-oriented such that it leads to the new leader.[src] The new city also has its rank increased by one.[src] Notice as this is the only way two cities can increase each other's rank.[src] Absorption: rank(C) : If the requesting city has a lower rank, the city in the receiving end enacts an absorption process: C is absorbed like in the friendly merge, but loses its name and the resulting city has the rank of C' .[src] Suspension: rank(C) = rank(C') \land e_{merge}(C, C') \neq e_{merge}(C', C) \lor rank(C) > rank(C') : In such cases C' freezes the request: it waits to either be absorbed by rule 2 or to merge and increase its rank above the one of C in order to be able to enact rule 1 and absorb C .[src] x.city = y.city : clearly the edge is an intra-edge in C .[src] x and y exchange negative responses.[src] x.city \neq y.city \land x.rank : x is asking to a city of higher rank.[src] By rule 2 we can assert that no absorption occurs, and y indeed belongs to another city.[src] x.city \neq y.city \land x.rank > y.rank : in this case y will delay the answer as by rule 3.[src] rank(C) = K \implies |C| \geq 2^k : we have a level increase each time a friendly merge is operated.[src] We compute by induction: on the base case, rank(C) = 0 , exactly one village is in C .[src] On the inductive case, two cities C', C s.t.[src] rank(C') = rank(C) = k operate a friendly merge, hence |C'-C| = |C'| + |C| = 2^k + 2^k = 2^{k+1} by inductive hypothesis.[src] \max{rank(C)} \leq \log n : by the previous rule cities are built up on an exponential base 2 , hence the inverse \log_{2} n .[src] Deadlock prevention: Mega-Merger doesn't incur in any deadlock.[src] As shown by rule 3 a city C can wait for a lower-rank city to answer on merge link e : in order to incur in a deadlock such city C' would have to wait on C , and C on C , and so on until a cycle is detected on C^n waiting on C on a merge link e' .[src] But by hypothesis e is the merge-link of C , hence such chain cannot exist.[src] The other deadlock-inducing situation is a request from C to C' where C' has a different merge link than C .[src] Still, as shown by monotonic rank either C' will grow its rank to absorb C , or will consume all its merge links to be the only city in the graph with C .[src] Trivially in such case the two merge links would coincide and C' would be forced into absorption by rule 2.[src]
24 sentences · 24 cited inline · 0 references stored
References
No reference rows published for this article.
Cite this article
MLA
"Mega-Merger." encyclopegia.org, 2025, https://encyclopegia.org/wiki/mega-merger. Accessed 30 November 2026.
Chicago
"Mega-Merger." encyclopegia.org. Accessed November 30, 2026. https://encyclopegia.org/wiki/mega-merger.
APA
encyclopegia.org. (2025). Mega-Merger. Retrieved November 30, 2026, from https://encyclopegia.org/wiki/mega-merger
Accessed November 30, 2026 · CC BY-SA 4.0 · citation page · JSON