The Minimum Spanning Tree Problem: Difference between revisions
Jump to navigation
Jump to search
Line 16: | Line 16: | ||
=Algorithms= | =Algorithms= | ||
==Prim's Algorithm== | ==Prim's Algorithm== | ||
{{Internal|Prim%27s_Algorithm#Overview|Prim's Algorithm}} | |||
==Kruskal's Algorithm== | ==Kruskal's Algorithm== |
Revision as of 21:54, 20 October 2021
External
Internal
Overview
We discuss the minimum spanning problem in the context of undirected graphs. The same problem can be discussed for directed graphs but in that case it is referred to as the Optimal Branching Problem.
The Problem
Given an undirected graph G=(V, E) and a positive or negative cost ce for each edge e ∈ E, find the minimum cost spanning tree T ⊆ E.