N
- node classE
- edge classpublic interface Graph<N,E> extends IndefiniteGraph<N,E>, Iterable<N>
IndefiniteGraph
, but with the additional requirement
that the set of nodes be finite.Modifier and Type | Method and Description |
---|---|
Collection<N> |
getNodes()
Retrieves an (unmodifiable) collection of the nodes in this graph.
|
NodeIDs<N> |
nodeIDs() |
int |
size()
Retrieves the number of nodes of this graph.
|
createDynamicNodeMapping, createStaticNodeMapping, getOutgoingEdges, getTarget
forEach, iterator, spliterator
Copyright © 2015. All Rights Reserved.