|
Orbital library | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorbital.algorithm.template.GeneralSearch.OptionIterator
orbital.algorithm.template.BreadthFirstSearch.OptionIterator
public static class BreadthFirstSearch.OptionIterator
An iterator over a state space in breadth-first order.
| Constructor Summary | |
|---|---|
BreadthFirstSearch.OptionIterator(GeneralSearchProblem problem)
|
|
| Method Summary | |
|---|---|
protected boolean |
add(java.util.Iterator newNodes)
Concatenate the new nodes and the old nodes. |
protected boolean |
isEmpty()
Returns true if this iterator's collection of nodes currently does not contain any elements. |
protected java.lang.Object |
select()
Selects an option to visit from nodes. |
| Methods inherited from class orbital.algorithm.template.GeneralSearch.OptionIterator |
|---|
getProblem, hasNext, next, remove |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public BreadthFirstSearch.OptionIterator(GeneralSearchProblem problem)
| Method Detail |
|---|
protected boolean isEmpty()
GeneralSearch.OptionIteratortrue if this iterator's collection of nodes currently does not contain any elements.
isEmpty in class GeneralSearch.OptionIteratortrue if this collection contains no elements.protected java.lang.Object select()
GeneralSearch.OptionIterator
select in class GeneralSearch.OptionIteratorprotected boolean add(java.util.Iterator newNodes)
GeneralSearch.OptionIterator
add in class GeneralSearch.OptionIteratornewNodes - the new nodes we apparently became aware of. (Might be modified by this method).
|
Orbital library 1.3.0: 11 Apr 2009 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||