Show / Hide Table of Contents

Class EdgeEdgeDictionary<TVertex, TEdge>

Stores association of vertices to edges.

Inheritance
System.Object
System.Collections.Generic.Dictionary<TEdge, TEdge>
EdgeEdgeDictionary<TVertex, TEdge>
Implements
System.Collections.Generic.IDictionary<TEdge, TEdge>
System.Collections.Generic.ICollection<System.Collections.Generic.KeyValuePair<TEdge, TEdge>>
System.Collections.Generic.IReadOnlyDictionary<TEdge, TEdge>
System.Collections.Generic.IReadOnlyCollection<System.Collections.Generic.KeyValuePair<TEdge, TEdge>>
System.Collections.Generic.IEnumerable<System.Collections.Generic.KeyValuePair<TEdge, TEdge>>
System.Collections.IDictionary
System.Collections.ICollection
System.Collections.IEnumerable
System.Runtime.Serialization.IDeserializationCallback
System.Runtime.Serialization.ISerializable
System.ICloneable
Inherited Members
System.Collections.Generic.Dictionary<TEdge, TEdge>.System.Collections.IDictionary.get_Item(System.Object)
System.Collections.Generic.Dictionary<TEdge, TEdge>.System.Collections.IDictionary.set_Item(System.Object, System.Object)
System.Collections.Generic.Dictionary<TEdge, TEdge>.Add(TEdge, TEdge)
System.Collections.Generic.Dictionary<TEdge, TEdge>.Clear()
System.Collections.Generic.Dictionary<TEdge, TEdge>.ContainsKey(TEdge)
System.Collections.Generic.Dictionary<TEdge, TEdge>.ContainsValue(TEdge)
System.Collections.Generic.Dictionary<TEdge, TEdge>.GetEnumerator()
System.Collections.Generic.Dictionary<TEdge, TEdge>.GetObjectData(System.Runtime.Serialization.SerializationInfo, System.Runtime.Serialization.StreamingContext)
System.Collections.Generic.Dictionary<TEdge, TEdge>.OnDeserialization(System.Object)
System.Collections.Generic.Dictionary<TEdge, TEdge>.Remove(TEdge)
System.Collections.Generic.Dictionary<TEdge, TEdge>.System.Collections.Generic.ICollection<System.Collections.Generic.KeyValuePair<TEdge, TEdge>>.Add(System.Collections.Generic.KeyValuePair<TEdge, TEdge>)
System.Collections.Generic.Dictionary<TEdge, TEdge>.System.Collections.Generic.ICollection<System.Collections.Generic.KeyValuePair<TEdge, TEdge>>.Contains(System.Collections.Generic.KeyValuePair<TEdge, TEdge>)
System.Collections.Generic.Dictionary<TEdge, TEdge>.System.Collections.Generic.ICollection<System.Collections.Generic.KeyValuePair<TEdge, TEdge>>.CopyTo(System.Collections.Generic.KeyValuePair<TEdge, TEdge>[], System.Int32)
System.Collections.Generic.Dictionary<TEdge, TEdge>.System.Collections.Generic.ICollection<System.Collections.Generic.KeyValuePair<TEdge, TEdge>>.Remove(System.Collections.Generic.KeyValuePair<TEdge, TEdge>)
System.Collections.Generic.Dictionary<TEdge, TEdge>.System.Collections.Generic.IEnumerable<System.Collections.Generic.KeyValuePair<TEdge, TEdge>>.GetEnumerator()
System.Collections.Generic.Dictionary<TEdge, TEdge>.System.Collections.ICollection.CopyTo(System.Array, System.Int32)
System.Collections.Generic.Dictionary<TEdge, TEdge>.System.Collections.IDictionary.Add(System.Object, System.Object)
System.Collections.Generic.Dictionary<TEdge, TEdge>.System.Collections.IDictionary.Contains(System.Object)
System.Collections.Generic.Dictionary<TEdge, TEdge>.System.Collections.IDictionary.GetEnumerator()
System.Collections.Generic.Dictionary<TEdge, TEdge>.System.Collections.IDictionary.Remove(System.Object)
System.Collections.Generic.Dictionary<TEdge, TEdge>.System.Collections.IEnumerable.GetEnumerator()
System.Collections.Generic.Dictionary<TEdge, TEdge>.TryGetValue(TEdge, TEdge)
System.Collections.Generic.Dictionary<TEdge, TEdge>.Comparer
System.Collections.Generic.Dictionary<TEdge, TEdge>.Count
System.Collections.Generic.Dictionary<TEdge, TEdge>.Item[TEdge]
System.Collections.Generic.Dictionary<TEdge, TEdge>.Keys
System.Collections.Generic.Dictionary<TEdge, TEdge>.System.Collections.Generic.ICollection<System.Collections.Generic.KeyValuePair<TEdge, TEdge>>.IsReadOnly
System.Collections.Generic.Dictionary<TEdge, TEdge>.System.Collections.Generic.IDictionary<TEdge, TEdge>.Keys
System.Collections.Generic.Dictionary<TEdge, TEdge>.System.Collections.Generic.IDictionary<TEdge, TEdge>.Values
System.Collections.Generic.Dictionary<TEdge, TEdge>.System.Collections.Generic.IReadOnlyDictionary<TEdge, TEdge>.Keys
System.Collections.Generic.Dictionary<TEdge, TEdge>.System.Collections.Generic.IReadOnlyDictionary<TEdge, TEdge>.Values
System.Collections.Generic.Dictionary<TEdge, TEdge>.System.Collections.ICollection.IsSynchronized
System.Collections.Generic.Dictionary<TEdge, TEdge>.System.Collections.ICollection.SyncRoot
System.Collections.Generic.Dictionary<TEdge, TEdge>.System.Collections.IDictionary.IsFixedSize
System.Collections.Generic.Dictionary<TEdge, TEdge>.System.Collections.IDictionary.IsReadOnly
System.Collections.Generic.Dictionary<TEdge, TEdge>.System.Collections.IDictionary.Item[System.Object]
System.Collections.Generic.Dictionary<TEdge, TEdge>.System.Collections.IDictionary.Keys
System.Collections.Generic.Dictionary<TEdge, TEdge>.System.Collections.IDictionary.Values
System.Collections.Generic.Dictionary<TEdge, TEdge>.Values
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 EdgeEdgeDictionary<TVertex, TEdge> : Dictionary<TEdge, TEdge>, IDictionary<TEdge, TEdge>, ICollection<KeyValuePair<TEdge, TEdge>>, IReadOnlyDictionary<TEdge, TEdge>, IReadOnlyCollection<KeyValuePair<TEdge, TEdge>>, IEnumerable<KeyValuePair<TEdge, TEdge>>, IDictionary, ICollection, IEnumerable, IDeserializationCallback, ISerializable, ICloneable where TEdge : IEdge<TVertex>
Type Parameters
Name Description
TVertex

Vertex type.

TEdge

Edge type.

Constructors

| Improve this Doc View Source

EdgeEdgeDictionary()

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

Declaration
public EdgeEdgeDictionary()
| Improve this Doc View Source

EdgeEdgeDictionary(Int32)

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

Declaration
public EdgeEdgeDictionary(int capacity)
Parameters
Type Name Description
System.Int32 capacity

Dictionary capacity.

Exceptions
Type Condition
System.ArgumentOutOfRangeException

capacity is negative.

Methods

| Improve this Doc View Source

Clone()

Clones this vertices/edges dictionary.

Declaration
public EdgeEdgeDictionary<TVertex, TEdge> Clone()
Returns
Type Description
EdgeEdgeDictionary<TVertex, TEdge>

Cloned dictionary.

Explicit Interface Implementations

| Improve this Doc View Source

ICloneable.Clone()

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

Implements

System.Collections.Generic.IDictionary<TKey, TValue>
System.Collections.Generic.ICollection<T>
System.Collections.Generic.IReadOnlyDictionary<TKey, TValue>
System.Collections.Generic.IReadOnlyCollection<T>
System.Collections.Generic.IEnumerable<T>
System.Collections.IDictionary
System.Collections.ICollection
System.Collections.IEnumerable
System.Runtime.Serialization.IDeserializationCallback
System.Runtime.Serialization.ISerializable
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, TEdges>(IDictionary<TVertex, TEdges>)
GraphExtensions.ToDelegateVertexAndEdgeListGraph<TVertex, TEdge, TValue>(IDictionary<TVertex, TValue>, Converter<KeyValuePair<TVertex, TValue>, 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