public class Transposer<T extends Vertex,U extends Vertex>
extends java.lang.Object
Constructor and Description 

Transposer(AbstractGraph<T> graph,
VertexFactory<U> vertexFactory,
GraphFactory<U> graphFactory)
Creates a transpose graph, which can be retrieved as needed through the
getTransposeGraph() method, and a HashMap from the vertices of the original
graph to the corresponding vertices of the transpose graph.

Modifier and Type  Method and Description 

AbstractGraph<U> 
getTransposeGraph()
Returns the transpose of the original graph

java.util.Map<T,U> 
getVertexMap()
Returns a mapping in which the keys are the vertices of the original graph
and the values are the corresponding vertices in the transpose graph.

public Transposer(AbstractGraph<T> graph, VertexFactory<U> vertexFactory, GraphFactory<U> graphFactory)
graph
 graph for which the transpose is to be created.vertexFactory
 factory method used to create vertices in the transpose
graphpublic java.util.Map<T,U> getVertexMap()
public AbstractGraph<U> getTransposeGraph()