Traditional Culture Encyclopedia - Traditional culture - A New Heuristic Algorithm
A New Heuristic Algorithm
The cost of solving some problems is usually assessable, and the cost of solving the whole problem is usually reasonable. For example, for a jigsaw puzzle of 10, the cost of solving the problem should be similar to the cost of moving the square of 1 to 5 back to the correct position. Usually the problem solver will first set up a pattern database to store the cost of some problems to evaluate the problems. Solving the problem that is easy to approximate can usually be used to evaluate the original problem reasonably. For example, the Manhattan distance is a simple version of the n-puzzle problem, because we assume that we can move a square to the position we want independently, and we don't consider moving to other squares for the time being. Give us a set of reasonable heuristic functions h 1(n), h2(n), ..., hi(n), and the function H (n) = Max {H 1 (n), H2 (n), ..., Hi (n)} can predict these functions. A program, prolim r, written by A.E. Prieditis in 1993, uses these technologies and can automatically generate a heuristic algorithm for the problem. The heuristic algorithm generated by proquir for 8-puzzle is better than any previous one! It also found the first useful heuristic program to solve the magic square.
- Previous article:Where can I see the rules of Taobao food store?
- Next article:Hong kong time-honored tea restaurant hong kong time-honored tea house
- Related articles
- Scraping Gua Sha 800 words
- Some customs about Thailand ```Please advise!
- Can you wash off colorful red and black tattoos. Will there be scars. How do you do it? How much does it cost to get a tattoo the size of a palm?
- What are the leading stocks in China's manufacturing industry?
- What are the failure cases of "hunger marketing"?
- What traditional art activities are there in Zhangzhou?
- What is yellow rice wine and where can I buy it?
- What are the methods of classroom teaching evaluation
- Who can translate this article from Chinese into English?
- What are the characteristics of China's animation?