Class MergedEdge<TVertex, TEdge>
An edge that merge several other edges.
Implements
IEdge<TVertex>
Inherited Members
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)
Namespace: QuikGraph.Algorithms.Condensation
Assembly: QuikGraph.dll
Syntax
[Serializable]
public sealed class MergedEdge<TVertex, TEdge> : Edge<TVertex>, IEdge<TVertex> where TEdge : IEdge<TVertex>
Type Parameters
Name | Description |
---|---|
TVertex | Vertex type. |
TEdge | Edge type. |
Constructors
| Improve this Doc View SourceMergedEdge(TVertex, TVertex)
Initializes a new instance of the MergedEdge<TVertex, TEdge> class.
Declaration
public MergedEdge(TVertex source, TVertex target)
Parameters
Type | Name | Description |
---|---|---|
TVertex | source | The source vertex. |
TVertex | target | The target vertex. |
Exceptions
Type | Condition |
---|---|
System.ArgumentNullException |
|
System.ArgumentNullException |
|
Properties
| Improve this Doc View SourceEdges
Merged edges.
Declaration
public IList<TEdge> Edges { get; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.IList<TEdge> |
Methods
| Improve this Doc View SourceMerge(MergedEdge<TVertex, TEdge>, MergedEdge<TVertex, TEdge>)
Merges the given two edges.
Declaration
public static MergedEdge<TVertex, TEdge> Merge(MergedEdge<TVertex, TEdge> inEdge, MergedEdge<TVertex, TEdge> outEdge)
Parameters
Type | Name | Description |
---|---|---|
MergedEdge<TVertex, TEdge> | inEdge | First edge. |
MergedEdge<TVertex, TEdge> | outEdge | Second edge. |
Returns
Type | Description |
---|---|
MergedEdge<TVertex, TEdge> | The merged edge. |
Exceptions
Type | Condition |
---|---|
System.ArgumentNullException |
|
System.ArgumentNullException |
|