Module dev.civl.gmc

Class DporSearchStack.StackTraversal

java.lang.Object
dev.civl.gmc.dpor.DporSearchStack.StackTraversal
Enclosing class:
DporSearchStack<STATE,TRANSITION>

public class DporSearchStack.StackTraversal extends Object
A structure for efficiently traversing the interior entries of this stack in reverse order, skipping entries whose transition occur in a DporHbSet supplied to this object when constructed.

Adding races to the stack while traversing is permitted and such changes are reflected in the traversal.

  • Method Details

    • next

      Traverses to the next stack entry and returns it.
      Returns:
      the next stack entry, or null if there are no more entries to traverse.