Package cc.mallet.util.search
Class AStarNode.NextNodeIterator
- java.lang.Object
-
- cc.mallet.util.search.SearchNode.NextNodeIterator
-
- cc.mallet.util.search.AStarNode.NextNodeIterator
-
- All Implemented Interfaces:
java.util.Iterator
- Enclosing class:
- AStarNode
public class AStarNode.NextNodeIterator extends SearchNode.NextNodeIterator
Iterator over new A* search nodes generated by state transitions from this node's state.
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
NextNodeIterator()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description SearchNode
nextNode()
The search tree node for the next state reached from the current state.-
Methods inherited from class cc.mallet.util.search.SearchNode.NextNodeIterator
cost, getStateIter, hasNext, next, remove
-
-
-
-
Method Detail
-
nextNode
public SearchNode nextNode()
Description copied from class:SearchNode.NextNodeIterator
The search tree node for the next state reached from the current state.- Overrides:
nextNode
in classSearchNode.NextNodeIterator
- Returns:
- a new search tree node
-
-