N
- node typepublic interface SimpleGraph<N> extends IndefiniteSimpleGraph<N>, Iterable<N>
IndefiniteSimpleGraph
.Modifier and Type | Interface and Description |
---|---|
static class |
SimpleGraph.NormalGraphView<N,G extends SimpleGraph<N>> |
Modifier and Type | Method and Description |
---|---|
default Graph<N,?> |
asNormalGraph() |
Collection<N> |
getNodes()
Retrieves an (unmodifiable) collection of the nodes in this graph.
|
default VisualizationHelper<N,?> |
getVisualizationHelper() |
default Iterator<N> |
iterator() |
default NodeIDs<N> |
nodeIDs() |
default Stream<N> |
nodesStream() |
default int |
size()
Retrieves the number of nodes of this graph.
|
adjacentTargets, adjacentTargetsIterator, adjacentTargetsStream, createDynamicNodeMapping, createStaticNodeMapping, getAdjacentTargets, isConnected
forEach, spliterator
default int size()
@Nonnull Collection<N> getNodes()
default VisualizationHelper<N,?> getVisualizationHelper()
default Graph<N,?> asNormalGraph()
asNormalGraph
in interface IndefiniteSimpleGraph<N>
Copyright © 2019. All rights reserved.