Package dev.nm.graph
Interface GraphUtils.EdgeFactory<V,N,E extends Edge<N>,X>
-
- Type Parameters:
V
- vertex type in the original graphN
- node type in the new graphE
- edge type in the new graphX
- the type of extra information for creating an edge
- Enclosing class:
- GraphUtils
public static interface GraphUtils.EdgeFactory<V,N,E extends Edge<N>,X>
This interface specifies how an edge is created for two nodes.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description E
getEdge(V v, V u, X info)
Creates an edge between two nodes.
-