|
Orbital library | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface HeuristicAlgorithm
Interface for heuristic (search) algorithms.
Also called informed search algorithms or informed planning algorithms.
Nested Class Summary | |
---|---|
static class |
HeuristicAlgorithm.Configuration
Algorithmic configuration objects for heuristic algorithms. |
static class |
HeuristicAlgorithm.PatternDatabaseHeuristic
An heuristic function that uses a pattern database. |
Nested classes/interfaces inherited from interface orbital.algorithm.template.EvaluativeAlgorithm |
---|
EvaluativeAlgorithm.EvaluationComparator |
Method Summary | |
---|---|
Function |
getEvaluation()
Get the evaluation function used while processing.. |
Function |
getHeuristic()
Get the heuristic function used. |
void |
setHeuristic(Function heuristic)
Set the heuristic function to use. |
Methods inherited from interface orbital.algorithm.template.AlgorithmicTemplate |
---|
complexity, solve, spaceComplexity |
Method Detail |
---|
Function getHeuristic()
void setHeuristic(Function heuristic)
An heuristic cost function h:S→R is estimating the cost to get from a node n to a goal G. For several heuristic algorithms this heuristic function needs to be admissible
A heuristic cost function h is monotonic :⇔ the f-costs (with h) do not decrease in any path from the initial state ⇔ h obeys the triangular inequality
A simple improvement for heuristic functions is using pathmax.
heuristic
- the heuristic cost function h:S→R estimating h*.
h will be embedded in the evaluation function f
.Function getEvaluation()
Also called objective function.
.
The evaluation function f may depend upon an heuristic cost function
h:S→R
getEvaluation
in interface EvaluativeAlgorithm
|
Orbital library 1.3.0: 11 Apr 2009 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |