Click or drag to resize

GraphBaseTVertex, TEdgeDisconnect Method

Removes all edges from this graph between startVertex and endVertex. It will only remove edges between startVertex and endVertex, not between endVertex and startVertex, unless bothSides is set to true, then all edges between both vertices are removed, discarding their direction.

Namespace:  SD.Tools.Algorithmia.Graphs
Assembly:  SD.Tools.Algorithmia (in SD.Tools.Algorithmia.dll) Version: 1.3.3.0 (1.3.18.0209)
Syntax
public void Disconnect(
	TVertex startVertex,
	TVertex endVertex,
	bool bothSides
)

Parameters

startVertex
Type: TVertex
The start vertex.
endVertex
Type: TVertex
The end vertex.
bothSides
Type: SystemBoolean
if set to true, the edges owned by both sides are removed, otherwise only the edges from startVertex to endVertex
See Also