1 / 7

Algoritmos de búsqueda Fill Zone

Algoritmos de búsqueda Fill Zone. GRUPO 2 Tomás Alvarez M. Eugenia Cura Alan Idesis. El Juego ::: FILL ZONE. Se parte de un estado inicial con un tablero cuyas celdas están pintadas con diferentes colores.

thora
Télécharger la présentation

Algoritmos de búsqueda Fill Zone

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Algoritmos de búsquedaFill Zone GRUPO 2 Tomás Alvarez M. Eugenia Cura Alan Idesis

  2. El Juego:::FILL ZONE Se parte de un estado inicial con un tablero cuyas celdas están pintadas con diferentes colores. El objetivo es propagar el color de la celda en la esquina superior izquierda al resto del tablero, hasta que todo el tablero posea el mismo color.

  3. Reglas Cambiar a color verde Cambiar a color rojo Cambiar a color azul Cambiar a color amarillo UNA REGLA POR CADA COLOR

  4. Representación del Estado 1 2 1 3 2 3 4 2 1 3 1 2 3 4 4 3 Unamartízrepresenta el tablero.

  5. Heurística 1Cantidad de colores h1(n) = #colores_en_el_tablero -1 La idea esirextinguiendo los coloresexistentespara no hacerpasos de más. • h1(ngoal) = 0 • Admisible => nuncasobreestima

  6. Heurística 2Camino mínimo h2(n) = Dijkstra(cluster_principal,cluster_mas_alejado) • h1(ngoal) = 0 • Admisible COMPUTACIONALMENTE MUY COMPLEJO

  7. Heurística 3Cuadradosrestantes h3(n) = tamaño_tablero – tamaño_cluster_principal h3(ngoal) = 16-16 = 0 h3(n) = 16-6 = 10 • NO ADMISIBLE: sobreestima lamayoría de lasveces h3(n) = 16-5 = 11

More Related