T - the type of node elements.
public class UndirectedGraph<T> extends Graph<T>
| Constructor and Description |
|---|
UndirectedGraph()
|
| Modifier and Type | Method and Description |
|---|---|
void |
addEdge(T a, T b)
Add an undirected edge to the graph.
|
void |
removeEdge(T a, T b)
Remove an undirected edge from graph.
|
addNode, addNodes, containsEdge, containsNode, degreeIn, degreeOut, getEdgesIn, getEdgesOut, getNodes, getPartition, getReachable, removeAllNodes, removeNode, reversed