Class VEPair<V,E>
java.lang.Object
edu.uci.ics.jung.algorithms.scoring.util.VEPair<V,E>
- Type Parameters:
V
- the vertex typeE
- the edge type
Convenience class for associating a vertex and an edge. Used, for example,
in contexts in which it is necessary to know the origin for an edge traversal
(that is, the direction in which an (undirected) edge is being traversed).
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
v
-
e
-
-
Constructor Details
-
VEPair
Creates an instance with the specified vertex and edge- Parameters:
v
- the vertex to adde
- the edge to add
-
-
Method Details
-
getV
- Returns:
- the vertex of this pair
-
getE
- Returns:
- the edge of this pair
-