public interface EdgeOffsetFunction<V,E>
| Modifier and Type | Method and Description |
|---|---|
float |
getOffset(edu.uci.ics.jung.graph.Graph<V,E> graph,
E e) |
void |
reset()
Clears all edge indices for all edges in all graphs.
|
void |
reset(edu.uci.ics.jung.graph.Graph<V,E> g,
E edge)
Resets the indices for
edge and its parallel edges in graph. |
void reset(edu.uci.ics.jung.graph.Graph<V,E> g, E edge)
edge and its parallel edges in graph. Should be invoked when an edge parallel to edge has
been added or removed.g - the graph in which edge's index is to be resetedge - the edge whose index is to be resetvoid reset()