Adaptor to flip in-edges and out-edges.
Namespace:
QuickGraph.RepresentationsAssembly: QuickGraph.Algorithms (in QuickGraph.Algorithms.dll) Version: 2.4.2.1515 (2.4.2.1515)
Syntax
| C# |
|---|
public class ReversedBidirectionalGraph : IBidirectionalVertexAndEdgeListGraph, IBidirectionalVertexListGraph, IBidirectionalGraph, IVertexAndEdgeListGraph, IVertexListGraph, IEdgeListAndIncidenceGraph, IEdgeListGraph, IIncidenceGraph, IAdjacencyGraph, IImplicitGraph, IGraph |
| Visual Basic (Declaration) |
|---|
Public Class ReversedBidirectionalGraph _ Implements IBidirectionalVertexAndEdgeListGraph, IBidirectionalVertexListGraph, IBidirectionalGraph, IVertexAndEdgeListGraph, _ IVertexListGraph, IEdgeListAndIncidenceGraph, IEdgeListGraph, IIncidenceGraph, IAdjacencyGraph, _ IImplicitGraph, IGraph |
Remarks
This adaptor flips the in-edges and out-edges of a IBidirectionalGraph, effectively transposing the graph.
The construction of the reverse graph is constant time, providing a highly efficient way to obtain a transposed-view of a graph.
