N
- node typeE
- edge type@ParametersAreNonnullByDefault public interface IndefiniteGraph<N,E> extends IndefiniteSimpleGraph<N>
IndefiniteSimpleGraph.NormalGraphView<N,G extends IndefiniteSimpleGraph<N>>
Modifier and Type | Method and Description |
---|---|
default Iterator<N> |
adjacentTargetsIterator(N node) |
default Stream<N> |
adjacentTargetsStream(N node) |
default IndefiniteGraph<N,E> |
asNormalGraph() |
default Collection<N> |
getAdjacentTargets(N node) |
default Collection<E> |
getEdgesBetween(N from,
N to) |
Collection<E> |
getOutgoingEdges(N node)
Retrieves the outgoing edges of a given node.
|
N |
getTarget(E edge)
Retrieves, for a given edge, its target node.
|
default Iterable<E> |
outgoingEdges(N node) |
default Iterator<E> |
outgoingEdgesIterator(N node) |
default Stream<E> |
outgoingEdgesStream(N node) |
adjacentTargets, createDynamicNodeMapping, createStaticNodeMapping, isConnected
default Iterator<N> adjacentTargetsIterator(N node)
adjacentTargetsIterator
in interface IndefiniteSimpleGraph<N>
default Collection<N> getAdjacentTargets(N node)
getAdjacentTargets
in interface IndefiniteSimpleGraph<N>
default Stream<N> adjacentTargetsStream(N node)
adjacentTargetsStream
in interface IndefiniteSimpleGraph<N>
default IndefiniteGraph<N,E> asNormalGraph()
asNormalGraph
in interface IndefiniteSimpleGraph<N>
@Nonnull Collection<E> getOutgoingEdges(N node)
node
- the node.Collection
of all outgoing edges, or null
if the node has no outgoing edges.@Nonnull default Collection<E> getEdgesBetween(N from, N to)
Copyright © 2018. All rights reserved.