Skip to main content Accessibility help
×
Hostname: page-component-586b7cd67f-tf8b9 Total loading time: 0 Render date: 2024-11-22T13:59:36.401Z Has data issue: false hasContentIssue false

4 - Heuristic Search

Published online by Cambridge University Press:  30 April 2024

Deepak Khemani
Affiliation:
IIT Madras, Chennai
Get access

Summary

Having introduced the machinery needed for search in the last chapter, we look at approaches to informed search. The algorithms introduced in the last chapter were blind, or uninformed, taking no cognizance at all of the actual problem instance to be solved and behaving in the same bureaucratic manner wherever the goal might be. In this chapter we introduce the idea of heuristic search, which uses domain specific knowledge to guide exploration. This is done by devising a heuristic function that estimates the distance to the goal for each candidate in OPEN.

When heuristic functions are not very accurate, search complexity is still exponential, as revealed by experiments. We then investigate local search methods that do not maintain an OPEN list, and study gradient based methods to optimize the heuristic value.

Knowledge is necessary for intelligence. Without knowledge, problem solving with search is blind. We saw this in the last chapter. In general, knowledge is that sword in the armoury of a problem solver that can cut through the complexity. Knowledge accrues over time, either distilled from our own experiences or assimilated from interaction with others – parents, teachers, authors, coaches, and friends. Knowledge is the outcome of learning and exists in diverse forms, varying from tacit to explicit. When we learn to ride a bicycle, we know it but are unable to articulate our knowledge. We are concerned with explicit knowledge. Most textbook knowledge is explicit, for example, knowing how to implement a leftist heap data structure.

In a well known incident from ancient Greece, it is said that Archimedes, considered by many to be the greatest scientist of the third century BC, ran naked onto the streets of Syracuse. King Hieron II was suspicious that a goldsmith had cheated him by adulterating a bar of gold given to him for making a crown. He asked Archimedes to investigate without damaging the crown. Stepping into his bathtub Archimedes noticed the water spilling out, and realized in a flash that if the gold were to be adulterated with silver, then it would displace more water since silver was less dense. This was his epiphany moment when he discovered what we now know as the Archimedes principle. And he ran onto the streets shouting ‘Eureka, eureka!’ We now call such an enlightening moment a Eureka moment!

Type
Chapter
Information
Publisher: Cambridge University Press
Print publication year: 2024

Access options

Get access to the full version of this content by using one of the access options below. (Log in options will check for institutional or personal access. Content may require purchase if you do not have access.)

Save book to Kindle

To save this book to your Kindle, first ensure [email protected] is added to your Approved Personal Document E-mail List under your Personal Document Settings on the Manage Your Content and Devices page of your Amazon account. Then enter the ‘name’ part of your Kindle email address below. Find out more about saving to your Kindle.

Note you can select to save to either the @free.kindle.com or @kindle.com variations. ‘@free.kindle.com’ emails are free but can only be saved to your device when it is connected to wi-fi. ‘@kindle.com’ emails can be delivered even when you are not connected to wi-fi, but note that service fees apply.

Find out more about the Kindle Personal Document Service.

  • Heuristic Search
  • Deepak Khemani, IIT Madras, Chennai
  • Book: Search Methods in Artificial Intelligence
  • Online publication: 30 April 2024
  • Chapter DOI: https://doi.org/10.1017/9781009284325.005
Available formats
×

Save book to Dropbox

To save content items to your account, please confirm that you agree to abide by our usage policies. If this is the first time you use this feature, you will be asked to authorise Cambridge Core to connect with your account. Find out more about saving content to Dropbox.

  • Heuristic Search
  • Deepak Khemani, IIT Madras, Chennai
  • Book: Search Methods in Artificial Intelligence
  • Online publication: 30 April 2024
  • Chapter DOI: https://doi.org/10.1017/9781009284325.005
Available formats
×

Save book to Google Drive

To save content items to your account, please confirm that you agree to abide by our usage policies. If this is the first time you use this feature, you will be asked to authorise Cambridge Core to connect with your account. Find out more about saving content to Google Drive.

  • Heuristic Search
  • Deepak Khemani, IIT Madras, Chennai
  • Book: Search Methods in Artificial Intelligence
  • Online publication: 30 April 2024
  • Chapter DOI: https://doi.org/10.1017/9781009284325.005
Available formats
×