Class EdgeList<TVertex, TEdge>
Stores a list of edges.
Inheritance
System.Object
System.Collections.Generic.List<TEdge>
EdgeList<TVertex, TEdge>
Implements
System.Collections.Generic.IReadOnlyList<TEdge>
System.Collections.Generic.IReadOnlyCollection<TEdge>
System.Collections.IList
System.Collections.ICollection
IEdgeList<TVertex, TEdge>
System.Collections.Generic.IList<TEdge>
System.Collections.Generic.ICollection<TEdge>
System.Collections.Generic.IEnumerable<TEdge>
System.Collections.IEnumerable
System.ICloneable
Inherited Members
System.Collections.Generic.List<TEdge>.System.Collections.IList.get_Item(System.Int32)
System.Collections.Generic.List<TEdge>.System.Collections.IList.set_Item(System.Int32, System.Object)
System.Collections.Generic.List<TEdge>.Add(TEdge)
System.Collections.Generic.List<TEdge>.AddRange(System.Collections.Generic.IEnumerable<TEdge>)
System.Collections.Generic.List<TEdge>.AsReadOnly()
System.Collections.Generic.List<TEdge>.BinarySearch(TEdge)
System.Collections.Generic.List<TEdge>.BinarySearch(TEdge, System.Collections.Generic.IComparer<TEdge>)
System.Collections.Generic.List<TEdge>.BinarySearch(System.Int32, System.Int32, TEdge, System.Collections.Generic.IComparer<TEdge>)
System.Collections.Generic.List<TEdge>.Clear()
System.Collections.Generic.List<TEdge>.Contains(TEdge)
System.Collections.Generic.List<TEdge>.ConvertAll<TOutput>(System.Converter<TEdge, TOutput>)
System.Collections.Generic.List<TEdge>.CopyTo(TEdge[])
System.Collections.Generic.List<TEdge>.CopyTo(TEdge[], System.Int32)
System.Collections.Generic.List<TEdge>.CopyTo(System.Int32, TEdge[], System.Int32, System.Int32)
System.Collections.Generic.List<TEdge>.Exists(System.Predicate<TEdge>)
System.Collections.Generic.List<TEdge>.Find(System.Predicate<TEdge>)
System.Collections.Generic.List<TEdge>.FindAll(System.Predicate<TEdge>)
System.Collections.Generic.List<TEdge>.FindIndex(System.Int32, System.Int32, System.Predicate<TEdge>)
System.Collections.Generic.List<TEdge>.FindIndex(System.Int32, System.Predicate<TEdge>)
System.Collections.Generic.List<TEdge>.FindIndex(System.Predicate<TEdge>)
System.Collections.Generic.List<TEdge>.FindLast(System.Predicate<TEdge>)
System.Collections.Generic.List<TEdge>.FindLastIndex(System.Int32, System.Int32, System.Predicate<TEdge>)
System.Collections.Generic.List<TEdge>.FindLastIndex(System.Int32, System.Predicate<TEdge>)
System.Collections.Generic.List<TEdge>.FindLastIndex(System.Predicate<TEdge>)
System.Collections.Generic.List<TEdge>.ForEach(System.Action<TEdge>)
System.Collections.Generic.List<TEdge>.GetEnumerator()
System.Collections.Generic.List<TEdge>.GetRange(System.Int32, System.Int32)
System.Collections.Generic.List<TEdge>.IndexOf(TEdge)
System.Collections.Generic.List<TEdge>.IndexOf(TEdge, System.Int32)
System.Collections.Generic.List<TEdge>.IndexOf(TEdge, System.Int32, System.Int32)
System.Collections.Generic.List<TEdge>.Insert(System.Int32, TEdge)
System.Collections.Generic.List<TEdge>.InsertRange(System.Int32, System.Collections.Generic.IEnumerable<TEdge>)
System.Collections.Generic.List<TEdge>.LastIndexOf(TEdge)
System.Collections.Generic.List<TEdge>.LastIndexOf(TEdge, System.Int32)
System.Collections.Generic.List<TEdge>.LastIndexOf(TEdge, System.Int32, System.Int32)
System.Collections.Generic.List<TEdge>.Remove(TEdge)
System.Collections.Generic.List<TEdge>.RemoveAll(System.Predicate<TEdge>)
System.Collections.Generic.List<TEdge>.RemoveAt(System.Int32)
System.Collections.Generic.List<TEdge>.RemoveRange(System.Int32, System.Int32)
System.Collections.Generic.List<TEdge>.Reverse()
System.Collections.Generic.List<TEdge>.Reverse(System.Int32, System.Int32)
System.Collections.Generic.List<TEdge>.Sort()
System.Collections.Generic.List<TEdge>.Sort(System.Collections.Generic.IComparer<TEdge>)
System.Collections.Generic.List<TEdge>.Sort(System.Comparison<TEdge>)
System.Collections.Generic.List<TEdge>.Sort(System.Int32, System.Int32, System.Collections.Generic.IComparer<TEdge>)
System.Collections.Generic.List<TEdge>.System.Collections.Generic.IEnumerable<TEdge>.GetEnumerator()
System.Collections.Generic.List<TEdge>.System.Collections.ICollection.CopyTo(System.Array, System.Int32)
System.Collections.Generic.List<TEdge>.System.Collections.IEnumerable.GetEnumerator()
System.Collections.Generic.List<TEdge>.System.Collections.IList.Add(System.Object)
System.Collections.Generic.List<TEdge>.System.Collections.IList.Contains(System.Object)
System.Collections.Generic.List<TEdge>.System.Collections.IList.IndexOf(System.Object)
System.Collections.Generic.List<TEdge>.System.Collections.IList.Insert(System.Int32, System.Object)
System.Collections.Generic.List<TEdge>.System.Collections.IList.Remove(System.Object)
System.Collections.Generic.List<TEdge>.ToArray()
System.Collections.Generic.List<TEdge>.TrimExcess()
System.Collections.Generic.List<TEdge>.TrueForAll(System.Predicate<TEdge>)
System.Collections.Generic.List<TEdge>.Capacity
System.Collections.Generic.List<TEdge>.Count
System.Collections.Generic.List<TEdge>.Item[System.Int32]
System.Collections.Generic.List<TEdge>.System.Collections.Generic.ICollection<TEdge>.IsReadOnly
System.Collections.Generic.List<TEdge>.System.Collections.ICollection.IsSynchronized
System.Collections.Generic.List<TEdge>.System.Collections.ICollection.SyncRoot
System.Collections.Generic.List<TEdge>.System.Collections.IList.IsFixedSize
System.Collections.Generic.List<TEdge>.System.Collections.IList.IsReadOnly
System.Collections.Generic.List<TEdge>.System.Collections.IList.Item[System.Int32]
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: QuikGraph.Collections
Assembly: QuikGraph.dll
Syntax
[Serializable]
public sealed class EdgeList<TVertex, TEdge> : List<TEdge>, IReadOnlyList<TEdge>, IReadOnlyCollection<TEdge>, IList, ICollection, IEdgeList<TVertex, TEdge>, IList<TEdge>, ICollection<TEdge>, IEnumerable<TEdge>, IEnumerable, ICloneable where TEdge : IEdge<TVertex>
Type Parameters
Name | Description |
---|---|
TVertex | Vertex type. |
TEdge | Edge type. |
Constructors
| Improve this Doc View SourceEdgeList()
Initializes a new instance of the EdgeList<TVertex, TEdge> class.
Declaration
public EdgeList()
EdgeList(EdgeList<TVertex, TEdge>)
Declaration
public EdgeList(EdgeList<TVertex, TEdge> other)
Parameters
Type | Name | Description |
---|---|---|
EdgeList<TVertex, TEdge> | other |
Exceptions
Type | Condition |
---|---|
System.ArgumentNullException |
|
EdgeList(Int32)
Initializes a new instance of the EdgeList<TVertex, TEdge> class.
Declaration
public EdgeList(int capacity)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | capacity | List capacity. |
Exceptions
Type | Condition |
---|---|
System.ArgumentOutOfRangeException |
|
Methods
| Improve this Doc View SourceClone()
Clones this edge list.
Declaration
public EdgeList<TVertex, TEdge> Clone()
Returns
Type | Description |
---|---|
EdgeList<TVertex, TEdge> | Cloned list. |
Explicit Interface Implementations
| Improve this Doc View SourceIEdgeList<TVertex, TEdge>.Clone()
Gets a clone of this list.
Declaration
IEdgeList<TVertex, TEdge> IEdgeList<TVertex, TEdge>.Clone()
Returns
Type | Description |
---|---|
IEdgeList<TVertex, TEdge> | Cloned list. |
ICloneable.Clone()
Declaration
object ICloneable.Clone()
Returns
Type | Description |
---|---|
System.Object |
Implements
System.Collections.Generic.IReadOnlyList<T>
System.Collections.Generic.IReadOnlyCollection<T>
System.Collections.IList
System.Collections.ICollection
System.Collections.Generic.IList<T>
System.Collections.Generic.ICollection<T>
System.Collections.Generic.IEnumerable<T>
System.Collections.IEnumerable
System.ICloneable