Class MSTEdge<T, W>
Minimum spanning tree edge object.
Implements
Inherited Members
Namespace: Advanced.Algorithms.Graph
Assembly: Advanced.Algorithms.dll
Syntax
public class MSTEdge<T, W> : IComparable where W : IComparable
Type Parameters
Name | Description |
---|---|
T | |
W |
Properties
Destination
Declaration
public T Destination { get; }
Property Value
Type | Description |
---|---|
T |
Source
Declaration
public T Source { get; }
Property Value
Type | Description |
---|---|
T |
Weight
Declaration
public W Weight { get; }
Property Value
Type | Description |
---|---|
W |
Methods
CompareTo(Object)
Declaration
public int CompareTo(object obj)
Parameters
Type | Name | Description |
---|---|---|
Object | obj |
Returns
Type | Description |
---|---|
Int32 |