|
Orbital library | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorbital.algorithm.template.GeneralSearch
orbital.algorithm.template.BestFirstSearch
public abstract class BestFirstSearch
BestFirstSearch class (BFS). An heuristic search algorithm.
Expands best nodes first, i.e. those that have min f(n).
Implementation data structure is a Heap.
Greedy,
Serialized Form| Nested Class Summary | |
|---|---|
static class |
BestFirstSearch.OptionIterator
An iterator over a state space in best-first order. |
| Nested classes/interfaces inherited from interface orbital.algorithm.template.EvaluativeAlgorithm |
|---|
EvaluativeAlgorithm.EvaluationComparator |
| Nested classes/interfaces inherited from interface orbital.algorithm.template.AlgorithmicTemplate |
|---|
AlgorithmicTemplate.Configuration |
| Constructor Summary | |
|---|---|
BestFirstSearch()
|
|
| Method Summary | |
|---|---|
protected java.util.Iterator |
createTraversal(GeneralSearchProblem problem)
Define a traversal order by creating an iterator for the problem's state space. |
| Methods inherited from class orbital.algorithm.template.GeneralSearch |
|---|
getProblem, isOptimal, search, solve, solveImpl |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface orbital.algorithm.template.EvaluativeAlgorithm |
|---|
getEvaluation |
| Methods inherited from interface orbital.algorithm.template.AlgorithmicTemplate |
|---|
complexity, solve, spaceComplexity |
| Constructor Detail |
|---|
public BestFirstSearch()
| Method Detail |
|---|
protected java.util.Iterator createTraversal(GeneralSearchProblem problem)
GeneralSearchLays a linear order through the state space which the search can simply follow sequentially. Thus a traversal policy effectively reduces a search problem through a graph to a search problem through a linear sequence of states. Of course, the mere notion of a traversal policy does not yet solve the task of finding a good order of states, but only encapsulate it. Complete search algorithms result from traversal policies that have a linear sequence through the whole state space.
createTraversal in class GeneralSearchproblem - the problem whose state space to create a traversal iterator for.
GeneralSearch.OptionIterator
|
Orbital library 1.2.0: 23 Apr 2008 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||