Class GraphIterator
- java.lang.Object
-
- org.processmining.models.graphbased.directed.utils.GraphIterator
-
public class GraphIterator extends java.lang.Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interface
GraphIterator.EdgeAcceptor<N,E extends DirectedGraphEdge<? extends N,? extends N>>
static interface
GraphIterator.NodeAcceptor<T extends DirectedGraphNode>
-
Constructor Summary
Constructors Constructor Description GraphIterator()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description 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)
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)
static <N extends DirectedGraphNode,E extends DirectedGraphEdge<? extends N,? extends N>>
java.util.Collection<N>getDirectPredecessors(N node, DirectedGraph<N,E> graph)
static <N extends DirectedGraphNode,E extends DirectedGraphEdge<? extends N,? extends N>>
java.util.Collection<N>getDirectSuccessors(N node, DirectedGraph<N,E> graph)
-
-
-
Method Detail
-
getDirectSuccessors
public static <N extends DirectedGraphNode,E extends DirectedGraphEdge<? extends N,? extends N>> java.util.Collection<N> getDirectSuccessors(N node, DirectedGraph<N,E> graph)
-
getDepthFirstSuccessors
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)
-
getDirectPredecessors
public static <N extends DirectedGraphNode,E extends DirectedGraphEdge<? extends N,? extends N>> java.util.Collection<N> getDirectPredecessors(N node, DirectedGraph<N,E> graph)
-
getDepthFirstPredecessors
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)
-
-