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, isConnected
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
asNormalGraph, getVisualizationHelper
adjacentTargetsIterator, adjacentTargetsStream, getAdjacentTargets, getEdgesBetween, getOutgoingEdges, getTarget, outgoingEdges, outgoingEdgesIterator, outgoingEdgesStream
nodeIDs
adjacentTargets, createDynamicNodeMapping, createStaticNodeMapping, isConnected
forEach, spliterator
public NormalGraphView(G simpleGraph)
public int size()
SimpleGraph
size
in interface SimpleGraph<N>
public Collection<N> getNodes()
SimpleGraph
getNodes
in interface SimpleGraph<N>
public Stream<N> nodesStream()
nodesStream
in interface SimpleGraph<N>
Copyright © 2018. All rights reserved.