Constructor and Description |
---|
HashMapGraph() |
Modifier and Type | Method and Description |
---|---|
void |
add(E edge,
V fromVertex,
V toVertex) |
void |
add(V vertex) |
boolean |
contains(V vertice) |
Graph<V,E> |
copy() |
E |
getEdge(V from,
V to) |
VertexEdges<V,E> |
getEdges(V vertice) |
Set<V> |
getVertices() |
Pair<V,V> |
getVertices(E edge) |
void |
remove(V vertice) |
String |
toString() |
public void add(V vertex)
Copyright © 2014. All rights reserved.