V
- the graph vertex typeE
- the graph edge typepublic interface GraphMapping<V,E>
Modifier and Type | Method and Description |
---|---|
E |
getEdgeCorrespondence(E edge,
boolean forward)
Gets the mapped value where the key is
edge |
V |
getVertexCorrespondence(V vertex,
boolean forward)
Gets the mapped value where the key is
vertex |
V getVertexCorrespondence(V vertex, boolean forward)
vertex
vertex
- vertex in one of the graphsforward
- if true, uses mapping from graph1 to graph2; if false, use mapping from graph2
to graph1E getEdgeCorrespondence(E edge, boolean forward)
edge
edge
- edge in one of the graphsforward
- if true, uses mapping from graph1 to graph2; if false, use mapping from graph2
to graph1Copyright © 2019. All rights reserved.