Package org.jgrapht
Interface EdgeFactory<V,E>
-
- Type Parameters:
V
- the graph vertex typeE
- the graph edge type
- All Known Implementing Classes:
ClassBasedEdgeFactory
public interface EdgeFactory<V,E>
An edge factory used by graphs for creating new edges.- Since:
- Jul 14, 2003
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description E
createEdge(V sourceVertex, V targetVertex)
Creates a new edge whose endpoints are the specified source and target vertices.
-