V
- vertex typeE
- edge typepublic interface Graph<V extends Vertex,E extends Edge>
Modifier and Type | Method and Description |
---|---|
java.util.Set<E> |
getEdges()
Returns the set of edges comprising the graph.
|
java.util.Set<E> |
getEdgesFrom(V src)
Returns all edges leading out from the specified source vertex.
|
java.util.Set<E> |
getEdgesTo(V dst)
Returns all edges leading towards the specified destination vertex.
|
java.util.Set<V> |
getVertexes()
Returns the set of vertexes comprising the graph.
|
java.util.Set<V> getVertexes()
java.util.Set<E> getEdges()
java.util.Set<E> getEdgesFrom(V src)
src
- source vertex