Show / Hide Table of Contents

Class VertexList<TVertex>

Stores a list of vertices.

Inheritance
System.Object
System.Collections.Generic.List<TVertex>
VertexList<TVertex>
Implements
System.Collections.Generic.IList<TVertex>
System.Collections.Generic.ICollection<TVertex>
System.Collections.Generic.IReadOnlyList<TVertex>
System.Collections.Generic.IReadOnlyCollection<TVertex>
System.Collections.Generic.IEnumerable<TVertex>
System.Collections.IList
System.Collections.ICollection
System.Collections.IEnumerable
System.ICloneable
Inherited Members
System.Collections.Generic.List<TVertex>.System.Collections.IList.get_Item(System.Int32)
System.Collections.Generic.List<TVertex>.System.Collections.IList.set_Item(System.Int32, System.Object)
System.Collections.Generic.List<TVertex>.Add(TVertex)
System.Collections.Generic.List<TVertex>.AddRange(System.Collections.Generic.IEnumerable<TVertex>)
System.Collections.Generic.List<TVertex>.AsReadOnly()
System.Collections.Generic.List<TVertex>.BinarySearch(TVertex)
System.Collections.Generic.List<TVertex>.BinarySearch(TVertex, System.Collections.Generic.IComparer<TVertex>)
System.Collections.Generic.List<TVertex>.BinarySearch(System.Int32, System.Int32, TVertex, System.Collections.Generic.IComparer<TVertex>)
System.Collections.Generic.List<TVertex>.Clear()
System.Collections.Generic.List<TVertex>.Contains(TVertex)
System.Collections.Generic.List<TVertex>.ConvertAll<TOutput>(System.Converter<TVertex, TOutput>)
System.Collections.Generic.List<TVertex>.CopyTo(TVertex[])
System.Collections.Generic.List<TVertex>.CopyTo(TVertex[], System.Int32)
System.Collections.Generic.List<TVertex>.CopyTo(System.Int32, TVertex[], System.Int32, System.Int32)
System.Collections.Generic.List<TVertex>.Exists(System.Predicate<TVertex>)
System.Collections.Generic.List<TVertex>.Find(System.Predicate<TVertex>)
System.Collections.Generic.List<TVertex>.FindAll(System.Predicate<TVertex>)
System.Collections.Generic.List<TVertex>.FindIndex(System.Int32, System.Int32, System.Predicate<TVertex>)
System.Collections.Generic.List<TVertex>.FindIndex(System.Int32, System.Predicate<TVertex>)
System.Collections.Generic.List<TVertex>.FindIndex(System.Predicate<TVertex>)
System.Collections.Generic.List<TVertex>.FindLast(System.Predicate<TVertex>)
System.Collections.Generic.List<TVertex>.FindLastIndex(System.Int32, System.Int32, System.Predicate<TVertex>)
System.Collections.Generic.List<TVertex>.FindLastIndex(System.Int32, System.Predicate<TVertex>)
System.Collections.Generic.List<TVertex>.FindLastIndex(System.Predicate<TVertex>)
System.Collections.Generic.List<TVertex>.ForEach(System.Action<TVertex>)
System.Collections.Generic.List<TVertex>.GetEnumerator()
System.Collections.Generic.List<TVertex>.GetRange(System.Int32, System.Int32)
System.Collections.Generic.List<TVertex>.IndexOf(TVertex)
System.Collections.Generic.List<TVertex>.IndexOf(TVertex, System.Int32)
System.Collections.Generic.List<TVertex>.IndexOf(TVertex, System.Int32, System.Int32)
System.Collections.Generic.List<TVertex>.Insert(System.Int32, TVertex)
System.Collections.Generic.List<TVertex>.InsertRange(System.Int32, System.Collections.Generic.IEnumerable<TVertex>)
System.Collections.Generic.List<TVertex>.LastIndexOf(TVertex)
System.Collections.Generic.List<TVertex>.LastIndexOf(TVertex, System.Int32)
System.Collections.Generic.List<TVertex>.LastIndexOf(TVertex, System.Int32, System.Int32)
System.Collections.Generic.List<TVertex>.Remove(TVertex)
System.Collections.Generic.List<TVertex>.RemoveAll(System.Predicate<TVertex>)
System.Collections.Generic.List<TVertex>.RemoveAt(System.Int32)
System.Collections.Generic.List<TVertex>.RemoveRange(System.Int32, System.Int32)
System.Collections.Generic.List<TVertex>.Reverse()
System.Collections.Generic.List<TVertex>.Reverse(System.Int32, System.Int32)
System.Collections.Generic.List<TVertex>.Sort()
System.Collections.Generic.List<TVertex>.Sort(System.Collections.Generic.IComparer<TVertex>)
System.Collections.Generic.List<TVertex>.Sort(System.Comparison<TVertex>)
System.Collections.Generic.List<TVertex>.Sort(System.Int32, System.Int32, System.Collections.Generic.IComparer<TVertex>)
System.Collections.Generic.List<TVertex>.System.Collections.Generic.IEnumerable<TVertex>.GetEnumerator()
System.Collections.Generic.List<TVertex>.System.Collections.ICollection.CopyTo(System.Array, System.Int32)
System.Collections.Generic.List<TVertex>.System.Collections.IEnumerable.GetEnumerator()
System.Collections.Generic.List<TVertex>.System.Collections.IList.Add(System.Object)
System.Collections.Generic.List<TVertex>.System.Collections.IList.Contains(System.Object)
System.Collections.Generic.List<TVertex>.System.Collections.IList.IndexOf(System.Object)
System.Collections.Generic.List<TVertex>.System.Collections.IList.Insert(System.Int32, System.Object)
System.Collections.Generic.List<TVertex>.System.Collections.IList.Remove(System.Object)
System.Collections.Generic.List<TVertex>.ToArray()
System.Collections.Generic.List<TVertex>.TrimExcess()
System.Collections.Generic.List<TVertex>.TrueForAll(System.Predicate<TVertex>)
System.Collections.Generic.List<TVertex>.Capacity
System.Collections.Generic.List<TVertex>.Count
System.Collections.Generic.List<TVertex>.Item[System.Int32]
System.Collections.Generic.List<TVertex>.System.Collections.Generic.ICollection<TVertex>.IsReadOnly
System.Collections.Generic.List<TVertex>.System.Collections.ICollection.IsSynchronized
System.Collections.Generic.List<TVertex>.System.Collections.ICollection.SyncRoot
System.Collections.Generic.List<TVertex>.System.Collections.IList.IsFixedSize
System.Collections.Generic.List<TVertex>.System.Collections.IList.IsReadOnly
System.Collections.Generic.List<TVertex>.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 VertexList<TVertex> : List<TVertex>, IList<TVertex>, ICollection<TVertex>, IReadOnlyList<TVertex>, IReadOnlyCollection<TVertex>, IEnumerable<TVertex>, IList, ICollection, IEnumerable, ICloneable
Type Parameters
Name Description
TVertex

Vertex type.

Constructors

| Improve this Doc View Source

VertexList()

Initializes a new instance of the VertexList<TVertex> class.

Declaration
public VertexList()
| Improve this Doc View Source

VertexList(VertexList<TVertex>)

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

other is null.

| Improve this Doc View Source

VertexList(Int32)

Initializes a new instance of the VertexList<TVertex> class.

Declaration
public VertexList(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 vertex list.

Declaration
public VertexList<TVertex> Clone()
Returns
Type Description
VertexList<TVertex>

Cloned list.

Explicit Interface Implementations

| Improve this Doc View Source

ICloneable.Clone()

Declaration
object ICloneable.Clone()
Returns
Type Description
System.Object

Implements

System.Collections.Generic.IList<T>
System.Collections.Generic.ICollection<T>
System.Collections.Generic.IReadOnlyList<T>
System.Collections.Generic.IReadOnlyCollection<T>
System.Collections.Generic.IEnumerable<T>
System.Collections.IList
System.Collections.ICollection
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