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.2.0.0 (1.2.16.0406)
Syntax public void Disconnect(
TVertex startVertex,
TVertex endVertex,
bool bothSides
)
Public Sub Disconnect (
startVertex As TVertex,
endVertex As TVertex,
bothSides As Boolean
)
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