Interface ICloneableEdge<TVertex, TEdge>
Represents a cloneable edge.
Namespace: QuikGraph
Assembly: QuikGraph.dll
Syntax
public interface ICloneableEdge<TVertex, out TEdge> : IEdge<TVertex> where TEdge : IEdge<TVertex>
Type Parameters
Name | Description |
---|---|
TVertex | Vertex type. |
TEdge | Edge type. |
Methods
| Improve this Doc View SourceClone(TVertex, TVertex)
Clones this edge content to a different pair of source
and target
vertices.
Declaration
TEdge Clone(TVertex source, TVertex target)
Parameters
Type | Name | Description |
---|---|---|
TVertex | source | The source vertex of the new edge. |
TVertex | target | The target vertex of the new edge. |
Returns
Type | Description |
---|---|
TEdge | A clone of the edge with new source and target vertices. |
Exceptions
Type | Condition |
---|---|
System.ArgumentNullException |
|
System.ArgumentNullException |
|