Modifier and Type | Field and Description |
---|---|
double |
dist |
java.util.List<Edge> |
edges |
int |
indegree |
java.lang.String |
name |
int |
nr |
Vertex |
prev |
boolean |
seen |
Constructor and Description |
---|
Vertex(java.lang.String s) |
Modifier and Type | Method and Description |
---|---|
int |
compareTo(Vertex other) |
boolean |
hasEdge(Vertex w) |