Skip to main content

Questions tagged [minimum-spanning-tree]

Use this tag whenever your question is related to minimum spanning tree (MST). An MST of a connected edge-weighted graph G is a spanning tree whose sum of edge weights is as small as possible. We usually assume $G$ is finite, simple and undirected.

1 vote
0 answers
55 views

Let $G = (V, E)$ be a graph, and $s \in V$. We say that a spanning tree $T$ is of $s$-efficient if for all $v \in V$, $d_T(s, v) = d_G(s, v)$, where $d_X(a, b)$ counts the number of edges in a ...
Federico Lebrón's user avatar
2 votes
1 answer
71 views

Let G = (V, E) be a connected undirected graph with real edge weights. Let v ∈ V be a fixed vertex such that the graph G' = G[V \ {v}] (i.e., the subgraph of G induced by removing v and all edges ...
Johann Carl Friedrich Gauß's user avatar
-2 votes
1 answer
162 views

I want to generate a minimum spanning tree for the graph shown below. I am using the disjoint set data structure and having trouble with the union (Union Rank) operation. The edges get sorted as ...
EngineerP's user avatar
5 votes
3 answers
278 views

I am learning about algorithms for finding minimum spanning trees (MST) in a graph. As it is the standard, I learned about a variation of the generic MST finding algorithm, specifically, I learned ...
Ak2399's user avatar
  • 151
0 votes
1 answer
87 views

I am using the code for computing the Minimal Spanning Tree of a graph (https://github.com/stanojevic/Fast-MST-Algorithm). The Python code outputs the MST in the form of an array of integers, e.g.: ...
avs's user avatar
  • 111
2 votes
1 answer
368 views

I'm trying to prove a statement "given a graph G=(V,T) and that no cycle C exists that contains only edge "e" and other edges that their weight is smaller than that of "e", ...
CSstudent's user avatar
0 votes
1 answer
128 views

The cut and cycle properties of the minimum spanning tree are well-known. It is easy to use similar arguments to prove them. But I wonder if one property be derived from the other. Cut property: ...
Tom Bennett's user avatar
0 votes
2 answers
401 views

In a CP-algorithms wiki Second Best Minimum Spanning Tree - Using Kruskal and Lowest Common Ancestor: Let  $T$  be the Minimum Spanning Tree of a graph $G$ . It can be observed, that the second best ...
Kenneth Kho's user avatar
3 votes
2 answers
147 views

I am trying the understand the following statement from the book of Grotschel, Lovasz and Schrijver: Here, $\delta(W)$ is the set of edges incident to a set of vertices $W$. They define an ...
Erel Segal-Halevi's user avatar
1 vote
0 answers
50 views

Consider a circular graph $G_1$ with $n$ vertices and a complete graph $G_2$ with $m$ vertices. What is the maximum attainable ratio when determining the Minimum Spanning Tree (MST) using Boruvka, ...
obolenskaya00's user avatar
0 votes
1 answer
63 views

Does an edge never being the largest weight in any cycle imply that it is included in the MST? I believe the answer is not, but can't think of a counterexample. I know that one guarantees an edge is ...
joeren1020's user avatar
0 votes
1 answer
220 views

Consider a directed unweighted graph (in a adjacency matrix for example), how can I visit each node exactly once? By once I mean for example in a DFS traversal, a node can get finished and we should ...
vhd's user avatar
  • 67
0 votes
1 answer
148 views

Consider $n$ houses in a city which each house's water can be supplied with either a well or pipes from other houses. Constructing a well in a house $i$ costs $w_i$ and connecting a pipe from house $i$...
vhd's user avatar
  • 67
0 votes
1 answer
87 views

How to prove that the heaviest edge in mst is not heavier than heaviest edge of any possible spanning tree? by heaviest edge of any Spanning tree i mean considering any possible Spanning tree, we have ...
vhd's user avatar
  • 67
3 votes
0 answers
102 views

We have a binary raster image in which we consider the white blobs (connected components). We define a distance between two blobs to be the length of the shortest path between any two respective ...
user avatar

15 30 50 per page
1
2 3 4 5
18