Class VertexEdgeDictionary<TVertex, TEdge>
Stores associations of vertices to their edges.
Inheritance
System.Object
System.Collections.Generic.Dictionary<TVertex, IEdgeList<TVertex, TEdge>>
VertexEdgeDictionary<TVertex, TEdge>
Implements
System.Collections.Generic.IReadOnlyDictionary<TVertex, IEdgeList<TVertex, TEdge>>
System.Collections.Generic.IReadOnlyCollection<System.Collections.Generic.KeyValuePair<TVertex, IEdgeList<TVertex, TEdge>>>
System.Collections.IDictionary
System.Collections.ICollection
System.Runtime.Serialization.IDeserializationCallback
IVertexEdgeDictionary<TVertex, TEdge>
System.Collections.Generic.IDictionary<TVertex, IEdgeList<TVertex, TEdge>>
System.Collections.Generic.ICollection<System.Collections.Generic.KeyValuePair<TVertex, IEdgeList<TVertex, TEdge>>>
System.Collections.Generic.IEnumerable<System.Collections.Generic.KeyValuePair<TVertex, IEdgeList<TVertex, TEdge>>>
System.Collections.IEnumerable
System.ICloneable
System.Runtime.Serialization.ISerializable
Inherited Members
System.Collections.Generic.Dictionary<TVertex, QuikGraph.Collections.IEdgeList<TVertex, TEdge>>.System.Collections.IDictionary.get_Item(System.Object)
System.Collections.Generic.Dictionary<TVertex, QuikGraph.Collections.IEdgeList<TVertex, TEdge>>.System.Collections.IDictionary.set_Item(System.Object, System.Object)
System.Collections.Generic.Dictionary<TVertex, QuikGraph.Collections.IEdgeList<TVertex, TEdge>>.Add(TVertex, QuikGraph.Collections.IEdgeList<TVertex, TEdge>)
System.Collections.Generic.Dictionary<TVertex, QuikGraph.Collections.IEdgeList<TVertex, TEdge>>.Clear()
System.Collections.Generic.Dictionary<TVertex, QuikGraph.Collections.IEdgeList<TVertex, TEdge>>.ContainsKey(TVertex)
System.Collections.Generic.Dictionary<TVertex, QuikGraph.Collections.IEdgeList<TVertex, TEdge>>.ContainsValue(QuikGraph.Collections.IEdgeList<TVertex, TEdge>)
System.Collections.Generic.Dictionary<TVertex, QuikGraph.Collections.IEdgeList<TVertex, TEdge>>.GetEnumerator()
System.Collections.Generic.Dictionary<TVertex, QuikGraph.Collections.IEdgeList<TVertex, TEdge>>.GetObjectData(System.Runtime.Serialization.SerializationInfo, System.Runtime.Serialization.StreamingContext)
System.Collections.Generic.Dictionary<TVertex, QuikGraph.Collections.IEdgeList<TVertex, TEdge>>.OnDeserialization(System.Object)
System.Collections.Generic.Dictionary<TVertex, QuikGraph.Collections.IEdgeList<TVertex, TEdge>>.Remove(TVertex)
System.Collections.Generic.Dictionary<TVertex, QuikGraph.Collections.IEdgeList<TVertex, TEdge>>.System.Collections.Generic.ICollection<System.Collections.Generic.KeyValuePair<TVertex, QuikGraph.Collections.IEdgeList<TVertex, TEdge>>>.Add(System.Collections.Generic.KeyValuePair<TVertex, QuikGraph.Collections.IEdgeList<TVertex, TEdge>>)
System.Collections.Generic.Dictionary<TVertex, QuikGraph.Collections.IEdgeList<TVertex, TEdge>>.System.Collections.Generic.ICollection<System.Collections.Generic.KeyValuePair<TVertex, QuikGraph.Collections.IEdgeList<TVertex, TEdge>>>.Contains(System.Collections.Generic.KeyValuePair<TVertex, QuikGraph.Collections.IEdgeList<TVertex, TEdge>>)
System.Collections.Generic.Dictionary<TVertex, QuikGraph.Collections.IEdgeList<TVertex, TEdge>>.System.Collections.Generic.ICollection<System.Collections.Generic.KeyValuePair<TVertex, QuikGraph.Collections.IEdgeList<TVertex, TEdge>>>.CopyTo(System.Collections.Generic.KeyValuePair<TVertex, QuikGraph.Collections.IEdgeList<TVertex, TEdge>>[], System.Int32)
System.Collections.Generic.Dictionary<TVertex, QuikGraph.Collections.IEdgeList<TVertex, TEdge>>.System.Collections.Generic.ICollection<System.Collections.Generic.KeyValuePair<TVertex, QuikGraph.Collections.IEdgeList<TVertex, TEdge>>>.Remove(System.Collections.Generic.KeyValuePair<TVertex, QuikGraph.Collections.IEdgeList<TVertex, TEdge>>)
System.Collections.Generic.Dictionary<TVertex, QuikGraph.Collections.IEdgeList<TVertex, TEdge>>.System.Collections.Generic.IEnumerable<System.Collections.Generic.KeyValuePair<TVertex, QuikGraph.Collections.IEdgeList<TVertex, TEdge>>>.GetEnumerator()
System.Collections.Generic.Dictionary<TVertex, QuikGraph.Collections.IEdgeList<TVertex, TEdge>>.System.Collections.ICollection.CopyTo(System.Array, System.Int32)
System.Collections.Generic.Dictionary<TVertex, QuikGraph.Collections.IEdgeList<TVertex, TEdge>>.System.Collections.IDictionary.Add(System.Object, System.Object)
System.Collections.Generic.Dictionary<TVertex, QuikGraph.Collections.IEdgeList<TVertex, TEdge>>.System.Collections.IDictionary.Contains(System.Object)
System.Collections.Generic.Dictionary<TVertex, QuikGraph.Collections.IEdgeList<TVertex, TEdge>>.System.Collections.IDictionary.GetEnumerator()
System.Collections.Generic.Dictionary<TVertex, QuikGraph.Collections.IEdgeList<TVertex, TEdge>>.System.Collections.IDictionary.Remove(System.Object)
System.Collections.Generic.Dictionary<TVertex, QuikGraph.Collections.IEdgeList<TVertex, TEdge>>.System.Collections.IEnumerable.GetEnumerator()
System.Collections.Generic.Dictionary<TVertex, QuikGraph.Collections.IEdgeList<TVertex, TEdge>>.TryGetValue(TVertex, QuikGraph.Collections.IEdgeList<TVertex, TEdge>)
System.Collections.Generic.Dictionary<TVertex, QuikGraph.Collections.IEdgeList<TVertex, TEdge>>.Comparer
System.Collections.Generic.Dictionary<TVertex, QuikGraph.Collections.IEdgeList<TVertex, TEdge>>.Count
System.Collections.Generic.Dictionary<TVertex, QuikGraph.Collections.IEdgeList<TVertex, TEdge>>.Item[TVertex]
System.Collections.Generic.Dictionary<TVertex, QuikGraph.Collections.IEdgeList<TVertex, TEdge>>.Keys
System.Collections.Generic.Dictionary<TVertex, QuikGraph.Collections.IEdgeList<TVertex, TEdge>>.System.Collections.Generic.ICollection<System.Collections.Generic.KeyValuePair<TVertex, QuikGraph.Collections.IEdgeList<TVertex, TEdge>>>.IsReadOnly
System.Collections.Generic.Dictionary<TVertex, QuikGraph.Collections.IEdgeList<TVertex, TEdge>>.System.Collections.Generic.IDictionary<TVertex, QuikGraph.Collections.IEdgeList<TVertex, TEdge>>.Keys
System.Collections.Generic.Dictionary<TVertex, QuikGraph.Collections.IEdgeList<TVertex, TEdge>>.System.Collections.Generic.IDictionary<TVertex, QuikGraph.Collections.IEdgeList<TVertex, TEdge>>.Values
System.Collections.Generic.Dictionary<TVertex, QuikGraph.Collections.IEdgeList<TVertex, TEdge>>.System.Collections.Generic.IReadOnlyDictionary<TVertex, QuikGraph.Collections.IEdgeList<TVertex, TEdge>>.Keys
System.Collections.Generic.Dictionary<TVertex, QuikGraph.Collections.IEdgeList<TVertex, TEdge>>.System.Collections.Generic.IReadOnlyDictionary<TVertex, QuikGraph.Collections.IEdgeList<TVertex, TEdge>>.Values
System.Collections.Generic.Dictionary<TVertex, QuikGraph.Collections.IEdgeList<TVertex, TEdge>>.System.Collections.ICollection.IsSynchronized
System.Collections.Generic.Dictionary<TVertex, QuikGraph.Collections.IEdgeList<TVertex, TEdge>>.System.Collections.ICollection.SyncRoot
System.Collections.Generic.Dictionary<TVertex, QuikGraph.Collections.IEdgeList<TVertex, TEdge>>.System.Collections.IDictionary.IsFixedSize
System.Collections.Generic.Dictionary<TVertex, QuikGraph.Collections.IEdgeList<TVertex, TEdge>>.System.Collections.IDictionary.IsReadOnly
System.Collections.Generic.Dictionary<TVertex, QuikGraph.Collections.IEdgeList<TVertex, TEdge>>.System.Collections.IDictionary.Item[System.Object]
System.Collections.Generic.Dictionary<TVertex, QuikGraph.Collections.IEdgeList<TVertex, TEdge>>.System.Collections.IDictionary.Keys
System.Collections.Generic.Dictionary<TVertex, QuikGraph.Collections.IEdgeList<TVertex, TEdge>>.System.Collections.IDictionary.Values
System.Collections.Generic.Dictionary<TVertex, QuikGraph.Collections.IEdgeList<TVertex, 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 VertexEdgeDictionary<TVertex, TEdge> : Dictionary<TVertex, IEdgeList<TVertex, TEdge>>, IReadOnlyDictionary<TVertex, IEdgeList<TVertex, TEdge>>, IReadOnlyCollection<KeyValuePair<TVertex, IEdgeList<TVertex, TEdge>>>, IDictionary, ICollection, IDeserializationCallback, IVertexEdgeDictionary<TVertex, TEdge>, IDictionary<TVertex, IEdgeList<TVertex, TEdge>>, ICollection<KeyValuePair<TVertex, IEdgeList<TVertex, TEdge>>>, IEnumerable<KeyValuePair<TVertex, IEdgeList<TVertex, TEdge>>>, IEnumerable, ICloneable, ISerializable where TEdge : IEdge<TVertex>
Type Parameters
Name | Description |
---|---|
TVertex | Vertex type. |
TEdge | Edge type. |
Constructors
| Improve this Doc View SourceVertexEdgeDictionary()
Initializes a new instance of the VertexEdgeDictionary<TVertex, TEdge> class.
Declaration
public VertexEdgeDictionary()
VertexEdgeDictionary(Int32)
Initializes a new instance of the VertexEdgeDictionary<TVertex, TEdge> class.
Declaration
public VertexEdgeDictionary(int capacity)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | capacity | Dictionary capacity. |
Exceptions
Type | Condition |
---|---|
System.ArgumentOutOfRangeException |
|
Methods
| Improve this Doc View SourceClone()
Clones this vertex/edges dictionary.
Declaration
public VertexEdgeDictionary<TVertex, TEdge> Clone()
Returns
Type | Description |
---|---|
VertexEdgeDictionary<TVertex, TEdge> | Cloned dictionary. |
Explicit Interface Implementations
| Improve this Doc View SourceIVertexEdgeDictionary<TVertex, TEdge>.Clone()
Gets a clone of the dictionary. The vertices and edges are not cloned.
Declaration
IVertexEdgeDictionary<TVertex, TEdge> IVertexEdgeDictionary<TVertex, TEdge>.Clone()
Returns
Type | Description |
---|---|
IVertexEdgeDictionary<TVertex, TEdge> | Cloned dictionary. |
ICloneable.Clone()
Declaration
object ICloneable.Clone()
Returns
Type | Description |
---|---|
System.Object |
Implements
System.Collections.Generic.IReadOnlyDictionary<TKey, TValue>
System.Collections.Generic.IReadOnlyCollection<T>
System.Collections.IDictionary
System.Collections.ICollection
System.Runtime.Serialization.IDeserializationCallback
System.Collections.Generic.IDictionary<TKey, TValue>
System.Collections.Generic.ICollection<T>
System.Collections.Generic.IEnumerable<T>
System.Collections.IEnumerable
System.ICloneable
System.Runtime.Serialization.ISerializable