| Heuristic (computer Science) |
Article Index for Heuristic |
Shopping Heuristic |
Information AboutHeuristic (computer Science) |
|
HEURISTIC ALGORITHMS Two fundamental goals in computer science are finding and with provably good or Optimal Solution quality. A heuristic is an algorithm that gives up one or both of these goals; for example, it usually finds pretty good solutions, but there is no proof the solutions could not get arbitrarily bad; or it usually runs reasonably quickly, but there is no argument that this will always be the case. Often, one can find specially crafted problem instances where the heuristic will in fact produce very bad results or run very slowly; however, these instances might never occur in practice because of their special structure. Therefore, the use of heuristics is very common in real world implementations. HEURISTICS IN SHORTEST-PATH PROBLEMS
The classical problem involving heuristics is the N-puzzle . Commonly used heuristics for this problem include counting the number of misplaced tiles and finding the sum of the Manhattan Distance s between each block and its position in the goal configuration. Note that both are admissible. Effect of heuristics on computational performance In any searching problem where there are choices at each node and a depth of at the goal node, a naive searching algorithm would have to potentially search around nodes before finding a solution. Heuristics improve the efficiency of search algorithms by reducing the Branching Factor from to a lower constant , using a cutoff mechanism. The branching factor can be used for defining a Partial Order on the heuristics, such that if has a lower branch factor than for a given node of the search tree. Heuristics giving lower branching factors at every node in the search tree are preferred for the resolution of a particular problem, as they are more computationally efficient. Finding heuristics The problem of finding an admissible heuristic with a low branching factor for common search tasks has been extensively researched in the Artificial Intelligence community. Several common techniques are used:
Using these techniques a program called ABSOLVER was written (1993) by A.E. Prieditis for automatically generating heuristics for a given problem. ABSOLVER generated a new heuristic for the 8-puzzle better than any pre-existing heuristic and found the first useful heuristic for solving the Rubik's Cube . SEE ALSO |
|
|