![]()
出典:Wiktionary
出典:『Wiktionary』 (2026/09/21 03:56 UTC 版)
minimum spanning tree (plural minimum spanning trees)
出典:Wikipedia
出典:『Wikipedia』 (2011/06/05 17:34 UTC 版)
Given a connected, undirected graph, a spanning tree of that graph is a subgraph that is a tree and connects all the vertices together. A single graph can have many different spanning trees. We can also assign a weight to each edge, which is a number representing how unfavorable it is, and use this to assign a weight to a spanning tree by computing the sum of the weights of the edges in that spanning tree. A minimum spanning tree (MST) or minimum weight spanning tree is then a spanning tree with weight less than or equal to the weight of every other spanning tree. More generally, any undirected graph (not necessarily connected) has a minimum spanning forest, which is a union of minimum spanning trees for its connected components.