Session - 3 CO1-Introduction To Heuristic Search
Session - 3 CO1-Introduction To Heuristic Search
INTELLIGENCE
&
MACHINE LEARNING
SESSION NO: 3
TOPIC: INFORMED SEARCH-INTRODUCTION TO HEURISTIC SEARCH
LIMITATIONS OF UNINFORMED SEARCH
• Search Space Size makes search tedious
• Combinatorial Explosion
• All of the search methods in the preceding section are uninformed in that they
did not take into account the cost incurred to reach the goal.
• They do not use any information about where they are trying to get to unless
they happen to stumble on a goal.
• A heuristic is a method that improves the efficiency of the search process.
• To find a solution in proper time rather than a complete solution in unlimited
time we use heuristics.
• These heuristic search methods use heuristic functions to evaluate the next
state towards the goal state
• A heuristic function h(n), takes a node n and returns a non-negative real
number that is an estimate of the cost of the least-cost path from node n to a
goal node.
5
HEURISTIC SEARCH
Implementation:
Order the nodes in frontier by increasing estimated cost.
Evaluation function is an estimate of node quality
Þ More accurate name for “best first” search would be “seemingly best-first search”
Heuristic:
Definition: a commonsense rule (or set of rules) intended to increase the probability of solving some problem
Same linguistic root as “Eureka” = “I have found it”
“using rules of thumb to find answers”
• 1. Russel and Norvig, ‘Artificial Intelligence’, third edition, Pearson Education, PHI, (2015)
• 2. Elaine Rich & Kevin Knight, ‘Artificial Intelligence’, 3nd Edition, Tata Mc Graw Hill Edition,
Reprint( 2008)
1. https://www.virtusa.com/digital-themes/heuristic-search-techniques
2. https://towardsdatascience.com/a-star-a-search-algorithm-eb495fb156bb
3. https://www.tutorialandexample.com/local-search-algorithms-and-optimization-problem/
4. http://cgi.di.uoa.gr/~ys02/siteAI2008/local-search-2spp.pdf
5. http://aima.eecs.berkeley.edu/slides-pdf/chapter04b.pdf
12