template<typename _Graph>
class lemon::RevGraphAdaptor< _Graph >
Warning:
Graph adaptors are in even more experimental state than the other parts of the lib. Use them at you own risk.
Let be a directed graph and suppose that a graph instange g of type ListGraph implements .
ListGraph g;
For each directed edge , let denote the edge obtained by reversing its orientation. Then RevGraphAdaptor implements the graph structure with node-set and edge-set , i.e. the graph obtained from be reversing the orientation of its edges. The following code shows how such an instance can be constructed.
RevGraphAdaptor<ListGraph> gw(g);
Author:
Marton Makai
The documentation for this class was generated from the following file: