SlideShare uma empresa 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 “.

Mais conteúdo relacionado

Último

FICHA DE MONITOREO Y ACOMPAÑAMIENTO 2024 MINEDU
FICHA DE MONITOREO Y ACOMPAÑAMIENTO  2024 MINEDUFICHA DE MONITOREO Y ACOMPAÑAMIENTO  2024 MINEDU
FICHA DE MONITOREO Y ACOMPAÑAMIENTO 2024 MINEDUgustavorojas179704
 
PLANIFICACION ANUAL 2024 - INICIAL UNIDOCENTE.docx
PLANIFICACION ANUAL 2024 - INICIAL UNIDOCENTE.docxPLANIFICACION ANUAL 2024 - INICIAL UNIDOCENTE.docx
PLANIFICACION ANUAL 2024 - INICIAL UNIDOCENTE.docxJUANSIMONPACHIN
 
Fundamentos y Principios de Psicopedagogía..pdf
Fundamentos y Principios de Psicopedagogía..pdfFundamentos y Principios de Psicopedagogía..pdf
Fundamentos y Principios de Psicopedagogía..pdfsamyarrocha1
 
Tarea 5-Selección de herramientas digitales-Carol Eraso.pdf
Tarea 5-Selección de herramientas digitales-Carol Eraso.pdfTarea 5-Selección de herramientas digitales-Carol Eraso.pdf
Tarea 5-Selección de herramientas digitales-Carol Eraso.pdfCarol Andrea Eraso Guerrero
 
PPT GESTIÓN ESCOLAR 2024 Comités y Compromisos.pptx
PPT GESTIÓN ESCOLAR 2024 Comités y Compromisos.pptxPPT GESTIÓN ESCOLAR 2024 Comités y Compromisos.pptx
PPT GESTIÓN ESCOLAR 2024 Comités y Compromisos.pptxOscarEduardoSanchezC
 
Unidad II Doctrina de la Iglesia 1 parte
Unidad II Doctrina de la Iglesia 1 parteUnidad II Doctrina de la Iglesia 1 parte
Unidad II Doctrina de la Iglesia 1 parteJuan Hernandez
 
Metabolismo 3: Anabolismo y Fotosíntesis 2024
Metabolismo 3: Anabolismo y Fotosíntesis 2024Metabolismo 3: Anabolismo y Fotosíntesis 2024
Metabolismo 3: Anabolismo y Fotosíntesis 2024IES Vicent Andres Estelles
 
ÉTICA, NATURALEZA Y SOCIEDADES_3RO_3ER TRIMESTRE.pdf
ÉTICA, NATURALEZA Y SOCIEDADES_3RO_3ER TRIMESTRE.pdfÉTICA, NATURALEZA Y SOCIEDADES_3RO_3ER TRIMESTRE.pdf
ÉTICA, NATURALEZA Y SOCIEDADES_3RO_3ER TRIMESTRE.pdfluisantoniocruzcorte1
 
Tarea 5_ Foro _Selección de herramientas digitales_Manuel.pdf
Tarea 5_ Foro _Selección de herramientas digitales_Manuel.pdfTarea 5_ Foro _Selección de herramientas digitales_Manuel.pdf
Tarea 5_ Foro _Selección de herramientas digitales_Manuel.pdfManuel Molina
 
periodico mural y sus partes y caracteristicas
periodico mural y sus partes y caracteristicasperiodico mural y sus partes y caracteristicas
periodico mural y sus partes y caracteristicas123yudy
 
Presentación de Estrategias de Enseñanza-Aprendizaje Virtual.pptx
Presentación de Estrategias de Enseñanza-Aprendizaje Virtual.pptxPresentación de Estrategias de Enseñanza-Aprendizaje Virtual.pptx
Presentación de Estrategias de Enseñanza-Aprendizaje Virtual.pptxYeseniaRivera50
 
TEST DE RAVEN es un test conocido para la personalidad.pdf
TEST DE RAVEN es un test conocido para la personalidad.pdfTEST DE RAVEN es un test conocido para la personalidad.pdf
TEST DE RAVEN es un test conocido para la personalidad.pdfDannyTola1
 
LINEAMIENTOS INICIO DEL AÑO LECTIVO 2024-2025.pptx
LINEAMIENTOS INICIO DEL AÑO LECTIVO 2024-2025.pptxLINEAMIENTOS INICIO DEL AÑO LECTIVO 2024-2025.pptx
LINEAMIENTOS INICIO DEL AÑO LECTIVO 2024-2025.pptxdanalikcruz2000
 
Estas son las escuelas y colegios que tendrán modalidad no presencial este lu...
Estas son las escuelas y colegios que tendrán modalidad no presencial este lu...Estas son las escuelas y colegios que tendrán modalidad no presencial este lu...
Estas son las escuelas y colegios que tendrán modalidad no presencial este lu...fcastellanos3
 
Tema 8.- Gestion de la imagen a traves de la comunicacion de crisis.pdf
Tema 8.- Gestion de la imagen a traves de la comunicacion de crisis.pdfTema 8.- Gestion de la imagen a traves de la comunicacion de crisis.pdf
Tema 8.- Gestion de la imagen a traves de la comunicacion de crisis.pdfDaniel Ángel Corral de la Mata, Ph.D.
 
BIOLOGIA_banco de preguntas_editorial icfes examen de estado .pdf
BIOLOGIA_banco de preguntas_editorial icfes examen de estado .pdfBIOLOGIA_banco de preguntas_editorial icfes examen de estado .pdf
BIOLOGIA_banco de preguntas_editorial icfes examen de estado .pdfCESARMALAGA4
 
TRIPTICO-SISTEMA-MUSCULAR. PARA NIÑOS DE PRIMARIA
TRIPTICO-SISTEMA-MUSCULAR. PARA NIÑOS DE PRIMARIATRIPTICO-SISTEMA-MUSCULAR. PARA NIÑOS DE PRIMARIA
TRIPTICO-SISTEMA-MUSCULAR. PARA NIÑOS DE PRIMARIAAbelardoVelaAlbrecht1
 
Plan Año Escolar Año Escolar 2023-2024. MPPE
Plan Año Escolar Año Escolar 2023-2024. MPPEPlan Año Escolar Año Escolar 2023-2024. MPPE
Plan Año Escolar Año Escolar 2023-2024. MPPELaura Chacón
 

Último (20)

FICHA DE MONITOREO Y ACOMPAÑAMIENTO 2024 MINEDU
FICHA DE MONITOREO Y ACOMPAÑAMIENTO  2024 MINEDUFICHA DE MONITOREO Y ACOMPAÑAMIENTO  2024 MINEDU
FICHA DE MONITOREO Y ACOMPAÑAMIENTO 2024 MINEDU
 
PLANIFICACION ANUAL 2024 - INICIAL UNIDOCENTE.docx
PLANIFICACION ANUAL 2024 - INICIAL UNIDOCENTE.docxPLANIFICACION ANUAL 2024 - INICIAL UNIDOCENTE.docx
PLANIFICACION ANUAL 2024 - INICIAL UNIDOCENTE.docx
 
Fundamentos y Principios de Psicopedagogía..pdf
Fundamentos y Principios de Psicopedagogía..pdfFundamentos y Principios de Psicopedagogía..pdf
Fundamentos y Principios de Psicopedagogía..pdf
 
Tarea 5-Selección de herramientas digitales-Carol Eraso.pdf
Tarea 5-Selección de herramientas digitales-Carol Eraso.pdfTarea 5-Selección de herramientas digitales-Carol Eraso.pdf
Tarea 5-Selección de herramientas digitales-Carol Eraso.pdf
 
PPT GESTIÓN ESCOLAR 2024 Comités y Compromisos.pptx
PPT GESTIÓN ESCOLAR 2024 Comités y Compromisos.pptxPPT GESTIÓN ESCOLAR 2024 Comités y Compromisos.pptx
PPT GESTIÓN ESCOLAR 2024 Comités y Compromisos.pptx
 
Unidad II Doctrina de la Iglesia 1 parte
Unidad II Doctrina de la Iglesia 1 parteUnidad II Doctrina de la Iglesia 1 parte
Unidad II Doctrina de la Iglesia 1 parte
 
Metabolismo 3: Anabolismo y Fotosíntesis 2024
Metabolismo 3: Anabolismo y Fotosíntesis 2024Metabolismo 3: Anabolismo y Fotosíntesis 2024
Metabolismo 3: Anabolismo y Fotosíntesis 2024
 
ÉTICA, NATURALEZA Y SOCIEDADES_3RO_3ER TRIMESTRE.pdf
ÉTICA, NATURALEZA Y SOCIEDADES_3RO_3ER TRIMESTRE.pdfÉTICA, NATURALEZA Y SOCIEDADES_3RO_3ER TRIMESTRE.pdf
ÉTICA, NATURALEZA Y SOCIEDADES_3RO_3ER TRIMESTRE.pdf
 
VISITA À PROTEÇÃO CIVIL _
VISITA À PROTEÇÃO CIVIL                  _VISITA À PROTEÇÃO CIVIL                  _
VISITA À PROTEÇÃO CIVIL _
 
Tarea 5_ Foro _Selección de herramientas digitales_Manuel.pdf
Tarea 5_ Foro _Selección de herramientas digitales_Manuel.pdfTarea 5_ Foro _Selección de herramientas digitales_Manuel.pdf
Tarea 5_ Foro _Selección de herramientas digitales_Manuel.pdf
 
periodico mural y sus partes y caracteristicas
periodico mural y sus partes y caracteristicasperiodico mural y sus partes y caracteristicas
periodico mural y sus partes y caracteristicas
 
Presentación de Estrategias de Enseñanza-Aprendizaje Virtual.pptx
Presentación de Estrategias de Enseñanza-Aprendizaje Virtual.pptxPresentación de Estrategias de Enseñanza-Aprendizaje Virtual.pptx
Presentación de Estrategias de Enseñanza-Aprendizaje Virtual.pptx
 
TEST DE RAVEN es un test conocido para la personalidad.pdf
TEST DE RAVEN es un test conocido para la personalidad.pdfTEST DE RAVEN es un test conocido para la personalidad.pdf
TEST DE RAVEN es un test conocido para la personalidad.pdf
 
LINEAMIENTOS INICIO DEL AÑO LECTIVO 2024-2025.pptx
LINEAMIENTOS INICIO DEL AÑO LECTIVO 2024-2025.pptxLINEAMIENTOS INICIO DEL AÑO LECTIVO 2024-2025.pptx
LINEAMIENTOS INICIO DEL AÑO LECTIVO 2024-2025.pptx
 
Estas son las escuelas y colegios que tendrán modalidad no presencial este lu...
Estas son las escuelas y colegios que tendrán modalidad no presencial este lu...Estas son las escuelas y colegios que tendrán modalidad no presencial este lu...
Estas son las escuelas y colegios que tendrán modalidad no presencial este lu...
 
Tema 8.- Gestion de la imagen a traves de la comunicacion de crisis.pdf
Tema 8.- Gestion de la imagen a traves de la comunicacion de crisis.pdfTema 8.- Gestion de la imagen a traves de la comunicacion de crisis.pdf
Tema 8.- Gestion de la imagen a traves de la comunicacion de crisis.pdf
 
PPTX: La luz brilla en la oscuridad.pptx
PPTX: La luz brilla en la oscuridad.pptxPPTX: La luz brilla en la oscuridad.pptx
PPTX: La luz brilla en la oscuridad.pptx
 
BIOLOGIA_banco de preguntas_editorial icfes examen de estado .pdf
BIOLOGIA_banco de preguntas_editorial icfes examen de estado .pdfBIOLOGIA_banco de preguntas_editorial icfes examen de estado .pdf
BIOLOGIA_banco de preguntas_editorial icfes examen de estado .pdf
 
TRIPTICO-SISTEMA-MUSCULAR. PARA NIÑOS DE PRIMARIA
TRIPTICO-SISTEMA-MUSCULAR. PARA NIÑOS DE PRIMARIATRIPTICO-SISTEMA-MUSCULAR. PARA NIÑOS DE PRIMARIA
TRIPTICO-SISTEMA-MUSCULAR. PARA NIÑOS DE PRIMARIA
 
Plan Año Escolar Año Escolar 2023-2024. MPPE
Plan Año Escolar Año Escolar 2023-2024. MPPEPlan Año Escolar Año Escolar 2023-2024. MPPE
Plan Año Escolar Año Escolar 2023-2024. MPPE
 

Destaque

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
 

Destaque (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 “.