SlideShare una empresa de Scribd logo
1 de 11
Algoritmos de Busca
Aline Marins Paes
Paula Fernanda M. V. de Carvalho
Métodos não informados de busca
 Não utilizam qualquer conhecimento
específico do problema para determinar
a prioridade com que os nós serão
expandidos, por isso são chamados de
busca cega
Busca em Largura
 Expande os nós do nível d antes dos
nós do nível d+1
 Encontra a solução ótima
 Complexidades de tempo e espaço
exponenciais
Busca de Custo Uniforme
 Expande nós de acordo com o custo
 Se (custo=profundidade do nó) temos
a Busca em Largura
Busca em Profundidade
 Expande os nós mais profundos
primeiro
 Pode não encontrar a solução
 Complexidade de tempo exponencial
 Complexidade de espaço polinomial
Busca em Profundidade Limitada
 Impõe uma profundidade máxima para
a expansão dos nós
 Encontra a solução se esta estiver em
uma profundidade menor ou igual ao
limite estabelecido
 Complexidade de tempo exponencial
 Complexidade de espaço polinomial
Busca em Profundidade Iterativa
 Aumenta o limite de profundidade a
cada iteração
 Encontra solução ótima
 Complexidade de tempo exponencial
 Complexidade de espaço polinomial
Métodos informados de busca
 Utilizam alguma informação específica
do problema para gerar um novo estado
 Função de avaliação que procura
estimar o número de passos para
chegar à solução
 A heurística utilizada foi a quantidade
de peças que estão fora do lugar em
relação ao estado final
Busca Gulosa
 Expande o nó que possui a melhor
avaliação heurística
 Pode não encontrar a solução
 Complexidades de tempo e espaço
exponenciais
Busca A*
 Expande o nó que possui a melhor
função de avaliação (soma do custo e
avaliação heurística)
 Encontra a solução ótima
 Complexidades de tempo e espaço
exponenciais
 Gera menos nós que os outros métodos
de busca ótimos
Resultados
Config. 1 Config. 2 Config. 3
BL 60 684 893
BCU 60 684 893
BP Erro Erro Erro
BPL, lim=10 81 89 360
BP 13 33 153
Gulosa 9 23 22
A* 13 27 29

Más contenido relacionado

Destacado

How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024Albert Qian
 
Social Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie InsightsSocial Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie InsightsKurio // The Social Media Age(ncy)
 
Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024Search Engine Journal
 
5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summarySpeakerHub
 
ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd Clark Boyd
 
Getting into the tech field. what next
Getting into the tech field. what next Getting into the tech field. what next
Getting into the tech field. what next Tessa Mero
 
Google's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search IntentGoogle's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search IntentLily Ray
 
Time Management & Productivity - Best Practices
Time Management & Productivity -  Best PracticesTime Management & Productivity -  Best Practices
Time Management & Productivity - Best PracticesVit Horky
 
The six step guide to practical project management
The six step guide to practical project managementThe six step guide to practical project management
The six step guide to practical project managementMindGenius
 
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...RachelPearson36
 
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...Applitools
 
12 Ways to Increase Your Influence at Work
12 Ways to Increase Your Influence at Work12 Ways to Increase Your Influence at Work
12 Ways to Increase Your Influence at WorkGetSmarter
 
Ride the Storm: Navigating Through Unstable Periods / Katerina Rudko (Belka G...
Ride the Storm: Navigating Through Unstable Periods / Katerina Rudko (Belka G...Ride the Storm: Navigating Through Unstable Periods / Katerina Rudko (Belka G...
Ride the Storm: Navigating Through Unstable Periods / Katerina Rudko (Belka G...DevGAMM Conference
 
Barbie - Brand Strategy Presentation
Barbie - Brand Strategy PresentationBarbie - Brand Strategy Presentation
Barbie - Brand Strategy PresentationErica Santiago
 
Good Stuff Happens in 1:1 Meetings: Why you need them and how to do them well
Good Stuff Happens in 1:1 Meetings: Why you need them and how to do them wellGood Stuff Happens in 1:1 Meetings: Why you need them and how to do them well
Good Stuff Happens in 1:1 Meetings: Why you need them and how to do them wellSaba Software
 
Introduction to C Programming Language
Introduction to C Programming LanguageIntroduction to C Programming Language
Introduction to C Programming LanguageSimplilearn
 

Destacado (20)

How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024
 
Social Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie InsightsSocial Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie Insights
 
Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024
 
5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary
 
ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd
 
Getting into the tech field. what next
Getting into the tech field. what next Getting into the tech field. what next
Getting into the tech field. what next
 
Google's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search IntentGoogle's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search Intent
 
How to have difficult conversations
How to have difficult conversations How to have difficult conversations
How to have difficult conversations
 
Introduction to Data Science
Introduction to Data ScienceIntroduction to Data Science
Introduction to Data Science
 
Time Management & Productivity - Best Practices
Time Management & Productivity -  Best PracticesTime Management & Productivity -  Best Practices
Time Management & Productivity - Best Practices
 
The six step guide to practical project management
The six step guide to practical project managementThe six step guide to practical project management
The six step guide to practical project management
 
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
 
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...
 
12 Ways to Increase Your Influence at Work
12 Ways to Increase Your Influence at Work12 Ways to Increase Your Influence at Work
12 Ways to Increase Your Influence at Work
 
ChatGPT webinar slides
ChatGPT webinar slidesChatGPT webinar slides
ChatGPT webinar slides
 
More than Just Lines on a Map: Best Practices for U.S Bike Routes
More than Just Lines on a Map: Best Practices for U.S Bike RoutesMore than Just Lines on a Map: Best Practices for U.S Bike Routes
More than Just Lines on a Map: Best Practices for U.S Bike Routes
 
Ride the Storm: Navigating Through Unstable Periods / Katerina Rudko (Belka G...
Ride the Storm: Navigating Through Unstable Periods / Katerina Rudko (Belka G...Ride the Storm: Navigating Through Unstable Periods / Katerina Rudko (Belka G...
Ride the Storm: Navigating Through Unstable Periods / Katerina Rudko (Belka G...
 
Barbie - Brand Strategy Presentation
Barbie - Brand Strategy PresentationBarbie - Brand Strategy Presentation
Barbie - Brand Strategy Presentation
 
Good Stuff Happens in 1:1 Meetings: Why you need them and how to do them well
Good Stuff Happens in 1:1 Meetings: Why you need them and how to do them wellGood Stuff Happens in 1:1 Meetings: Why you need them and how to do them well
Good Stuff Happens in 1:1 Meetings: Why you need them and how to do them well
 
Introduction to C Programming Language
Introduction to C Programming LanguageIntroduction to C Programming Language
Introduction to C Programming Language
 

Algoritmos _de_Busca_conceitos_e_aplicações.ppt

  • 1. Algoritmos de Busca Aline Marins Paes Paula Fernanda M. V. de Carvalho
  • 2. Métodos não informados de busca  Não utilizam qualquer conhecimento específico do problema para determinar a prioridade com que os nós serão expandidos, por isso são chamados de busca cega
  • 3. Busca em Largura  Expande os nós do nível d antes dos nós do nível d+1  Encontra a solução ótima  Complexidades de tempo e espaço exponenciais
  • 4. Busca de Custo Uniforme  Expande nós de acordo com o custo  Se (custo=profundidade do nó) temos a Busca em Largura
  • 5. Busca em Profundidade  Expande os nós mais profundos primeiro  Pode não encontrar a solução  Complexidade de tempo exponencial  Complexidade de espaço polinomial
  • 6. Busca em Profundidade Limitada  Impõe uma profundidade máxima para a expansão dos nós  Encontra a solução se esta estiver em uma profundidade menor ou igual ao limite estabelecido  Complexidade de tempo exponencial  Complexidade de espaço polinomial
  • 7. Busca em Profundidade Iterativa  Aumenta o limite de profundidade a cada iteração  Encontra solução ótima  Complexidade de tempo exponencial  Complexidade de espaço polinomial
  • 8. Métodos informados de busca  Utilizam alguma informação específica do problema para gerar um novo estado  Função de avaliação que procura estimar o número de passos para chegar à solução  A heurística utilizada foi a quantidade de peças que estão fora do lugar em relação ao estado final
  • 9. Busca Gulosa  Expande o nó que possui a melhor avaliação heurística  Pode não encontrar a solução  Complexidades de tempo e espaço exponenciais
  • 10. Busca A*  Expande o nó que possui a melhor função de avaliação (soma do custo e avaliação heurística)  Encontra a solução ótima  Complexidades de tempo e espaço exponenciais  Gera menos nós que os outros métodos de busca ótimos
  • 11. Resultados Config. 1 Config. 2 Config. 3 BL 60 684 893 BCU 60 684 893 BP Erro Erro Erro BPL, lim=10 81 89 360 BP 13 33 153 Gulosa 9 23 22 A* 13 27 29