## Definitions

### Undirected graphs

### Directed graphs

## Properties

## Camerini's algorithm for undirected graphs

### Pseudocode

### Running time

### Example

## MBSA algorithms for directed graphs

### Camerini's algorithm for MBSA

#### Pseudocode

#### Example

### Gabow and Tarjan algorithm for MBSA

#### Pseudocode

#### Example

In mathematics, a **minimum bottleneck spanning tree (MBST)** in an undirected graph is a spanning tree in which the most expensive edge is as cheap as possible. A bottleneck edge is the highest weighted edge in a spanning tree. A spanning tree is a minimum bottleneck spanning tree if the graph does not contain a spanning tree with a smaller bottleneck edge weight. For a directed graph, a similar problem is known as **Minimum Bottleneck Spanning Arborescence (MBSA)**.

Minimal Bottleneck Spanning Tree *G(V,E)*

In an undirected graph *G*(*V*, *E*) and a function *w* : *E* → *R*, let *S* be the set of all spanning trees *T*_{i}. Let *B*(*T*_{i}) be the maximum weight edge for any spanning tree *T*_{i}. We define subset of minimum bottleneck spanning trees *S*' such that for every *T*_{j} ∈ *S*' and *T*_{k} ∈ *S* we have *B*(*T*_{j}) ≤ *B*(*T*_{k}) for all *i* and *k*.

The graph on the right is an example of MBST, the red edges in the graph form a MBST of *G*(*V*, *E*).

Minimal Bottleneck Spanning Arborescence *G(V,E)*

An arborescence of graph *G* is a directed tree of *G* which contains a directed path from a specified node *L* to each node of a subset *V*’ of *V* \ {*L*}. Node *L* is called the root of arborescence. An arborescence is a spanning arborescence if *V*’ = *V* \ {*L*}. MBST in this case is a spanning arborescence with the minimum bottleneck edge. An MBST in this case is called a Minimum Bottleneck Spanning Arborescence (MBSA).

The graph on the right is an example of MBSA, the red edges in the graph form a MBSA of *G*(*V*, *E*).

A MST (or minimum spanning tree) is necessarily a MBST, but a MBST is not necessarily a MST.

Camerini proposed an algorithm used to obtain a minimum bottleneck spanning tree (MBST) in a given undirected, connected, edge-weighted graph in 1978. It half divides edges into two sets. The weights of edges in one set are no more than that in the other. If a spanning tree exists in subgraph composed solely with edges in smaller edges set, it then computes a MBST in the subgraph, a MBST of the subgraph is exactly a MBST of the original graph. If a spanning tree does not exist, it combines each disconnected component into a new super vertex, then computes a MBST in the graph formed by these super vertices and edges in the larger edges set. A forest in each disconnected component is part of a MBST in original graph. Repeat this process until two (super) vertices are left in the graph and a single edge with smallest weight between them is to be added. A MBST is found consisting of all the edges found in previous steps.

The procedure has two input parameters. *G* is a graph, *w* is a weights array of all edges in the graph *G*.

1functionMBST(graphG, weightsw) 2E← the set of edges ofG3if|E| = 1thenreturnEelse4A← half edges inEwhose weights are no less than the median weight 5B←E-A6F← forest ofG_{B}7ifFis a spanning treethen8returnMBST(G_{B},w) 9else10returnMBST((G_{A})_{η},w) $scriptlevel="0">\cup \{\backslash displaystyle\; \backslash cup\; \}$F

In the above (*G*_{A})_{η} is the subgraph composed of super vertices (by regarding vertices in a disconnected component as one) and edges in *A*.

The algorithm is running in *O*(*E*) time, where *E* is the number of edges. This bound is achieved as follows:

- dividing into two sets with median-finding algorithms in
*O*(*E*) - finding a forest in
*O*(*E*) - considering half edges in E in each iteration
*O*(*E*+*E*/2 +*E*/4 + ··· + 1) =*O*(*E*)

In the following example green edges are used to form a MBST and dashed red areas indicate super vertices formed during the algorithm steps.

The algorithm half divides edges in two sets with respect to weights. Green edges are those edges whose weights are as small as possible. | |

Since there is a spanning tree in the subgraph formed solely with edges in the smaller edges set. Repeat finding a MBST in this subgraph. | |

Since there is not a spanning tree in current subgraph formed with edges in the current smaller edges set. Combine the vertices of a disconnected component to a super vertex (denoted by a dashed red area) and then find a MBST in the subgraph formed with super vertices and edges in larger edges set. A forest formed within each disconnected component will be part of a MBST in the original graph. | |

Repeat similar steps by combing more vertices into a super vertex. | |

The algorithm finally obtains a MBST by using edges it found during the algorithm. |

There are two algorithms available for directed graph: Camerini’s algorithm for finding MBSA and another from Gabow and Tarjan.

For a directed graph, Camerini’s algorithm focuses on finding the set of edges that would have its maximum cost as the bottleneck cost of the MBSA. This is done by partitioning the set of edges *E* into two sets *A* and *B* and maintaining the set *T* that is the set in which it is known that *G*_{T} does not have a spanning arborescence, increasing *T* by *B* whenever the maximal arborescence of *G*(*B* ∪ *T*) is not a spanning arborescence of *G*, otherwise we decrease *E* by *A*. Total total time complexity is *O*(*E* log *E*).

1functionMBSA(G,w, T) 2E← the set of edges ofG;3if|E - T| > 1then4A← UH(E-T); 5B← (E - T)-A;6F← BUSH(G_{BUT}); 7ifFis a spanning arborescence of Gthen8 S ← F; MBSA((G_{BUT}),w,T); 9else10 MBSA(G,w,TUB);

- T represents a subset of E for which it is known that G
_{T}does not contain any spanning arborescence rooted at node “a”. Initially T is empty - UH takes (E-T) set of edges in G and returns A ⊂ (E-T) such that:
- $scriptlevel="0">|A|=\lfloor \frac{(|E-T|)}{2}\rfloor \{\backslash displaystyle\; |A|=\backslash left\backslash lfloor\; \{\backslash frac\; \{(|E-T|)\}\{2\}\}\backslash right\backslash rfloor\; \}$
- W
_{a}>= W_{b}, for a ∈ A and b ∈ B

- BUSH(G) returns a maximal arborescence of G rooted at node “a”
- The final result will be S

After running the first iteration of this algorithm, we get the F and F is not a spanning arborescence of G, So we run the code $scriptlevel="0">MBSA(G,w,T\cup B).\{\backslash displaystyle\; MBSA(G,w,T\backslash cup\; B).\}$ | |

In the second iteration, we get the $scriptlevel="0">{F}^{\prime}\{\backslash displaystyle\; F\text{\'}\}$ and $F'$ is also not a spanning arborescence of G, So we run the code $MBSA(G,w,T'\cup B')$ | |

In the third iteration, we get the $scriptlevel="0">{F}^{\u2033}\{\backslash displaystyle\; F\text{\'}\text{\'}\}$ and $F''$ is a spanning arborescence of G, So we run the code $MBSA(G_{T''\cup B''},w,T'')$ | |

when we run the $scriptlevel="0">MBSA({G}_{{T}^{\u2033}\cup {B}^{\u2033}},w,{T}^{\u2033})\{\backslash displaystyle\; MBSA(G\_\{T\text{\'}\text{\'}\backslash cup\; B\text{\'}\text{\'}\},w,T\text{\'}\text{\'})\}$, the $|E-T|$ is equal to 1, which is not larger than 1, so the algorithm return and the final result is $S=F''$. |

Gabow and Tarjan provided a modification of Dijkstra's algorithm for single-source shortest path that produces an MBSA. Their algorithm runs in *O*(*E* + *V* log *V*) time if Fibonacci heap used.

For a graphG(V,E), Fis a collection of vertices inV. Initially,F=swheresis the starting point of the graphGandc(s) = ∞ 1functionMBSA-GT(G,w, T) 2 Selectvwith minimumc(v) fromF; 3 Delete it from theF; 4for∀ edge(v,w)do5ifw∉For ∉ Treethen6 addwtoF;7c(w) =c(v,w); 8p(w) =v; 9else10ifwFandc(w) > c(v,w)then11c(w) =c(v,w); 12p(w) =v;

The following example shows that how the algorithm works.

At the first step of the algorithm, we select the root s from the graph G, in the above figure, vertex 6 is the root s. Then we found all the edge(6,w) ∈ E and their cost c(6,w), where w ∈ V. |

Next we move to the vertex 5 in the graph G, we found all the edge(5,w) ∈ E and their cost c(5,w), where w ∈ V. |

Next we move to the vertex 4 in the graph G, we found all the edge(4,w) ∈ E and their cost c(4,w), where w ∈ V. We find that the edge(4,5) > edge(6.5), so we keep edge(6,5) and remove the edge(4,5). |

Next we move to the vertex 1 in the graph G, we found all the edge(1,w) ∈ E and their cost c(1,w), where w ∈ V. We find that the edge(5,2) > edge(1,2), so we remove edge(5,2) and keep the edge(1,2). |

Next we move to the vertex 2 in the graph G, we found all the edge(2,w) ∈ E and their cost c(2,w), where w ∈ V. |

Next we move to the vertex 3 in the graph G, we found all the edge(3,w) ∈ E and their cost c(3,w), where w ∈ V. We find that the edge(3,4) > edge(6,4), so we remove the edge(3,4) and keep the edge(6,4). |

After we loop through all the vertices in the graph G, the algorithm has finished. |

Another approach proposed by Tarjan and Gabow with bound of *O*(*E* log *V*) for sparse graphs, in which it is very similar to Camerini’s algorithm for MBSA, but rather than partitioning the set of edges into two sets per each iteration, *K*(*i*) was introduced in which *i* is the number of splits that has taken place or in other words the iteration number, and *K*(*i*) is an increasing function that denotes the number of partitioned sets that one should have per iteration. *K*(*i*) = 2 with *k*(1) = 2. The algorithm finds *λ* in which it is the value of the bottleneck edge in any MBSA. After *λ* is found any spanning arborescence in *G*(*λ*) is an MBSA in which *G*(*λ*) is the graph where all its edge’s costs are ≤ *λ*.

Copyright 2008-2017 www.21pw.com