SlideShare una empresa de Scribd logo
1 de 10
Universidad Tecnológica Nacional - Facultad Regional Córdoba – Cátedra: INTELIGENCIA ARTIFICIAL
  ---------------------------------------------------------------------------------------------------------------------------------------------------


                                                        BÚSQUEDA



        Desarrollo de Software                                                             Inteligencia Artificial
                             =                                                                                 =
             Encontrar un dato                                              Encontrar un cierto camino recorrido

En INTELIGENCIA ARTIFICIAL el objetivo es encontrar el camino
                     de búsqueda.

                                                             ¿Por qué?
             Optimización                                                                         Planificación
                           Resolución de problemas                                 Juegos
                                                                                                                                         Ing. Nancy Páez
                                                                                                                                                JTP
Universidad Tecnológica Nacional - Facultad Regional Córdoba – Cátedra: INTELIGENCIA ARTIFICIAL
    ---------------------------------------------------------------------------------------------------------------------------------------------------




                         Características de los procesos de Búsqueda


 Cabe la posibilidad de asociar un conjunto de estados a las diferentes
situaciones en que se puede encontrar el objeto del dominio sobre el que se
define el problema.
 Hay una serie de estados iniciales desde los que empieza el proceso de
búsqueda.
 Existen ciertos operadores, tal que un operador aplicado sobre un estado
produce otro estado.
 Existe al menos un estado meta o estado solución.


ESPACIO DE ESTADOS: conjunto de estados que pueden obtenerse si se
aplicaran todos los operadores posibles a todos los estados que se fueran
generando.

                                                                                                                                               Ing. Nancy Páez
                                                                                                                                                      JTP
Universidad Tecnológica Nacional - Facultad Regional Córdoba – Cátedra: INTELIGENCIA ARTIFICIAL
        ---------------------------------------------------------------------------------------------------------------------------------------------------




        Representación y Estructura de los procesos de Búsqueda




                          ÁRBOL                                      GRAFO                                          RED
                              A       15
                                                                                    A
                                                                                                                                         A
                                                                                    5
                                                                                                                                         5

              9       B               C    8
                                                                       B            C         D
                                                                                                                            B            C          D
                                                                       9            7         5
                                                                                                                            9            7          5



    8     D               E       11           F   10      E                    H                  F
                                                                                                                E                    H                  F
                                                           4                    5                  5
                                                                                                                4                    5                  5


G                 H               I        J       K

7                 1               4        0       5




                                                                                                                                                   Ing. Nancy Páez
                                                                                                                                                            JTP
Universidad Tecnológica Nacional - Facultad Regional Córdoba – Cátedra: INTELIGENCIA ARTIFICIAL
    ---------------------------------------------------------------------------------------------------------------------------------------------------


                                      MÉTODOS DE BÚSQUEDA



NO INFORMADOS                                                                                       INFORMADOS

    Búsqueda Primero en Anchura (BPA)                                                                        Generación y Prueba

    Búsqueda Primero en Profundidad (BPA)                                                                    Escalada Simple

    Ramificación y acotación (BPP)                                                                           Escalada por la
                                                                                                             Máxima Pendiente

                                                                                                             Enfriamiento Simulado
                                                                                                             Búsqueda el Primero
                                                                                                             Mejor
                                                                                                             A*

                                                                                                                                            Ing. Nancy Páez
                                                                                                                                                   JTP
Universidad Tecnológica Nacional - Facultad Regional Córdoba – Cátedra: INTELIGENCIA ARTIFICIAL
       ---------------------------------------------------------------------------------------------------------------------------------------------------


                       BÚSQUEDA PRIMERO EN ANCHURA (BPA)


                                                                                                                                   A
1º Paso: Crear una Pila ( u otra estructura
dinámica)
                                                                                                                 D                 F                 G
2º Paso: Mientras la Pila no esté vacía, hacer:
3º Paso: Extraer el primer elemento de la Pila                                                     H             J             C              E

4º Paso: Generar nuevos estados derivados
del actual                                                                                     B                     K                 Z                 W

5º Paso: explorar si los nuevos nodos son
estado objetivo, si alguno lo es salir, en caso
                                                                                                                 L
contrario añadir nuevos nodos a la Pila y
volver a 3º.




                                                                                                                                                  Ing. Nancy Páez
                                                                                                                                                         JTP
Universidad Tecnológica Nacional - Facultad Regional Córdoba – Cátedra: INTELIGENCIA ARTIFICIAL
     ---------------------------------------------------------------------------------------------------------------------------------------------------


                 BÚSQUEDA PRIMERO EN PROFUNDIDAD (BPP)


                                                                                                                               A

Continúa por una sola rama del árbol
                                                                                                            D                  F                  G
hasta encontrar una solución o hasta que
se tome la             decisión de terminar la                                               H              J              C              E

búsqueda por esa dirección.
                                                                                         B                      K                  Z                  W




                                                                                                            L
Universidad Tecnológica Nacional - Facultad Regional Córdoba – Cátedra: INTELIGENCIA ARTIFICIAL
      ---------------------------------------------------------------------------------------------------------------------------------------------------


                 BÚSQUEDA RAMIFICACIÓN Y ACOTACIÓN (BPP)


• En lugar de generar todos los sucesores del estado actual, se genera un único
  sucesor en cada caso.
• La elección de un nodo a ser visitado no implica que sea sacado de la lista.


ABIERTA: A                                                                                                                        A
m=A
m´= D                                                                                                         D                   F                 G
ABIERTA: D,A
m=D
m´= H                                                                                          H              J               C              E

ABIERTA: H, D, A
m=H                                                                                        B                      K                   Z                 W
m´= B
ABIERTA: B, H, D, A
                                                                                                              L
                                  CAMINO: A, D, H, B
Universidad Tecnológica Nacional - Facultad Regional Córdoba – Cátedra: INTELIGENCIA ARTIFICIAL
   ---------------------------------------------------------------------------------------------------------------------------------------------------

                 VENTAJAS DE LOS MÉTODOS DE BÚSQUEDA
                           SIN INFORMACIÓN

MÉTODO PRIMERO EN ANCHURA:
• No queda atrapada explorando callejones sin salida.
• Si existe una solución, garantiza que se logre encontrarla.
• Si existen múltiples soluciones, se encuentra la solución mínima.


MÉTODO PRIMERO EN PROPUNDIDAD:

• Necesita menos memoria ya que sólo se almacenan los nodos
del camino que se sigue en ese instante.

• Si se tiene suerte este método, puede encontrar una solución
sin tener que examinar gran parte del espacio de estados.
Universidad Tecnológica Nacional - Facultad Regional Córdoba – Cátedra: INTELIGENCIA ARTIFICIAL
  ---------------------------------------------------------------------------------------------------------------------------------------------------


               MÉTODOS DE BÚSQUEDA CON INFORMACIÓN


Estos algoritmos resuelven problemas complicados con eficiencia, quizás
no dando la mejor solución, pero si encontrando una buena solución.

Heurística: es una técnica que aumenta la eficiencia de un proceso
de búsqueda                   posiblemente sacrificando                                  demandas de                        completitud.

Una Función Heurística: es una correspondencia entre las descripciones de
estados del problema hacia alguna medida de deseabilidad, generalmente
representada con números.

                              ¿Por qué es necesario su uso?

EVITA                                          DA UNA BUENA                                             PROFUNDIZA LA
ENREDOS                                        SOLUCIÓN                                                 COMPRENSIÓN
Universidad Tecnológica Nacional - Facultad Regional Córdoba – Cátedra: INTELIGENCIA ARTIFICIAL
      ---------------------------------------------------------------------------------------------------------------------------------------------------

                                                  EJEMPLO:
                                                                A8



                                             B2                 C8                 D6



                              E4                   F6                     G9                 H2               I9



            J5               K4                   L3                        M8                N0              O3               P6


ALGORITMO DE BÚSQUEDA EL PRIMERO MEJOR                                                                                    f (n) = h (n)

ALGORITMO DE BÚSQUEDA A *                                                                                                 f (n) = h (n) + g (n)


f (n) = función heurística
h (n) = estimación del costo del camino óptimo desde “ n “ a una meta.
g (n) = costo real del mejor camino encontrado en un determinado momento
       desde la raíz hasta “ n “.

Más contenido relacionado

Último

CONCURSO NACIONAL JOSE MARIA ARGUEDAS.pptx
CONCURSO NACIONAL JOSE MARIA ARGUEDAS.pptxCONCURSO NACIONAL JOSE MARIA ARGUEDAS.pptx
CONCURSO NACIONAL JOSE MARIA ARGUEDAS.pptxroberthirigoinvasque
 
PINTURA DEL RENACIMIENTO EN ESPAÑA (SIGLO XVI).ppt
PINTURA DEL RENACIMIENTO EN ESPAÑA (SIGLO XVI).pptPINTURA DEL RENACIMIENTO EN ESPAÑA (SIGLO XVI).ppt
PINTURA DEL RENACIMIENTO EN ESPAÑA (SIGLO XVI).pptAlberto Rubio
 
ACRÓNIMO DE PARÍS PARA SU OLIMPIADA 2024. Por JAVIER SOLIS NOYOLA
ACRÓNIMO DE PARÍS PARA SU OLIMPIADA 2024. Por JAVIER SOLIS NOYOLAACRÓNIMO DE PARÍS PARA SU OLIMPIADA 2024. Por JAVIER SOLIS NOYOLA
ACRÓNIMO DE PARÍS PARA SU OLIMPIADA 2024. Por JAVIER SOLIS NOYOLAJAVIER SOLIS NOYOLA
 
Tema 10. Dinámica y funciones de la Atmosfera 2024
Tema 10. Dinámica y funciones de la Atmosfera 2024Tema 10. Dinámica y funciones de la Atmosfera 2024
Tema 10. Dinámica y funciones de la Atmosfera 2024IES Vicent Andres Estelles
 
Desarrollo y Aplicación de la Administración por Valores
Desarrollo y Aplicación de la Administración por ValoresDesarrollo y Aplicación de la Administración por Valores
Desarrollo y Aplicación de la Administración por ValoresJonathanCovena1
 
Feliz Día de la Madre - 5 de Mayo, 2024.pdf
Feliz Día de la Madre - 5 de Mayo, 2024.pdfFeliz Día de la Madre - 5 de Mayo, 2024.pdf
Feliz Día de la Madre - 5 de Mayo, 2024.pdfMercedes Gonzalez
 
Linea del tiempo - Filosofos Cristianos.docx
Linea del tiempo - Filosofos Cristianos.docxLinea del tiempo - Filosofos Cristianos.docx
Linea del tiempo - Filosofos Cristianos.docxEnriqueLineros1
 
TEMA 14.DERIVACIONES ECONÓMICAS, SOCIALES Y POLÍTICAS DEL PROCESO DE INTEGRAC...
TEMA 14.DERIVACIONES ECONÓMICAS, SOCIALES Y POLÍTICAS DEL PROCESO DE INTEGRAC...TEMA 14.DERIVACIONES ECONÓMICAS, SOCIALES Y POLÍTICAS DEL PROCESO DE INTEGRAC...
TEMA 14.DERIVACIONES ECONÓMICAS, SOCIALES Y POLÍTICAS DEL PROCESO DE INTEGRAC...jlorentemartos
 
FUERZA Y MOVIMIENTO ciencias cuarto basico.ppt
FUERZA Y MOVIMIENTO ciencias cuarto basico.pptFUERZA Y MOVIMIENTO ciencias cuarto basico.ppt
FUERZA Y MOVIMIENTO ciencias cuarto basico.pptNancyMoreiraMora1
 
La Sostenibilidad Corporativa. Administración Ambiental
La Sostenibilidad Corporativa. Administración AmbientalLa Sostenibilidad Corporativa. Administración Ambiental
La Sostenibilidad Corporativa. Administración AmbientalJonathanCovena1
 
Tema 19. Inmunología y el sistema inmunitario 2024
Tema 19. Inmunología y el sistema inmunitario 2024Tema 19. Inmunología y el sistema inmunitario 2024
Tema 19. Inmunología y el sistema inmunitario 2024IES Vicent Andres Estelles
 
Prueba de evaluación Geografía e Historia Comunidad de Madrid 2º de la ESO
Prueba de evaluación Geografía e Historia Comunidad de Madrid 2º de la ESOPrueba de evaluación Geografía e Historia Comunidad de Madrid 2º de la ESO
Prueba de evaluación Geografía e Historia Comunidad de Madrid 2º de la ESOluismii249
 
AEC 2. Aventura en el Antiguo Egipto.pptx
AEC 2. Aventura en el Antiguo Egipto.pptxAEC 2. Aventura en el Antiguo Egipto.pptx
AEC 2. Aventura en el Antiguo Egipto.pptxhenarfdez
 
RESOLUCIÓN VICEMINISTERIAL 00048 - 2024 EVALUACION
RESOLUCIÓN VICEMINISTERIAL 00048 - 2024 EVALUACIONRESOLUCIÓN VICEMINISTERIAL 00048 - 2024 EVALUACION
RESOLUCIÓN VICEMINISTERIAL 00048 - 2024 EVALUACIONamelia poma
 
activ4-bloque4 transversal doctorado.pdf
activ4-bloque4 transversal doctorado.pdfactiv4-bloque4 transversal doctorado.pdf
activ4-bloque4 transversal doctorado.pdfRosabel UA
 
Proyecto de aprendizaje dia de la madre MINT.pdf
Proyecto de aprendizaje dia de la madre MINT.pdfProyecto de aprendizaje dia de la madre MINT.pdf
Proyecto de aprendizaje dia de la madre MINT.pdfpatriciaines1993
 
Revista Apuntes de Historia. Mayo 2024.pdf
Revista Apuntes de Historia. Mayo 2024.pdfRevista Apuntes de Historia. Mayo 2024.pdf
Revista Apuntes de Historia. Mayo 2024.pdfapunteshistoriamarmo
 
Biografía de Charles Coulomb física .pdf
Biografía de Charles Coulomb física .pdfBiografía de Charles Coulomb física .pdf
Biografía de Charles Coulomb física .pdfGruberACaraballo
 
TRABAJO FINAL TOPOGRAFÍA COMPLETO DE LA UPC
TRABAJO FINAL TOPOGRAFÍA COMPLETO DE LA UPCTRABAJO FINAL TOPOGRAFÍA COMPLETO DE LA UPC
TRABAJO FINAL TOPOGRAFÍA COMPLETO DE LA UPCCarlosEduardoSosa2
 

Último (20)

Sesión de clase APC: Los dos testigos.pdf
Sesión de clase APC: Los dos testigos.pdfSesión de clase APC: Los dos testigos.pdf
Sesión de clase APC: Los dos testigos.pdf
 
CONCURSO NACIONAL JOSE MARIA ARGUEDAS.pptx
CONCURSO NACIONAL JOSE MARIA ARGUEDAS.pptxCONCURSO NACIONAL JOSE MARIA ARGUEDAS.pptx
CONCURSO NACIONAL JOSE MARIA ARGUEDAS.pptx
 
PINTURA DEL RENACIMIENTO EN ESPAÑA (SIGLO XVI).ppt
PINTURA DEL RENACIMIENTO EN ESPAÑA (SIGLO XVI).pptPINTURA DEL RENACIMIENTO EN ESPAÑA (SIGLO XVI).ppt
PINTURA DEL RENACIMIENTO EN ESPAÑA (SIGLO XVI).ppt
 
ACRÓNIMO DE PARÍS PARA SU OLIMPIADA 2024. Por JAVIER SOLIS NOYOLA
ACRÓNIMO DE PARÍS PARA SU OLIMPIADA 2024. Por JAVIER SOLIS NOYOLAACRÓNIMO DE PARÍS PARA SU OLIMPIADA 2024. Por JAVIER SOLIS NOYOLA
ACRÓNIMO DE PARÍS PARA SU OLIMPIADA 2024. Por JAVIER SOLIS NOYOLA
 
Tema 10. Dinámica y funciones de la Atmosfera 2024
Tema 10. Dinámica y funciones de la Atmosfera 2024Tema 10. Dinámica y funciones de la Atmosfera 2024
Tema 10. Dinámica y funciones de la Atmosfera 2024
 
Desarrollo y Aplicación de la Administración por Valores
Desarrollo y Aplicación de la Administración por ValoresDesarrollo y Aplicación de la Administración por Valores
Desarrollo y Aplicación de la Administración por Valores
 
Feliz Día de la Madre - 5 de Mayo, 2024.pdf
Feliz Día de la Madre - 5 de Mayo, 2024.pdfFeliz Día de la Madre - 5 de Mayo, 2024.pdf
Feliz Día de la Madre - 5 de Mayo, 2024.pdf
 
Linea del tiempo - Filosofos Cristianos.docx
Linea del tiempo - Filosofos Cristianos.docxLinea del tiempo - Filosofos Cristianos.docx
Linea del tiempo - Filosofos Cristianos.docx
 
TEMA 14.DERIVACIONES ECONÓMICAS, SOCIALES Y POLÍTICAS DEL PROCESO DE INTEGRAC...
TEMA 14.DERIVACIONES ECONÓMICAS, SOCIALES Y POLÍTICAS DEL PROCESO DE INTEGRAC...TEMA 14.DERIVACIONES ECONÓMICAS, SOCIALES Y POLÍTICAS DEL PROCESO DE INTEGRAC...
TEMA 14.DERIVACIONES ECONÓMICAS, SOCIALES Y POLÍTICAS DEL PROCESO DE INTEGRAC...
 
FUERZA Y MOVIMIENTO ciencias cuarto basico.ppt
FUERZA Y MOVIMIENTO ciencias cuarto basico.pptFUERZA Y MOVIMIENTO ciencias cuarto basico.ppt
FUERZA Y MOVIMIENTO ciencias cuarto basico.ppt
 
La Sostenibilidad Corporativa. Administración Ambiental
La Sostenibilidad Corporativa. Administración AmbientalLa Sostenibilidad Corporativa. Administración Ambiental
La Sostenibilidad Corporativa. Administración Ambiental
 
Tema 19. Inmunología y el sistema inmunitario 2024
Tema 19. Inmunología y el sistema inmunitario 2024Tema 19. Inmunología y el sistema inmunitario 2024
Tema 19. Inmunología y el sistema inmunitario 2024
 
Prueba de evaluación Geografía e Historia Comunidad de Madrid 2º de la ESO
Prueba de evaluación Geografía e Historia Comunidad de Madrid 2º de la ESOPrueba de evaluación Geografía e Historia Comunidad de Madrid 2º de la ESO
Prueba de evaluación Geografía e Historia Comunidad de Madrid 2º de la ESO
 
AEC 2. Aventura en el Antiguo Egipto.pptx
AEC 2. Aventura en el Antiguo Egipto.pptxAEC 2. Aventura en el Antiguo Egipto.pptx
AEC 2. Aventura en el Antiguo Egipto.pptx
 
RESOLUCIÓN VICEMINISTERIAL 00048 - 2024 EVALUACION
RESOLUCIÓN VICEMINISTERIAL 00048 - 2024 EVALUACIONRESOLUCIÓN VICEMINISTERIAL 00048 - 2024 EVALUACION
RESOLUCIÓN VICEMINISTERIAL 00048 - 2024 EVALUACION
 
activ4-bloque4 transversal doctorado.pdf
activ4-bloque4 transversal doctorado.pdfactiv4-bloque4 transversal doctorado.pdf
activ4-bloque4 transversal doctorado.pdf
 
Proyecto de aprendizaje dia de la madre MINT.pdf
Proyecto de aprendizaje dia de la madre MINT.pdfProyecto de aprendizaje dia de la madre MINT.pdf
Proyecto de aprendizaje dia de la madre MINT.pdf
 
Revista Apuntes de Historia. Mayo 2024.pdf
Revista Apuntes de Historia. Mayo 2024.pdfRevista Apuntes de Historia. Mayo 2024.pdf
Revista Apuntes de Historia. Mayo 2024.pdf
 
Biografía de Charles Coulomb física .pdf
Biografía de Charles Coulomb física .pdfBiografía de Charles Coulomb física .pdf
Biografía de Charles Coulomb física .pdf
 
TRABAJO FINAL TOPOGRAFÍA COMPLETO DE LA UPC
TRABAJO FINAL TOPOGRAFÍA COMPLETO DE LA UPCTRABAJO FINAL TOPOGRAFÍA COMPLETO DE LA UPC
TRABAJO FINAL TOPOGRAFÍA COMPLETO DE LA UPC
 

Destacado

Everything You Need To Know About ChatGPT
Everything You Need To Know About ChatGPTEverything You Need To Know About ChatGPT
Everything You Need To Know About ChatGPTExpeed Software
 
Product Design Trends in 2024 | Teenage Engineerings
Product Design Trends in 2024 | Teenage EngineeringsProduct Design Trends in 2024 | Teenage Engineerings
Product Design Trends in 2024 | Teenage EngineeringsPixeldarts
 
How Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental HealthHow Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental HealthThinkNow
 
AI Trends in Creative Operations 2024 by Artwork Flow.pdf
AI Trends in Creative Operations 2024 by Artwork Flow.pdfAI Trends in Creative Operations 2024 by Artwork Flow.pdf
AI Trends in Creative Operations 2024 by Artwork Flow.pdfmarketingartwork
 
PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024Neil Kimberley
 
Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)contently
 
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
 

Destacado (20)

Everything You Need To Know About ChatGPT
Everything You Need To Know About ChatGPTEverything You Need To Know About ChatGPT
Everything You Need To Know About ChatGPT
 
Product Design Trends in 2024 | Teenage Engineerings
Product Design Trends in 2024 | Teenage EngineeringsProduct Design Trends in 2024 | Teenage Engineerings
Product Design Trends in 2024 | Teenage Engineerings
 
How Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental HealthHow Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental Health
 
AI Trends in Creative Operations 2024 by Artwork Flow.pdf
AI Trends in Creative Operations 2024 by Artwork Flow.pdfAI Trends in Creative Operations 2024 by Artwork Flow.pdf
AI Trends in Creative Operations 2024 by Artwork Flow.pdf
 
Skeleton Culture Code
Skeleton Culture CodeSkeleton Culture Code
Skeleton Culture Code
 
PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024
 
Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)
 
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...
 

Busqueda ia

  • 1. Universidad Tecnológica Nacional - Facultad Regional Córdoba – Cátedra: INTELIGENCIA ARTIFICIAL --------------------------------------------------------------------------------------------------------------------------------------------------- BÚSQUEDA Desarrollo de Software Inteligencia Artificial = = Encontrar un dato Encontrar un cierto camino recorrido En INTELIGENCIA ARTIFICIAL el objetivo es encontrar el camino de búsqueda. ¿Por qué? Optimización Planificación Resolución de problemas Juegos Ing. Nancy Páez JTP
  • 2. Universidad Tecnológica Nacional - Facultad Regional Córdoba – Cátedra: INTELIGENCIA ARTIFICIAL --------------------------------------------------------------------------------------------------------------------------------------------------- Características de los procesos de Búsqueda  Cabe la posibilidad de asociar un conjunto de estados a las diferentes situaciones en que se puede encontrar el objeto del dominio sobre el que se define el problema.  Hay una serie de estados iniciales desde los que empieza el proceso de búsqueda.  Existen ciertos operadores, tal que un operador aplicado sobre un estado produce otro estado.  Existe al menos un estado meta o estado solución. ESPACIO DE ESTADOS: conjunto de estados que pueden obtenerse si se aplicaran todos los operadores posibles a todos los estados que se fueran generando. Ing. Nancy Páez JTP
  • 3. Universidad Tecnológica Nacional - Facultad Regional Córdoba – Cátedra: INTELIGENCIA ARTIFICIAL --------------------------------------------------------------------------------------------------------------------------------------------------- Representación y Estructura de los procesos de Búsqueda ÁRBOL GRAFO RED A 15 A A 5 5 9 B C 8 B C D B C D 9 7 5 9 7 5 8 D E 11 F 10 E H F E H F 4 5 5 4 5 5 G H I J K 7 1 4 0 5 Ing. Nancy Páez JTP
  • 4. Universidad Tecnológica Nacional - Facultad Regional Córdoba – Cátedra: INTELIGENCIA ARTIFICIAL --------------------------------------------------------------------------------------------------------------------------------------------------- MÉTODOS DE BÚSQUEDA NO INFORMADOS INFORMADOS Búsqueda Primero en Anchura (BPA) Generación y Prueba Búsqueda Primero en Profundidad (BPA) Escalada Simple Ramificación y acotación (BPP) Escalada por la Máxima Pendiente Enfriamiento Simulado Búsqueda el Primero Mejor A* Ing. Nancy Páez JTP
  • 5. Universidad Tecnológica Nacional - Facultad Regional Córdoba – Cátedra: INTELIGENCIA ARTIFICIAL --------------------------------------------------------------------------------------------------------------------------------------------------- BÚSQUEDA PRIMERO EN ANCHURA (BPA) A 1º Paso: Crear una Pila ( u otra estructura dinámica) D F G 2º Paso: Mientras la Pila no esté vacía, hacer: 3º Paso: Extraer el primer elemento de la Pila H J C E 4º Paso: Generar nuevos estados derivados del actual B K Z W 5º Paso: explorar si los nuevos nodos son estado objetivo, si alguno lo es salir, en caso L contrario añadir nuevos nodos a la Pila y volver a 3º. Ing. Nancy Páez JTP
  • 6. Universidad Tecnológica Nacional - Facultad Regional Córdoba – Cátedra: INTELIGENCIA ARTIFICIAL --------------------------------------------------------------------------------------------------------------------------------------------------- BÚSQUEDA PRIMERO EN PROFUNDIDAD (BPP) A Continúa por una sola rama del árbol D F G hasta encontrar una solución o hasta que se tome la decisión de terminar la H J C E búsqueda por esa dirección. B K Z W L
  • 7. Universidad Tecnológica Nacional - Facultad Regional Córdoba – Cátedra: INTELIGENCIA ARTIFICIAL --------------------------------------------------------------------------------------------------------------------------------------------------- BÚSQUEDA RAMIFICACIÓN Y ACOTACIÓN (BPP) • En lugar de generar todos los sucesores del estado actual, se genera un único sucesor en cada caso. • La elección de un nodo a ser visitado no implica que sea sacado de la lista. ABIERTA: A A m=A m´= D D F G ABIERTA: D,A m=D m´= H H J C E ABIERTA: H, D, A m=H B K Z W m´= B ABIERTA: B, H, D, A L CAMINO: A, D, H, B
  • 8. Universidad Tecnológica Nacional - Facultad Regional Córdoba – Cátedra: INTELIGENCIA ARTIFICIAL --------------------------------------------------------------------------------------------------------------------------------------------------- VENTAJAS DE LOS MÉTODOS DE BÚSQUEDA SIN INFORMACIÓN MÉTODO PRIMERO EN ANCHURA: • No queda atrapada explorando callejones sin salida. • Si existe una solución, garantiza que se logre encontrarla. • Si existen múltiples soluciones, se encuentra la solución mínima. MÉTODO PRIMERO EN PROPUNDIDAD: • Necesita menos memoria ya que sólo se almacenan los nodos del camino que se sigue en ese instante. • Si se tiene suerte este método, puede encontrar una solución sin tener que examinar gran parte del espacio de estados.
  • 9. Universidad Tecnológica Nacional - Facultad Regional Córdoba – Cátedra: INTELIGENCIA ARTIFICIAL --------------------------------------------------------------------------------------------------------------------------------------------------- MÉTODOS DE BÚSQUEDA CON INFORMACIÓN Estos algoritmos resuelven problemas complicados con eficiencia, quizás no dando la mejor solución, pero si encontrando una buena solución. Heurística: es una técnica que aumenta la eficiencia de un proceso de búsqueda posiblemente sacrificando demandas de completitud. Una Función Heurística: es una correspondencia entre las descripciones de estados del problema hacia alguna medida de deseabilidad, generalmente representada con números. ¿Por qué es necesario su uso? EVITA DA UNA BUENA PROFUNDIZA LA ENREDOS SOLUCIÓN COMPRENSIÓN
  • 10. Universidad Tecnológica Nacional - Facultad Regional Córdoba – Cátedra: INTELIGENCIA ARTIFICIAL --------------------------------------------------------------------------------------------------------------------------------------------------- EJEMPLO: A8 B2 C8 D6 E4 F6 G9 H2 I9 J5 K4 L3 M8 N0 O3 P6 ALGORITMO DE BÚSQUEDA EL PRIMERO MEJOR f (n) = h (n) ALGORITMO DE BÚSQUEDA A * f (n) = h (n) + g (n) f (n) = función heurística h (n) = estimación del costo del camino óptimo desde “ n “ a una meta. g (n) = costo real del mejor camino encontrado en un determinado momento desde la raíz hasta “ n “.