T
- the type of the data to store in Vertices of this graphpublic interface UnweightedGraph<T> extends Graph<T>
Modifier and Type | Method and Description |
---|---|
Edge<T> |
addEdge(Vertex<T> source,
Vertex<T> target)
Adds an edge to the graph between two Vertices
|
addVertex, getEdges, getVertices, removeAllEdges, removeAllVertices