public class GraphIterator
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
static interface |
GraphIterator.EdgeAcceptor<N,E extends DirectedGraphEdge<? extends N,? extends N>> |
static interface |
GraphIterator.NodeAcceptor<T extends DirectedGraphNode> |
Constructor and Description |
---|
GraphIterator() |
Modifier and Type | Method and Description |
---|---|
static <N extends DirectedGraphNode,E extends DirectedGraphEdge<? extends N,? extends N>> |
getDepthFirstPredecessors(N node,
DirectedGraph<N,E> graph,
GraphIterator.EdgeAcceptor<N,E> edgeAcceptor,
GraphIterator.NodeAcceptor<N> nodeAcceptor) |
static <N extends DirectedGraphNode,E extends DirectedGraphEdge<? extends N,? extends N>> |
getDepthFirstSuccessors(N node,
DirectedGraph<N,E> graph,
GraphIterator.EdgeAcceptor<N,E> edgeAcceptor,
GraphIterator.NodeAcceptor<N> nodeAcceptor) |
static <N extends DirectedGraphNode,E extends DirectedGraphEdge<? extends N,? extends N>> |
getDirectPredecessors(N node,
DirectedGraph<N,E> graph) |
static <N extends DirectedGraphNode,E extends DirectedGraphEdge<? extends N,? extends N>> |
getDirectSuccessors(N node,
DirectedGraph<N,E> graph) |
public static <N extends DirectedGraphNode,E extends DirectedGraphEdge<? extends N,? extends N>> java.util.Collection<N> getDirectSuccessors(N node, DirectedGraph<N,E> graph)
public static <N extends DirectedGraphNode,E extends DirectedGraphEdge<? extends N,? extends N>> java.util.Collection<N> getDepthFirstSuccessors(N node, DirectedGraph<N,E> graph, GraphIterator.EdgeAcceptor<N,E> edgeAcceptor, GraphIterator.NodeAcceptor<N> nodeAcceptor)
public static <N extends DirectedGraphNode,E extends DirectedGraphEdge<? extends N,? extends N>> java.util.Collection<N> getDirectPredecessors(N node, DirectedGraph<N,E> graph)
public static <N extends DirectedGraphNode,E extends DirectedGraphEdge<? extends N,? extends N>> java.util.Collection<N> getDepthFirstPredecessors(N node, DirectedGraph<N,E> graph, GraphIterator.EdgeAcceptor<N,E> edgeAcceptor, GraphIterator.NodeAcceptor<N> nodeAcceptor)