SlideShare a Scribd company logo
2
Most read
3
Most read
4
Most read
LOCAL search ALGORITHMS
13
Hill-climbing search
Simulated Annealing
Local Search Algorithms
Local search algorithms operate using a single current node and generally move only to
neighbours of that node.
Local search method keeps small number of nodes in memory . They are suitable for
problems where the solution is the goal state itself and not the path.
In addition to finding goals, local search algorithms are useful for solving pure optimization
problems, in which the aim is to find the best state according to an objective function.
Hill-climbing and simulated annealing are examples of local search algorithms.
Subscribe
 Hill climbing algorithm is a local search
algorithm which continuously moves in
the direction of increasing elevation/value
to find the peak of the mountain or best
solution to the problem. It terminates
when it reaches a peak value where no
neighbor has a higher value.
 Hill climbing is sometimes called greedy
local search because it grabs a good
neighbor state- without thinking ahead
about where to go next.
Subscribe
Hill-climbing search
Limitations:
Hill climbing cannot reach the optimal/best state(global maximum) if
it enters any of the following regions :
• A local maximum is a peak that is higher than
each of its neighbouring states but lower than
the global maximum.
Local
• A plateau is a flat area of the state-space
landscape. It can be a flat local maximum, from
which no uphill exit exists, or a shoulder, from
which progress is possible.
Plateaus
• A Ridge is an area which is higher than
surrounding states, but it can not be reached
in a single move.
Ridges
Subscribe
Subscribe
A Ridges is shown in figure result in a sequence of local
maxima that is very difficult for greedy algorithm to
navigate.
Variations of Hill Climbing
 In Steepest Ascent hill climbing all
successors are compared and the
closest to the solution is chosen.
Steepest ascent hill climbing is like
best-first search, which tries all
possible extensions of the current
path instead of only one.
 It gives optimal solution but time
consuming.
 Also known as Gradient search.
Subscribe
Current node
Successor node
Jump
Local
Maxima
Global
Maxima
Simulated
Annealing
 Annealing is the process used to temper or
harden metals and glass by heating them to a
high temperature and then gradually cooling
them, thus allowing the material to reach a low
energy crystalline state.
 The simulated annealing algorithm is quite
similar to hill-climbing. Instead of picking the
best move, however, it picks a random move.
If the move improves the situation , it is always
accepted. Otherwise the algorithm accepts the
move with some probability less than 1.
 Checks all the neighbors.
 Moves to worst state may be accepted.
Subscribe
Thanks For
Watching
Next Topic: Genetic algorithms
Reference:
Artificial Intelligence
A Modern Approach Third Edition
Peter Norvig and Stuart J. Russell
Subscribe
Like
Share
OMega TechEd
About the Channel
This channel helps you to prepare for BSc IT and BSc computer science subjects.
In this channel we will learn Business Intelligence ,Artificial Intelligence, Digital Electronics,
Internet OF Things Python programming , Data-Structure etc.
Which is useful for upcoming university exams.
Gmail: omega.teched@gmail.com
Social Media Handles:
omega.teched
megha_with
Subscribe

More Related Content

PPT
Hill climbing
PPTX
Statistics "Descriptive & Inferential"
PDF
Wearable technologies
PPTX
Process synchronization
PPTX
AI: AI & Problem Solving
PPTX
Decision making under uncertainty
PDF
Collaboration diagram- UML diagram
PPTX
Evolutionary Algorithms
Hill climbing
Statistics "Descriptive & Inferential"
Wearable technologies
Process synchronization
AI: AI & Problem Solving
Decision making under uncertainty
Collaboration diagram- UML diagram
Evolutionary Algorithms

What's hot (20)

PPTX
Knowledge representation in AI
PPTX
Artificial Intelligence Searching Techniques
PPTX
AI: Learning in AI
PDF
AI 7 | Constraint Satisfaction Problem
PPTX
Decision properties of reular languages
PPTX
search strategies in artificial intelligence
PPTX
Local search algorithms
PPT
AI Lecture 4 (informed search and exploration)
PPTX
AI: Logic in AI
PPT
Planning
PPTX
The structure of agents
PPTX
Informed search algorithms.pptx
PPTX
Decision Trees
PPTX
Problem solving agents
PPTX
MACHINE LEARNING - GENETIC ALGORITHM
PDF
Production System in AI
PPTX
AI_Session 11: searching with Non-Deterministic Actions and partial observati...
PDF
Artificial Intelligence Notes Unit 2
PPTX
State space search
PDF
Intelligent Agent PPT ON SLIDESHARE IN ARTIFICIAL INTELLIGENCE
Knowledge representation in AI
Artificial Intelligence Searching Techniques
AI: Learning in AI
AI 7 | Constraint Satisfaction Problem
Decision properties of reular languages
search strategies in artificial intelligence
Local search algorithms
AI Lecture 4 (informed search and exploration)
AI: Logic in AI
Planning
The structure of agents
Informed search algorithms.pptx
Decision Trees
Problem solving agents
MACHINE LEARNING - GENETIC ALGORITHM
Production System in AI
AI_Session 11: searching with Non-Deterministic Actions and partial observati...
Artificial Intelligence Notes Unit 2
State space search
Intelligent Agent PPT ON SLIDESHARE IN ARTIFICIAL INTELLIGENCE
Ad

Similar to Local search algorithm (20)

PPTX
Searching Algorithms AI and Machine Learning
PPTX
Hill Climbing.pptx
PDF
Hill climbing algorithm in artificial intelligence
PDF
8.-Hill-Climbing-Algorithm in Artificial.pdf
PPTX
AI_ppt.pptx
PDF
I. Hill climbing algorithm II. Steepest hill climbing algorithm
PPTX
UNIT 2 HILLclimbling 19geyebshshsb .pptx
PPT
Problem Solving by Searching and Optimization
PPT
Simulated annealing presentation
PPTX
Lec 6 bsc csit
PPTX
SEARCH ALGORITHMS IN Artificial Intelligence.pptx
PPTX
AI3391 Session 11 Hill climbing algorithm.pptx
PPTX
Traveling salesman problem
PDF
Artificial Intelligence - Hill climbing.
PPT
local-search and optimization slides.ppt
PPT
local-search algorithms in Artificial intelligence .ppt
PPT
SimulatedAnnealing.ppt
PPTX
Hill climbing algorithm
PPTX
22PCOAM11 Session 5 Hill climbing algorithm.pptx
PPTX
AI_Session 9 Hill climbing algorithm.pptx
Searching Algorithms AI and Machine Learning
Hill Climbing.pptx
Hill climbing algorithm in artificial intelligence
8.-Hill-Climbing-Algorithm in Artificial.pdf
AI_ppt.pptx
I. Hill climbing algorithm II. Steepest hill climbing algorithm
UNIT 2 HILLclimbling 19geyebshshsb .pptx
Problem Solving by Searching and Optimization
Simulated annealing presentation
Lec 6 bsc csit
SEARCH ALGORITHMS IN Artificial Intelligence.pptx
AI3391 Session 11 Hill climbing algorithm.pptx
Traveling salesman problem
Artificial Intelligence - Hill climbing.
local-search and optimization slides.ppt
local-search algorithms in Artificial intelligence .ppt
SimulatedAnnealing.ppt
Hill climbing algorithm
22PCOAM11 Session 5 Hill climbing algorithm.pptx
AI_Session 9 Hill climbing algorithm.pptx
Ad

More from Megha Sharma (20)

PPTX
Designing Printed Circuit boards, Software Choices, The Design Process
PPTX
Manufacturing PCB, Etching board, milling board, Third party manufacturing, a...
PPTX
Business Model, make thing, sell thing, subscription, customization, Key Reso...
PPTX
Funding an IOT startup, Venture Capital, Government funding, Crowdfunding, Le...
PPTX
Sketch, Iterate and Explore, Nondigital Methods.
PPTX
CNC Milling, Software, Repurposing and Recycling.
PPTX
3D printing, Types of 3D printing: FDM, Laser Sintering, Powder bed, LOM, DLP.
PPTX
Laser Cutting, Choosing a laser cutter, Software, Hinges and joints.
PPTX
Memory management, Types of memory, Making the most of your RAM.
PPTX
Performance and Battery Life, Libraries, Debugging.
PPTX
Prototyping Embedded Devices: Arduino, Developing on the Arduino.
PPTX
Raspberry-Pi, Developing on Raspberry Pi, Difference between Arduino & Raspbe...
PPTX
Open Source versus Closed Source in IOT in IOT
PPTX
Why closed? Why Open? Mixing open and closed source
PPTX
Model Performance Metrics. Accuracy, Precision, Recall
PPTX
Graceful Degradation and Affordance in IOT
PPTX
Web thinking connected device, Small Pieces Loosely joined.
PPTX
Production & Mass Personalization, Changing Embedded Platform, Physical proto...
PPTX
Whose data is it anyways? Public vs Private data collection.
PPTX
Thinking about Prototyping: Sketching, Familiarity, Cost versus Ease of proto...
Designing Printed Circuit boards, Software Choices, The Design Process
Manufacturing PCB, Etching board, milling board, Third party manufacturing, a...
Business Model, make thing, sell thing, subscription, customization, Key Reso...
Funding an IOT startup, Venture Capital, Government funding, Crowdfunding, Le...
Sketch, Iterate and Explore, Nondigital Methods.
CNC Milling, Software, Repurposing and Recycling.
3D printing, Types of 3D printing: FDM, Laser Sintering, Powder bed, LOM, DLP.
Laser Cutting, Choosing a laser cutter, Software, Hinges and joints.
Memory management, Types of memory, Making the most of your RAM.
Performance and Battery Life, Libraries, Debugging.
Prototyping Embedded Devices: Arduino, Developing on the Arduino.
Raspberry-Pi, Developing on Raspberry Pi, Difference between Arduino & Raspbe...
Open Source versus Closed Source in IOT in IOT
Why closed? Why Open? Mixing open and closed source
Model Performance Metrics. Accuracy, Precision, Recall
Graceful Degradation and Affordance in IOT
Web thinking connected device, Small Pieces Loosely joined.
Production & Mass Personalization, Changing Embedded Platform, Physical proto...
Whose data is it anyways? Public vs Private data collection.
Thinking about Prototyping: Sketching, Familiarity, Cost versus Ease of proto...

Recently uploaded (20)

PDF
Business Ethics Teaching Materials for college
PDF
ANTIBIOTICS.pptx.pdf………………… xxxxxxxxxxxxx
PDF
Mark Klimek Lecture Notes_240423 revision books _173037.pdf
PDF
Complications of Minimal Access Surgery at WLH
PPTX
PPH.pptx obstetrics and gynecology in nursing
PPTX
master seminar digital applications in india
PDF
Insiders guide to clinical Medicine.pdf
PPTX
human mycosis Human fungal infections are called human mycosis..pptx
PPTX
Renaissance Architecture: A Journey from Faith to Humanism
PDF
Abdominal Access Techniques with Prof. Dr. R K Mishra
PDF
Origin of periodic table-Mendeleev’s Periodic-Modern Periodic table
PPTX
IMMUNITY IMMUNITY refers to protection against infection, and the immune syst...
PPTX
Pharmacology of Heart Failure /Pharmacotherapy of CHF
PPTX
Introduction_to_Human_Anatomy_and_Physiology_for_B.Pharm.pptx
PPTX
Microbial diseases, their pathogenesis and prophylaxis
PDF
Supply Chain Operations Speaking Notes -ICLT Program
PDF
STATICS OF THE RIGID BODIES Hibbelers.pdf
PDF
VCE English Exam - Section C Student Revision Booklet
PDF
RMMM.pdf make it easy to upload and study
PPTX
The Healthy Child – Unit II | Child Health Nursing I | B.Sc Nursing 5th Semester
Business Ethics Teaching Materials for college
ANTIBIOTICS.pptx.pdf………………… xxxxxxxxxxxxx
Mark Klimek Lecture Notes_240423 revision books _173037.pdf
Complications of Minimal Access Surgery at WLH
PPH.pptx obstetrics and gynecology in nursing
master seminar digital applications in india
Insiders guide to clinical Medicine.pdf
human mycosis Human fungal infections are called human mycosis..pptx
Renaissance Architecture: A Journey from Faith to Humanism
Abdominal Access Techniques with Prof. Dr. R K Mishra
Origin of periodic table-Mendeleev’s Periodic-Modern Periodic table
IMMUNITY IMMUNITY refers to protection against infection, and the immune syst...
Pharmacology of Heart Failure /Pharmacotherapy of CHF
Introduction_to_Human_Anatomy_and_Physiology_for_B.Pharm.pptx
Microbial diseases, their pathogenesis and prophylaxis
Supply Chain Operations Speaking Notes -ICLT Program
STATICS OF THE RIGID BODIES Hibbelers.pdf
VCE English Exam - Section C Student Revision Booklet
RMMM.pdf make it easy to upload and study
The Healthy Child – Unit II | Child Health Nursing I | B.Sc Nursing 5th Semester

Local search algorithm

  • 1. LOCAL search ALGORITHMS 13 Hill-climbing search Simulated Annealing
  • 2. Local Search Algorithms Local search algorithms operate using a single current node and generally move only to neighbours of that node. Local search method keeps small number of nodes in memory . They are suitable for problems where the solution is the goal state itself and not the path. In addition to finding goals, local search algorithms are useful for solving pure optimization problems, in which the aim is to find the best state according to an objective function. Hill-climbing and simulated annealing are examples of local search algorithms. Subscribe
  • 3.  Hill climbing algorithm is a local search algorithm which continuously moves in the direction of increasing elevation/value to find the peak of the mountain or best solution to the problem. It terminates when it reaches a peak value where no neighbor has a higher value.  Hill climbing is sometimes called greedy local search because it grabs a good neighbor state- without thinking ahead about where to go next. Subscribe Hill-climbing search
  • 4. Limitations: Hill climbing cannot reach the optimal/best state(global maximum) if it enters any of the following regions : • A local maximum is a peak that is higher than each of its neighbouring states but lower than the global maximum. Local • A plateau is a flat area of the state-space landscape. It can be a flat local maximum, from which no uphill exit exists, or a shoulder, from which progress is possible. Plateaus • A Ridge is an area which is higher than surrounding states, but it can not be reached in a single move. Ridges Subscribe
  • 5. Subscribe A Ridges is shown in figure result in a sequence of local maxima that is very difficult for greedy algorithm to navigate.
  • 6. Variations of Hill Climbing  In Steepest Ascent hill climbing all successors are compared and the closest to the solution is chosen. Steepest ascent hill climbing is like best-first search, which tries all possible extensions of the current path instead of only one.  It gives optimal solution but time consuming.  Also known as Gradient search. Subscribe Current node Successor node Jump Local Maxima Global Maxima
  • 7. Simulated Annealing  Annealing is the process used to temper or harden metals and glass by heating them to a high temperature and then gradually cooling them, thus allowing the material to reach a low energy crystalline state.  The simulated annealing algorithm is quite similar to hill-climbing. Instead of picking the best move, however, it picks a random move. If the move improves the situation , it is always accepted. Otherwise the algorithm accepts the move with some probability less than 1.  Checks all the neighbors.  Moves to worst state may be accepted. Subscribe
  • 8. Thanks For Watching Next Topic: Genetic algorithms Reference: Artificial Intelligence A Modern Approach Third Edition Peter Norvig and Stuart J. Russell Subscribe Like Share
  • 9. OMega TechEd About the Channel This channel helps you to prepare for BSc IT and BSc computer science subjects. In this channel we will learn Business Intelligence ,Artificial Intelligence, Digital Electronics, Internet OF Things Python programming , Data-Structure etc. Which is useful for upcoming university exams. Gmail: omega.teched@gmail.com Social Media Handles: omega.teched megha_with Subscribe