| Modifier and Type | Class and Description |
|---|---|
static class |
Graph.Edge |
| Constructor and Description |
|---|
Graph() |
| Modifier and Type | Method and Description |
|---|---|
Graph.Edge |
addEdge(int v1,
int v2) |
Graph |
clone() |
List<Set<Graph.Edge>> |
getAdjacency() |
Set<Graph.Edge> |
getIncidentEdges(int v) |
void |
initialize(int nodes) |
void |
removeEdge(Graph.Edge e) |
public List<Set<Graph.Edge>> getAdjacency()
public void initialize(int nodes)
public Graph.Edge addEdge(int v1, int v2)
public void removeEdge(Graph.Edge e)
public Set<Graph.Edge> getIncidentEdges(int v)
Copyright © 2018. All rights reserved.