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