public interface UnweightedGraph extends Graph
| Modifier and Type | Method and Description |
|---|---|
boolean |
addEdge(int begin,
int end)
Adds an unweighted edge between two vertices.
|
addVertex, clear, getDegree, getInDegree, getNeighbors, hasEdge, isDirected, isEmpty, numEdges, numVertsboolean addEdge(int begin,
int end)
java.lang.IndexOutOfBoundsException - if either vertex ID is out of bounds.