Class EdgeList
- Namespace
- AlgorithmsSW.Graph
- Assembly
- AlgorithmsSW.dll
public class EdgeList : IEnumerable<(int, int)>, IEnumerable
- Inheritance
-
EdgeList
- Implements
- Inherited Members
- Extension Methods
Constructors
EdgeList()
public EdgeList()
Methods
Add((int, int))
public void Add((int, int) edge)
Parameters
Create(ReadOnlySpan<(int, int)>)
public static EdgeList Create(ReadOnlySpan<(int, int)> edges)
Parameters
edges
ReadOnlySpan<(int, int)>
Returns
GetEnumerator()
Returns an enumerator that iterates through the collection.
public IEnumerator<(int, int)> GetEnumerator()
Returns
- IEnumerator<(int vertex0, int vertex1)>
An enumerator that can be used to iterate through the collection.