|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcc.mallet.util.search.SearchNode.NextNodeIterator
public class SearchNode.NextNodeIterator
This iterator generates search nodes that refer to the states reachable from the state pertaining to a this search node.
| Constructor Summary | |
|---|---|
protected |
SearchNode.NextNodeIterator()
|
| Method Summary | |
|---|---|
double |
cost()
The cost associated to the transition from the previous state to this state. |
protected SearchState.NextStateIterator |
getStateIter()
|
boolean |
hasNext()
|
java.lang.Object |
next()
|
SearchNode |
nextNode()
The search tree node for the next state reached from the current state. |
void |
remove()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
protected SearchNode.NextNodeIterator()
| Method Detail |
|---|
public boolean hasNext()
hasNext in interface java.util.Iteratorpublic java.lang.Object next()
next in interface java.util.Iteratorpublic SearchNode nextNode()
public double cost()
public void remove()
remove in interface java.util.Iteratorprotected SearchState.NextStateIterator getStateIter()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||