V
- vertexE
- edgepublic class EdgeIndexComparator<V,E>
extends java.lang.Object
implements java.util.Comparator<E>
Modifier and Type | Field and Description |
---|---|
private edu.uci.ics.jung.graph.util.EdgeIndexFunction<V,E> |
edgeIndexFunction
Edge index function
|
private edu.uci.ics.jung.graph.Graph<V,E> |
graph
Graph
|
Constructor and Description |
---|
EdgeIndexComparator(edu.uci.ics.jung.graph.util.EdgeIndexFunction<V,E> edgeIndexFunction,
edu.uci.ics.jung.graph.Graph<V,E> graph)
Constructor
|
Modifier and Type | Method and Description |
---|---|
int |
compare(E e1,
E e2) |