Show / Hide Table of Contents

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 Source

EdgeList()

Initializes a new instance of the EdgeList<TVertex, TEdge> class.

Declaration
public EdgeList()
| Improve this Doc View Source

EdgeList(EdgeList<TVertex, TEdge>)

Declaration
public EdgeList(EdgeList<TVertex, TEdge> other)
Parameters
Type Name Description
EdgeList<TVertex, TEdge> other
Exceptions
Type Condition
System.ArgumentNullException

other is null.

| Improve this Doc View Source

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

capacity is negative.

Methods

| Improve this Doc View Source

Clone()

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 Source

IEdgeList<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.

| Improve this Doc View Source

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
IEdgeList<TVertex, TEdge>
System.Collections.Generic.IList<T>
System.Collections.Generic.ICollection<T>
System.Collections.Generic.IEnumerable<T>
System.Collections.IEnumerable
System.ICloneable

Extension Methods

GraphMLExtensions.SerializeToGraphML<TVertex, TEdge, TGraph>(TGraph, String)
GraphMLExtensions.SerializeToGraphML<TVertex, TEdge, TGraph>(TGraph, String, VertexIdentity<TVertex>, EdgeIdentity<TVertex, TEdge>)
GraphMLExtensions.SerializeToGraphML<TVertex, TEdge, TGraph>(TGraph, XmlWriter)
GraphMLExtensions.SerializeToGraphML<TVertex, TEdge, TGraph>(TGraph, XmlWriter, VertexIdentity<TVertex>, EdgeIdentity<TVertex, TEdge>)
GraphMLExtensions.DeserializeFromGraphML<TVertex, TEdge, TGraph>(TGraph, XmlReader, IdentifiableVertexFactory<TVertex>, IdentifiableEdgeFactory<TVertex, TEdge>)
GraphMLExtensions.DeserializeFromGraphML<TVertex, TEdge, TGraph>(TGraph, TextReader, IdentifiableVertexFactory<TVertex>, IdentifiableEdgeFactory<TVertex, TEdge>)
GraphMLExtensions.DeserializeFromGraphML<TVertex, TEdge, TGraph>(TGraph, String, IdentifiableVertexFactory<TVertex>, IdentifiableEdgeFactory<TVertex, TEdge>)
GraphMLExtensions.DeserializeAndValidateFromGraphML<TVertex, TEdge, TGraph>(TGraph, TextReader, IdentifiableVertexFactory<TVertex>, IdentifiableEdgeFactory<TVertex, TEdge>)
SerializationExtensions.SerializeToXml<TVertex, TEdge, TGraph>(TGraph, XmlWriter, VertexIdentity<TVertex>, EdgeIdentity<TVertex, TEdge>, String, String, String, String)
SerializationExtensions.SerializeToXml<TVertex, TEdge, TGraph>(TGraph, XmlWriter, VertexIdentity<TVertex>, EdgeIdentity<TVertex, TEdge>, String, String, String, String, Action<XmlWriter, TGraph>, Action<XmlWriter, TVertex>, Action<XmlWriter, TEdge>)
EdgeExtensions.IsPath<TVertex, TEdge>(IEnumerable<TEdge>)
EdgeExtensions.HasCycles<TVertex, TEdge>(IEnumerable<TEdge>)
EdgeExtensions.IsPathWithoutCycles<TVertex, TEdge>(IEnumerable<TEdge>)
GraphExtensions.ToDelegateVertexAndEdgeListGraph<TVertex, TEdge>(IEnumerable<TVertex>, TryFunc<TVertex, IEnumerable<TEdge>>)
GraphExtensions.ToDelegateVertexAndEdgeListGraph<TVertex, TEdge>(IEnumerable<TVertex>, Func<TVertex, IEnumerable<TEdge>>)
GraphExtensions.ToDelegateUndirectedGraph<TVertex, TEdge>(IEnumerable<TVertex>, TryFunc<TVertex, IEnumerable<TEdge>>)
GraphExtensions.ToDelegateUndirectedGraph<TVertex, TEdge>(IEnumerable<TVertex>, Func<TVertex, IEnumerable<TEdge>>)
GraphExtensions.ToAdjacencyGraph<TVertex, TEdge>(IEnumerable<TEdge>, Boolean)
GraphExtensions.ToAdjacencyGraph<TVertex, TEdge>(IEnumerable<TVertex>, Func<TVertex, IEnumerable<TEdge>>, Boolean)
GraphExtensions.ToBidirectionalGraph<TVertex, TEdge>(IEnumerable<TEdge>, Boolean)
GraphExtensions.ToBidirectionalGraph<TVertex, TEdge>(IEnumerable<TVertex>, Func<TVertex, IEnumerable<TEdge>>, Boolean)
GraphExtensions.ToUndirectedGraph<TVertex, TEdge>(IEnumerable<TEdge>, Boolean)
AlgorithmExtensions.IsDirectedAcyclicGraph<TVertex, TEdge>(IEnumerable<TEdge>)
AlgorithmExtensions.IsUndirectedAcyclicGraph<TVertex, TEdge>(IEnumerable<TEdge>)
  • Improve this Doc
  • View Source
In This Article
Back to top QuikGraph