Goormaghtigh conjecture: Difference between revisions

From formulasearchengine
Jump to navigation Jump to search
Otherwise this is trivially false
 
+1980
Line 1: Line 1:
Golda is what's written on my birth certification although it is not the title on my beginning certificate. Invoicing is what I do. To perform domino is some thing I truly appreciate doing. Alaska is the only place I've been residing in but now I'm contemplating other options.<br><br>Feel free to surf to my web site psychic readers ([http://fashionlinked.com/index.php?do=/profile-13453/info/ fashionlinked.com])
In [[computer science]], specifically in [[algorithm]]s related to [[pathfinding]], a [[heuristic function]] is said to be '''admissible''' if it never overestimates the cost of reaching the goal, i.e. the cost it estimates to reach the goal is not higher than the lowest possible cost from the current point in the path.<ref>{{cite book
| author = Russell, S.J.
| coauthors = Norvig, P.
| year = 2002
| title = [[Artificial Intelligence: A Modern Approach]]
| publisher = Prentice Hall
| isbn = 0-13-790395-2
}}</ref> An admissible heuristic is also known as an '''optimistic heuristic'''.
 
== Search algorithms ==
An admissible heuristic is used to estimate the cost of reaching the
goal state in an [[informed search algorithm]]. In order for a heuristic
to be admissible to the search problem, the estimated cost must always
be lower than or equal to the actual cost of reaching the goal state.
The search algorithm uses the admissible heuristic to find an estimated
optimal path to the goal state from the current node.
For example, in [[A* search]] the evaluation function (where
<math>n</math> is the current node) is:
 
<math>f(n) = g(n) + h(n)</math>
 
where
:<math>f(n)</math> = the evaluation function.
:<math>g(n)</math> = the cost from the start node to the current node
:<math>h(n)</math> = estimated cost from current node to goal.
 
<math>h(n)</math> is calculated using the heuristic
function. With a non-admissible heuristic, the A* algorithm could
overlook the optimal solution to a search problem due to an
overestimation in <math>f(n)</math>.
 
==Formulation==
 
: <math>n</math> is a node
: <math>h</math> is a heuristic
: <math>h(n)</math> is cost indicated by <math>h</math> to reach a goal from <math>n</math>
: <math>C(n)</math> is the actual cost to reach a goal from n
 
: <math>h</math> is admissible if
 
:: <math>\forall n, h(n) \leq C(n)</math>
 
==Construction==
An admissible heuristic can be derived from a relaxed
version of the problem, or by information from pattern databases that store exact solutions to subproblems of the problem, or by using [[Inductive transfer|inductive learning]] methods.
 
==Examples==
Two different examples of admissible heuristics apply to the [[fifteen puzzle]] problem:
* [[Hamming distance]]
* [[Manhattan distance]]
 
The [[Hamming distance]] is the total number of misplaced tiles. It is clear that this heuristic is admissible since the total number of moves to order the tiles correctly is at least the number of misplaced tiles (each tile not in place must be moved at least once). The cost (number of moves) to the goal (an ordered puzzle) is at least the [[Hamming distance]] of the puzzle.
 
The Manhattan distance of a puzzle is defined as:
 
:<math>h(n)=\sum_{all tiles}distance(tile, correct position)</math>
 
The Manhattan distance is an admissible heuristic because every tile will have to be moved at least the amount of spots in between itself and its correct position. Consider the puzzle below:
{| class="wikitable"
|-
| 4<sub>3</sub>|| 6<sub>1</sub>|| 3<sub>0</sub>|| 8<sub>1</sub>
|-
| 7<sub>2</sub>|| 12<sub>3</sub>|| 9<sub>3</sub>|| 14<sub>4</sub>
|-
| 15<sub>3</sub>|| 13<sub>2</sub>|| 1<sub>4</sub>|| 5<sub>4</sub>
|-
| 2<sub>4</sub>|| 10<sub>1</sub>|| 11<sub>1</sub>||
|}
The subscripts show the Manhattan distance for each tile. The total Manhattan distance for the shown puzzle is:
:<math>h(n)=3+1+0+1+2+3+3+4+3+2+4+4+4+1+1=36</math>
 
==Notes==
While all [[consistent heuristic]]s are admissible, not all admissible heuristics are consistent.
 
For tree search problems, if an admissible heuristic is used, the [[A* search algorithm]] will never return a suboptimal goal node.
 
==References==
{{reflist}}
 
==See also==
* [[Heuristic function]]
* [[Search algorithm]]
 
[[Category:Heuristics]]
[[Category:Artificial intelligence]]

Revision as of 04:37, 19 November 2013

In computer science, specifically in algorithms related to pathfinding, a heuristic function is said to be admissible if it never overestimates the cost of reaching the goal, i.e. the cost it estimates to reach the goal is not higher than the lowest possible cost from the current point in the path.[1] An admissible heuristic is also known as an optimistic heuristic.

Search algorithms

An admissible heuristic is used to estimate the cost of reaching the goal state in an informed search algorithm. In order for a heuristic to be admissible to the search problem, the estimated cost must always be lower than or equal to the actual cost of reaching the goal state. The search algorithm uses the admissible heuristic to find an estimated optimal path to the goal state from the current node. For example, in A* search the evaluation function (where n is the current node) is:

f(n)=g(n)+h(n)

where

f(n) = the evaluation function.
g(n) = the cost from the start node to the current node
h(n) = estimated cost from current node to goal.

h(n) is calculated using the heuristic function. With a non-admissible heuristic, the A* algorithm could overlook the optimal solution to a search problem due to an overestimation in f(n).

Formulation

n is a node
h is a heuristic
h(n) is cost indicated by h to reach a goal from n
C(n) is the actual cost to reach a goal from n
h is admissible if
n,h(n)C(n)

Construction

An admissible heuristic can be derived from a relaxed version of the problem, or by information from pattern databases that store exact solutions to subproblems of the problem, or by using inductive learning methods.

Examples

Two different examples of admissible heuristics apply to the fifteen puzzle problem:

The Hamming distance is the total number of misplaced tiles. It is clear that this heuristic is admissible since the total number of moves to order the tiles correctly is at least the number of misplaced tiles (each tile not in place must be moved at least once). The cost (number of moves) to the goal (an ordered puzzle) is at least the Hamming distance of the puzzle.

The Manhattan distance of a puzzle is defined as:

h(n)=alltilesdistance(tile,correctposition)

The Manhattan distance is an admissible heuristic because every tile will have to be moved at least the amount of spots in between itself and its correct position. Consider the puzzle below:

43 61 30 81
72 123 93 144
153 132 14 54
24 101 111

The subscripts show the Manhattan distance for each tile. The total Manhattan distance for the shown puzzle is:

h(n)=3+1+0+1+2+3+3+4+3+2+4+4+4+1+1=36

Notes

While all consistent heuristics are admissible, not all admissible heuristics are consistent.

For tree search problems, if an admissible heuristic is used, the A* search algorithm will never return a suboptimal goal node.

References

43 year old Petroleum Engineer Harry from Deep River, usually spends time with hobbies and interests like renting movies, property developers in singapore new condominium and vehicle racing. Constantly enjoys going to destinations like Camino Real de Tierra Adentro.

See also

  1. 20 year-old Real Estate Agent Rusty from Saint-Paul, has hobbies and interests which includes monopoly, property developers in singapore and poker. Will soon undertake a contiki trip that may include going to the Lower Valley of the Omo.

    My blog: http://www.primaboinca.com/view_profile.php?userid=5889534