RepeatStep
Type members
Classlikes
queue based worklist for RepeatBehaviour.SearchAlgorithm.BreadthFirst
queue based worklist for RepeatBehaviour.SearchAlgorithm.BreadthFirst
stack based worklist for RepeatBehaviour.SearchAlgorithm.DepthFirst
stack based worklist for RepeatBehaviour.SearchAlgorithm.DepthFirst
stores work still to do. depending on the underlying collection type, the behaviour of the repeat step changes
stores work still to do. depending on the underlying collection type, the behaviour of the repeat step changes
Value members
Concrete methods
- See also:
Traversal.repeat for a detailed overview Implementation note: using recursion results in nicer code, but uses the JVM stack, which only has enough space for ~10k steps. So instead, this uses a programmatic Stack which is semantically identical. The RepeatTraversalTests cover this case.