Class BoruvkasAlgorithm<TWeight>
- Namespace
- AlgorithmsSW.EdgeWeightedGraph
- Assembly
- AlgorithmsSW.dll
public class BoruvkasAlgorithm<TWeight> : IMst<TWeight> where TWeight : INumber<TWeight>
Type Parameters
TWeight
- Inheritance
-
BoruvkasAlgorithm<TWeight>
- Implements
-
IMst<TWeight>
- Inherited Members
- Extension Methods
Constructors
BoruvkasAlgorithm(IReadOnlyEdgeWeightedGraph<TWeight>)
public BoruvkasAlgorithm(IReadOnlyEdgeWeightedGraph<TWeight> graph)
Parameters
graph
IReadOnlyEdgeWeightedGraph<TWeight>
Properties
Edges
Gets the edges that is part of the minimum spanning tree.
public IEnumerable<Edge<TWeight>> Edges { get; }
Property Value
- IEnumerable<Edge<TWeight>>