java.lang.Object
dev.civl.gmc.concurrent.StackEntry<STATE,TRANSITION>
- All Implemented Interfaces:
Iterator<TRANSITION>
The stack entry that is going to be pushed onto the stack during the search.
The stack entry also serves as the iterator of the ample set or ample set
complement of the source
state.-
Constructor Summary
ConstructorsConstructorDescriptionStackEntry(ConcurrentNode<STATE> node, Collection<TRANSITION> transitions, boolean full) -
Method Summary
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface java.util.Iterator
forEachRemaining, remove
-
Constructor Details
-
StackEntry
- Parameters:
node- The node that wraps the source state.transitions- The ample set or ample set complement of the source state.full- Whether the collection is ample set complement or not.
-
-
Method Details
-
peek
- Returns:
- the current transition but not move the
transitionIterator.
-
next
-
getTid
public int getTid() -
isFull
public boolean isFull() -
setFull
public void setFull(boolean full) -
getNode
-
getTransitionIterator
-
source
-
hasNext
public boolean hasNext() -
getState
-
getMinimumSuccessorStackIndex
public int getMinimumSuccessorStackIndex() -
setMinimumSuccessorStackIndex
public void setMinimumSuccessorStackIndex(int minimumSuccessorStackIndex) -
getTransitions
-
getExpand
public boolean getExpand() -
setExpand
public void setExpand(boolean expand) -
getChildrenThreadsCounter
-
incrementCounter
public void incrementCounter()
-