public static class SimpleGraph.NormalGraphView<N,G extends SimpleGraph<N>> extends IndefiniteSimpleGraph.NormalGraphView<N,G> implements Graph<N,N>
SimpleGraph.NormalGraphView<N,G extends SimpleGraph<N>>simpleGraph| Constructor and Description |
|---|
NormalGraphView(G simpleGraph) |
| Modifier and Type | Method and Description |
|---|---|
Collection<N> |
getNodes()
Retrieves an (unmodifiable) collection of the nodes in this graph.
|
Iterator<N> |
iterator() |
Stream<N> |
nodesStream() |
int |
size()
Retrieves the number of nodes of this graph.
|
adjacentTargets, adjacentTargetsIterator, adjacentTargetsStream, createDynamicNodeMapping, createStaticNodeMapping, getAdjacentTargets, getOutgoingEdges, getTarget, isConnectedclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitasNormalGraph, getVisualizationHelperadjacentTargetsIterator, adjacentTargetsStream, getAdjacentTargets, getEdgesBetween, getOutgoingEdges, getTarget, outgoingEdges, outgoingEdgesIterator, outgoingEdgesStreamnodeIDsadjacentTargets, createDynamicNodeMapping, createStaticNodeMapping, isConnectedforEach, spliteratorpublic NormalGraphView(G simpleGraph)
public int size()
SimpleGraphsize in interface SimpleGraph<N>public Collection<N> getNodes()
SimpleGraphgetNodes in interface SimpleGraph<N>public Stream<N> nodesStream()
nodesStream in interface SimpleGraph<N>Copyright © 2018. All rights reserved.