Click or drag to resize

AlgorithmExtensionsCloneTVertex, TEdge Method

Namespace:  QuickGraph.Algorithms
Assembly:  RebornBuddy (in RebornBuddy.exe) Version: 3.3.1; net-4.5.win32; release
Syntax
C#
public static void Clone<TVertex, TEdge>(
	this IVertexAndEdgeListGraph<TVertex, TEdge> g,
	Func<TVertex, TVertex> vertexCloner,
	Func<TEdge, TVertex, TVertex, TEdge> edgeCloner,
	IMutableVertexAndEdgeSet<TVertex, TEdge> clone
)
where TEdge : Object, IEdge<TVertex>

Parameters

g
Type: QuickGraphIVertexAndEdgeListGraphTVertex, TEdge
vertexCloner
Type: SystemFuncTVertex, TVertex
edgeCloner
Type: SystemFuncTEdge, TVertex, TVertex, TEdge
clone
Type: QuickGraphIMutableVertexAndEdgeSetTVertex, TEdge

Type Parameters

TVertex
TEdge

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type IVertexAndEdgeListGraphTVertex, TEdge. When you use instance method syntax to call this method, omit the first parameter. For more information, see Extension Methods (Visual Basic) or Extension Methods (C# Programming Guide).
See Also