Interface ILazySuccessorGenerator<N,A>
-
- Type Parameters:
N- Node typeA- Arc type
- All Superinterfaces:
ISuccessorGenerator<N,A>
public interface ILazySuccessorGenerator<N,A> extends ISuccessorGenerator<N,A>
Lazy successor generators are able to produce successor nodes step by step. This can be helpful if the branching factor of a graph is huge and one is only interested in one or few successors of each node.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.util.Iterator<INewNodeDescription<N,A>>getIterativeGenerator(N node)-
Methods inherited from interface org.api4.java.datastructure.graph.implicit.ISuccessorGenerator
generateSuccessors
-
-
-
-
Method Detail
-
getIterativeGenerator
java.util.Iterator<INewNodeDescription<N,A>> getIterativeGenerator(N node)
- Parameters:
node- The node for which the successors should be computed- Returns:
- An iterator for the node descriptions of successors
-
-