public interface IGraph<V,E>
Modifier and Type | Method and Description |
---|---|
void |
addEdge(E edge,
V v1,
V v2) |
void |
addVertex(V vertex) |
List<E> |
getEdges() |
V |
getEdgeStartVertex(E e) |
V |
getEdgeStopVertex(E e) |
V |
getRandomVertex() |
V |
getVertex(int i) |
List<V> |
getVertices() |
Copyright © 2016. All rights reserved.