Table of Contents

Class PrimMst<T>

Namespace
AlgorithmsSW.EdgeWeightedGraph
Assembly
AlgorithmsSW.dll
public class PrimMst<T> : IMst<T> where T : IComparable<T>, INumber<T>

Type Parameters

T
Inheritance
PrimMst<T>
Implements
IMst<T>
Inherited Members
Extension Methods

Constructors

PrimMst(IEdgeWeightedGraph<T>, T, T)

public PrimMst(IEdgeWeightedGraph<T> graph, T minValue, T maxValue)

Parameters

graph IEdgeWeightedGraph<T>
minValue T
maxValue 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