SlideShare a Scribd company logo
1 of 69
Juegos Nelson Becerra Correa Fundación  FABBECOR-ONG
 
Bibliografía ,[object Object],[object Object],[object Object],[object Object],[object Object]
 
TEORIA  DE JUEGOS ,[object Object],[object Object]
Cl asificación de los juegos NUMERO  PARTICIPANTES ,[object Object],[object Object],[object Object],NUMERO ESTRATEGIAS ,[object Object],[object Object],DE ACUERDO  A  LA  INFORMACION ,[object Object],[object Object],DE ACUERDO  A LA SUMA ,[object Object],[object Object]
 
 
Como juegan las maquinas
Como juegan las maquinas
Como juegan las maquinas
Como juegan las maquinas
Como juegan las maquinas
DEEP-BLUE potencia de calculo
Función de evaluación
Función de evaluación
Posición que un programa sin Tablas de Transposición no puede solucionar. Las Blancas ganan mediante 1.Rb1!! Rb7 2.Rc1!! ,[object Object],[object Object]
 
 
Basic Idea ,[object Object],[object Object],[object Object],[object Object],[object Object]
Árbol de variantes ,[object Object],[object Object],[object Object]
 
Required Pieces for Minimax ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Utility Function ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Two Agents ,[object Object],[object Object],[object Object],[object Object]
 
…   MINIMAX ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
…  MINIMAX Se tiene que e(p)=6 – 4 = 2 http://www.ocf.berkeley.edu/~yosenl/extras/alphabeta/alphabeta.html
Basic Algorithm
ALGORITMOS DE JUEGOS ,[object Object],[object Object],[object Object],[object Object]
ALGORITMOS DE PRIMERA GENERACION ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
MINIMAX NEGAMAX ALFA/BETA FALFA/BETA
LALFA/BETA PALFA/BETA SCOUT
Max Min Max Min Starting node and labels MiniMax Search
Max Min Max Min Continue expand the search space
Max Min Max Min Continue expand the search space
Max Min Max Min 2 3 5 0 9 7 4 Expand the search space down 3-ply
Max Min Max Min 2 3 5 0 9 7 4 Propagate the leaf values backward Pick Max values at Max Level 9 0 3 7 7
Max Min Max Min 2 3 5 0 9 7 4 Continue propagate the values backward Pick Min values at Min Level 9 0 3 7 7 3 0
Max Min Max Min 2 3 5 0 9 7 4 Continue propagate the values backward Pick Max values at Max Level 9 0 3 7 7 3 0 3
Max Min Max Min 2 3 5 0 9 7 4 The move picked by Max 9 0 3 7 7 3 0 3
Example MINIMAX ,[object Object],[object Object],[object Object],[object Object]
Coins Game: Formal Definition ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
N = 4 K =  N = 3 K =  N = 2 K =  N = 1 K =  N = 0 K =  N = 1 K =  N = 2 K =  N = 0 K =  N = 0 K =  N = 1 K =  N = 0 K =  N = 1 K =  N = 0 K =  N = 0 K =  1 2 3 3 2 1 2 1 1 1 2 1 1 N = 0 K =  1 F(S)= 0 F(S)= 0 F(S)= 0 F(S)= 1 F(S)= 1 F(S)=1 F(S)= 1 MAX MIN
N = 4 K =  1  N = 3 K = 0 N = 2 K = 0 N = 1 K = 1 N = 0 K =  1  N = 1 K = 0  N = 2 K = 1  N = 0 K = 1 N = 0 K = 1 N = 1 K = 0 N = 0 K =  0  N = 1 K = 1  N = 0 K = 0 N = 0 K = 0 1 2 3 3 2 1 2 1 1 1 2 1 1 N = 0 K =  1  1 F(S)=0 F(S)=0 F(S)=0 F(S)=1 F(S)=1 FFS(51791527S)=1 F(S)=1 MAX MIN Solution F(S)=1
Analysis ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
 
Alpha-Beta Pruning ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Alpha-Beta Pruning ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Max Min Max Min Starting node and labels Alpha-Beta Prune
Max Min Max Min Perform a DFS
Max Min Max Min Continue the DFS
Max Min Max Min 2 3 Until reach the depth we want,  i.e., 3-ply in this case
Max Min Max Min 2 3 3 Propagate leaf values backward
Max Min Max Min 2 3 3 3
Max Min Max Min 2 3 3 3 3
Max Min Max Min 2 3 3 3 3 Alpha Node Beta Node
Max Min Max Min 2 3 3 3 3 Alpha Beta 5 New DFS path  Ended with 5
Max Min Max Min 2 3 3 3 3 Alpha Beta 5 5 Propagate backward
Max Min Max Min 2 3 3 3 3 Alpha Beta 5 5 Because  3  <  5 The branch is pruned. Beta-Prune
Max Min Max Min 2 3 3 3 3 Alpha Beta 5 5 New 3-ply DFS Ended with 0 0
Max Min Max Min 2 3 3 3 3 Alpha Beta 5 5 0 0 Propagate backward
Max Min Max Min 2 3 3 3 3 Alpha Beta 5 5 0 0 Propagate backward 0
Max Min Max Min 2 3 3 3 3 Alpha Beta 5 5 0 0 The branch is cut off Because  3  >  0 Alpha Prune 0
Algorithm
N = 4 K =  N = 3 K =  N = 2 K =  N = 1 K =  N = 0 K =  N = 1 K =  N = 2 K =  N = 0 K =  N = 0 K =  N = 1 K =  N = 3 K =  N = 1 K =  N = 0 K =  N = 0 K =  1 2 3 3 2 1 2 1 1 1 2 1 1 N = 0 K =  1 F(S)=0 F(S)=0 F(S)=0 F(S)=1 F(S)=1 F(S)=1 F(S)=1 MAX MIN α  = β  = α  = β  = α  = β  = α  = β  = α  = β  = α  = β  = α  = β  = α  = β  = α  = β  = α  = β  = α  = β  = α  = β  = α  = β  = α  = β  = α  = β  =
N = 4 K = 0 1  N = 3 K = 1 0  N = 2 K = 1 0  N = 1 K = 1  N = 0 K = 1  N = 1 K = 0  N = 2 K = 1  N = 0 K =  1  N = 0 K = 1  N = 1 K =  N = 3 K = 0  N = 1 K = 1  N = 0 K =  N = 0 K = 0  1 2 3 3 2 1 2 1 1 1 2 1 1 N = 0 K = 1  1 F(S)=0 F(S)=0 F(S)=0 F(S)=1 F(S)=1 F(S)=1 F(S)=1 MAX MIN α  = β  =  1 0 α  = 0 β  = α  = 0 β  =  1 0 α  = β  = 0 α  =  1 β  = α  = 0 β  = 0 α  = 0 β  = 0 α  = 0 β  = 1 α  = 0 β  = α  = 0 β  = 0 α  = 0 β  = α  = 1 β  = 0 α  = β  = α  = 1 β  = 0 α  = 0 β  = 1
 
Conclusion ,[object Object],[object Object]

More Related Content

Viewers also liked

Tipos básicos de Búsqueda | Inteligencia Artificial
Tipos básicos de Búsqueda | Inteligencia ArtificialTipos básicos de Búsqueda | Inteligencia Artificial
Tipos básicos de Búsqueda | Inteligencia ArtificialAlexis Díaz
 
142519821 resolucion-de-problemas-mediante-busqueda-pdf
142519821 resolucion-de-problemas-mediante-busqueda-pdf142519821 resolucion-de-problemas-mediante-busqueda-pdf
142519821 resolucion-de-problemas-mediante-busqueda-pdfhiuhui efwwefgw
 
Busquedas inteligencia artificail
Busquedas inteligencia artificailBusquedas inteligencia artificail
Busquedas inteligencia artificailLuis Cambal
 
Busqueda entre adversarios
Busqueda entre adversariosBusqueda entre adversarios
Busqueda entre adversariosgvnyps
 
Estrategias De BúSqueda No Informada
Estrategias De BúSqueda No InformadaEstrategias De BúSqueda No Informada
Estrategias De BúSqueda No InformadaDiana
 
El Juego TicTacToe (Gato) mediante Arboles de Decisiones
El Juego TicTacToe (Gato) mediante Arboles de DecisionesEl Juego TicTacToe (Gato) mediante Arboles de Decisiones
El Juego TicTacToe (Gato) mediante Arboles de DecisionesJosé Enrique Alvarez Estrada
 

Viewers also liked (8)

Tipos básicos de Búsqueda | Inteligencia Artificial
Tipos básicos de Búsqueda | Inteligencia ArtificialTipos básicos de Búsqueda | Inteligencia Artificial
Tipos básicos de Búsqueda | Inteligencia Artificial
 
142519821 resolucion-de-problemas-mediante-busqueda-pdf
142519821 resolucion-de-problemas-mediante-busqueda-pdf142519821 resolucion-de-problemas-mediante-busqueda-pdf
142519821 resolucion-de-problemas-mediante-busqueda-pdf
 
Inteligencia artificial isc
Inteligencia artificial iscInteligencia artificial isc
Inteligencia artificial isc
 
Busquedas inteligencia artificail
Busquedas inteligencia artificailBusquedas inteligencia artificail
Busquedas inteligencia artificail
 
busquedas con adversarios
busquedas con adversariosbusquedas con adversarios
busquedas con adversarios
 
Busqueda entre adversarios
Busqueda entre adversariosBusqueda entre adversarios
Busqueda entre adversarios
 
Estrategias De BúSqueda No Informada
Estrategias De BúSqueda No InformadaEstrategias De BúSqueda No Informada
Estrategias De BúSqueda No Informada
 
El Juego TicTacToe (Gato) mediante Arboles de Decisiones
El Juego TicTacToe (Gato) mediante Arboles de DecisionesEl Juego TicTacToe (Gato) mediante Arboles de Decisiones
El Juego TicTacToe (Gato) mediante Arboles de Decisiones
 

Similar to Juegos minimax AlfaBeta

Minmax and alpha beta pruning.pptx
Minmax and alpha beta pruning.pptxMinmax and alpha beta pruning.pptx
Minmax and alpha beta pruning.pptxPriyadharshiniG41
 
MINI-MAX ALGORITHM.pptx
MINI-MAX ALGORITHM.pptxMINI-MAX ALGORITHM.pptx
MINI-MAX ALGORITHM.pptxNayanChandak1
 
12 adversal search
12 adversal search12 adversal search
12 adversal searchTianlu Wang
 
cs-171-07-Games and Adversarila Search.ppt
cs-171-07-Games and Adversarila Search.pptcs-171-07-Games and Adversarila Search.ppt
cs-171-07-Games and Adversarila Search.pptSamiksha880257
 
AI subject - Game Theory and cps ppt pptx
AI subject  - Game Theory and cps ppt pptxAI subject  - Game Theory and cps ppt pptx
AI subject - Game Theory and cps ppt pptxnizmishaik1
 
hanoosh-tictactoeqqqqqqqaaaaaaaaaaaa.ppt
hanoosh-tictactoeqqqqqqqaaaaaaaaaaaa.ppthanoosh-tictactoeqqqqqqqaaaaaaaaaaaa.ppt
hanoosh-tictactoeqqqqqqqaaaaaaaaaaaa.pptssuser148ae0
 
Unit_I_Introduction(Part_III).ppt
Unit_I_Introduction(Part_III).pptUnit_I_Introduction(Part_III).ppt
Unit_I_Introduction(Part_III).pptganesh15478
 
Jarrar.lecture notes.aai.2011s.ch6.games
Jarrar.lecture notes.aai.2011s.ch6.gamesJarrar.lecture notes.aai.2011s.ch6.games
Jarrar.lecture notes.aai.2011s.ch6.gamesPalGov
 
AI3391 Artificial Intelligence UNIT III Notes_merged.pdf
AI3391 Artificial Intelligence UNIT III Notes_merged.pdfAI3391 Artificial Intelligence UNIT III Notes_merged.pdf
AI3391 Artificial Intelligence UNIT III Notes_merged.pdfAsst.prof M.Gokilavani
 
Game and Search
Game and SearchGame and Search
Game and SearchAdri Jovin
 
Adversarial search
Adversarial searchAdversarial search
Adversarial searchpramod naik
 

Similar to Juegos minimax AlfaBeta (20)

AI_unit3.pptx
AI_unit3.pptxAI_unit3.pptx
AI_unit3.pptx
 
Minmax and alpha beta pruning.pptx
Minmax and alpha beta pruning.pptxMinmax and alpha beta pruning.pptx
Minmax and alpha beta pruning.pptx
 
Two player games
Two player gamesTwo player games
Two player games
 
MINI-MAX ALGORITHM.pptx
MINI-MAX ALGORITHM.pptxMINI-MAX ALGORITHM.pptx
MINI-MAX ALGORITHM.pptx
 
12 adversal search
12 adversal search12 adversal search
12 adversal search
 
cs-171-07-Games and Adversarila Search.ppt
cs-171-07-Games and Adversarila Search.pptcs-171-07-Games and Adversarila Search.ppt
cs-171-07-Games and Adversarila Search.ppt
 
Games.4
Games.4Games.4
Games.4
 
AI Lesson 08
AI Lesson 08AI Lesson 08
AI Lesson 08
 
AI subject - Game Theory and cps ppt pptx
AI subject  - Game Theory and cps ppt pptxAI subject  - Game Theory and cps ppt pptx
AI subject - Game Theory and cps ppt pptx
 
05 adversarial
05 adversarial05 adversarial
05 adversarial
 
Capgemini 1
Capgemini 1Capgemini 1
Capgemini 1
 
Game playing
Game playingGame playing
Game playing
 
hanoosh-tictactoeqqqqqqqaaaaaaaaaaaa.ppt
hanoosh-tictactoeqqqqqqqaaaaaaaaaaaa.ppthanoosh-tictactoeqqqqqqqaaaaaaaaaaaa.ppt
hanoosh-tictactoeqqqqqqqaaaaaaaaaaaa.ppt
 
Unit_I_Introduction(Part_III).ppt
Unit_I_Introduction(Part_III).pptUnit_I_Introduction(Part_III).ppt
Unit_I_Introduction(Part_III).ppt
 
Jarrar.lecture notes.aai.2011s.ch6.games
Jarrar.lecture notes.aai.2011s.ch6.gamesJarrar.lecture notes.aai.2011s.ch6.games
Jarrar.lecture notes.aai.2011s.ch6.games
 
AI3391 Artificial Intelligence UNIT III Notes_merged.pdf
AI3391 Artificial Intelligence UNIT III Notes_merged.pdfAI3391 Artificial Intelligence UNIT III Notes_merged.pdf
AI3391 Artificial Intelligence UNIT III Notes_merged.pdf
 
Game and Search
Game and SearchGame and Search
Game and Search
 
Minimax Algorithm
Minimax AlgorithmMinimax Algorithm
Minimax Algorithm
 
Adversarial search
Adversarial searchAdversarial search
Adversarial search
 
cai
caicai
cai
 

Recently uploaded

Call Girls Rajnandgaon / 9332606886 Genuine Call girls with real Photos and N...
Call Girls Rajnandgaon / 9332606886 Genuine Call girls with real Photos and N...Call Girls Rajnandgaon / 9332606886 Genuine Call girls with real Photos and N...
Call Girls Rajnandgaon / 9332606886 Genuine Call girls with real Photos and N...call girls kolkata
 
Call Girls Moradabad Just Call 8617370543 Top Class Call Girl Service Available
Call Girls Moradabad Just Call 8617370543 Top Class Call Girl Service AvailableCall Girls Moradabad Just Call 8617370543 Top Class Call Girl Service Available
Call Girls Moradabad Just Call 8617370543 Top Class Call Girl Service AvailableNitya salvi
 
Satara call girl 8617370543♥️ call girls in satara escort service
Satara call girl 8617370543♥️ call girls in satara escort serviceSatara call girl 8617370543♥️ call girls in satara escort service
Satara call girl 8617370543♥️ call girls in satara escort serviceNitya salvi
 
Call Girls in Nizampet / 8250092165 Genuine Call girls with real Photos and N...
Call Girls in Nizampet / 8250092165 Genuine Call girls with real Photos and N...Call Girls in Nizampet / 8250092165 Genuine Call girls with real Photos and N...
Call Girls in Nizampet / 8250092165 Genuine Call girls with real Photos and N...kumargunjan9515
 
Deira Call girl 0506129535 Independent Call girl in Deira
Deira Call girl 0506129535  Independent Call girl in DeiraDeira Call girl 0506129535  Independent Call girl in Deira
Deira Call girl 0506129535 Independent Call girl in DeiraMonica Sydney
 
Deira Call girls 0507330913 Call girls in Deira
Deira Call girls 0507330913 Call girls in DeiraDeira Call girls 0507330913 Call girls in Deira
Deira Call girls 0507330913 Call girls in DeiraMonica Sydney
 
Dubai Call Girls 0556255850 Call girls in Dubai
Dubai Call Girls 0556255850 Call girls in DubaiDubai Call Girls 0556255850 Call girls in Dubai
Dubai Call Girls 0556255850 Call girls in DubaiMonica Sydney
 
Deira Call girl agency 0567006274 Call girls in Deira
Deira Call girl agency 0567006274 Call girls in DeiraDeira Call girl agency 0567006274 Call girls in Deira
Deira Call girl agency 0567006274 Call girls in DeiraMonica Sydney
 
Hire 💕 8617370543 Kushinagar Call Girls Service Call Girls Agency
Hire 💕 8617370543 Kushinagar Call Girls Service Call Girls AgencyHire 💕 8617370543 Kushinagar Call Girls Service Call Girls Agency
Hire 💕 8617370543 Kushinagar Call Girls Service Call Girls AgencyNitya salvi
 
Mandvi (Ahemdabad) Escorts 6367492432 with Real Phone number and Model
Mandvi (Ahemdabad) Escorts 6367492432 with Real Phone number and ModelMandvi (Ahemdabad) Escorts 6367492432 with Real Phone number and Model
Mandvi (Ahemdabad) Escorts 6367492432 with Real Phone number and Modelhotbabesbook
 
Bhubaneswar🌹Patia ❤CALL GIRLS 9777949614 💟 CALL GIRLS IN bhubaneswar ESCORT S...
Bhubaneswar🌹Patia ❤CALL GIRLS 9777949614 💟 CALL GIRLS IN bhubaneswar ESCORT S...Bhubaneswar🌹Patia ❤CALL GIRLS 9777949614 💟 CALL GIRLS IN bhubaneswar ESCORT S...
Bhubaneswar🌹Patia ❤CALL GIRLS 9777949614 💟 CALL GIRLS IN bhubaneswar ESCORT S...Call Girls Mumbai
 
Pakistani Call girls in Ajman 0505086370 Ajman Call girls
Pakistani Call girls in Ajman 0505086370 Ajman Call girlsPakistani Call girls in Ajman 0505086370 Ajman Call girls
Pakistani Call girls in Ajman 0505086370 Ajman Call girlsMonica Sydney
 
Just Call Vip call girls Palghar Escorts ☎️8617370543 Two shot with one girl ...
Just Call Vip call girls Palghar Escorts ☎️8617370543 Two shot with one girl ...Just Call Vip call girls Palghar Escorts ☎️8617370543 Two shot with one girl ...
Just Call Vip call girls Palghar Escorts ☎️8617370543 Two shot with one girl ...Nitya salvi
 
Vip Call Girls Bhubaneswar 🐱‍🏍 9777949614 Independent Escorts Service Bhubane...
Vip Call Girls Bhubaneswar 🐱‍🏍 9777949614 Independent Escorts Service Bhubane...Vip Call Girls Bhubaneswar 🐱‍🏍 9777949614 Independent Escorts Service Bhubane...
Vip Call Girls Bhubaneswar 🐱‍🏍 9777949614 Independent Escorts Service Bhubane...Call Girls Mumbai
 
Deira Call girls Service 0507330913 Call girls in Deira
Deira Call girls Service 0507330913  Call girls in DeiraDeira Call girls Service 0507330913  Call girls in Deira
Deira Call girls Service 0507330913 Call girls in DeiraMonica Sydney
 
Call Girls in Kollam - 9332606886 Our call girls are sure to provide you with...
Call Girls in Kollam - 9332606886 Our call girls are sure to provide you with...Call Girls in Kollam - 9332606886 Our call girls are sure to provide you with...
Call Girls in Kollam - 9332606886 Our call girls are sure to provide you with...call girls kolkata
 
Turbhe Female Escorts 09167354423 Turbhe Escorts,Call Girls In Turbhe
Turbhe Female Escorts 09167354423  Turbhe Escorts,Call Girls In TurbheTurbhe Female Escorts 09167354423  Turbhe Escorts,Call Girls In Turbhe
Turbhe Female Escorts 09167354423 Turbhe Escorts,Call Girls In TurbhePriya Reddy
 
Call Girls Bijapur - 9332606886 Rs 3000 Free Pickup & Drop Services 24x448
Call Girls Bijapur - 9332606886 Rs 3000 Free Pickup & Drop Services 24x448Call Girls Bijapur - 9332606886 Rs 3000 Free Pickup & Drop Services 24x448
Call Girls Bijapur - 9332606886 Rs 3000 Free Pickup & Drop Services 24x448DipikaDelhi
 

Recently uploaded (20)

Call Girls Rajnandgaon / 9332606886 Genuine Call girls with real Photos and N...
Call Girls Rajnandgaon / 9332606886 Genuine Call girls with real Photos and N...Call Girls Rajnandgaon / 9332606886 Genuine Call girls with real Photos and N...
Call Girls Rajnandgaon / 9332606886 Genuine Call girls with real Photos and N...
 
Vip Models Escorts in Lahore 03068178123
Vip Models Escorts in Lahore 03068178123Vip Models Escorts in Lahore 03068178123
Vip Models Escorts in Lahore 03068178123
 
Call Girls Moradabad Just Call 8617370543 Top Class Call Girl Service Available
Call Girls Moradabad Just Call 8617370543 Top Class Call Girl Service AvailableCall Girls Moradabad Just Call 8617370543 Top Class Call Girl Service Available
Call Girls Moradabad Just Call 8617370543 Top Class Call Girl Service Available
 
Satara call girl 8617370543♥️ call girls in satara escort service
Satara call girl 8617370543♥️ call girls in satara escort serviceSatara call girl 8617370543♥️ call girls in satara escort service
Satara call girl 8617370543♥️ call girls in satara escort service
 
Call Girls in Nizampet / 8250092165 Genuine Call girls with real Photos and N...
Call Girls in Nizampet / 8250092165 Genuine Call girls with real Photos and N...Call Girls in Nizampet / 8250092165 Genuine Call girls with real Photos and N...
Call Girls in Nizampet / 8250092165 Genuine Call girls with real Photos and N...
 
Deira Call girl 0506129535 Independent Call girl in Deira
Deira Call girl 0506129535  Independent Call girl in DeiraDeira Call girl 0506129535  Independent Call girl in Deira
Deira Call girl 0506129535 Independent Call girl in Deira
 
Deira Call girls 0507330913 Call girls in Deira
Deira Call girls 0507330913 Call girls in DeiraDeira Call girls 0507330913 Call girls in Deira
Deira Call girls 0507330913 Call girls in Deira
 
Dubai Call Girls 0556255850 Call girls in Dubai
Dubai Call Girls 0556255850 Call girls in DubaiDubai Call Girls 0556255850 Call girls in Dubai
Dubai Call Girls 0556255850 Call girls in Dubai
 
Deira Call girl agency 0567006274 Call girls in Deira
Deira Call girl agency 0567006274 Call girls in DeiraDeira Call girl agency 0567006274 Call girls in Deira
Deira Call girl agency 0567006274 Call girls in Deira
 
Hire 💕 8617370543 Kushinagar Call Girls Service Call Girls Agency
Hire 💕 8617370543 Kushinagar Call Girls Service Call Girls AgencyHire 💕 8617370543 Kushinagar Call Girls Service Call Girls Agency
Hire 💕 8617370543 Kushinagar Call Girls Service Call Girls Agency
 
Mandvi (Ahemdabad) Escorts 6367492432 with Real Phone number and Model
Mandvi (Ahemdabad) Escorts 6367492432 with Real Phone number and ModelMandvi (Ahemdabad) Escorts 6367492432 with Real Phone number and Model
Mandvi (Ahemdabad) Escorts 6367492432 with Real Phone number and Model
 
Bhubaneswar🌹Patia ❤CALL GIRLS 9777949614 💟 CALL GIRLS IN bhubaneswar ESCORT S...
Bhubaneswar🌹Patia ❤CALL GIRLS 9777949614 💟 CALL GIRLS IN bhubaneswar ESCORT S...Bhubaneswar🌹Patia ❤CALL GIRLS 9777949614 💟 CALL GIRLS IN bhubaneswar ESCORT S...
Bhubaneswar🌹Patia ❤CALL GIRLS 9777949614 💟 CALL GIRLS IN bhubaneswar ESCORT S...
 
Pakistani Call girls in Ajman 0505086370 Ajman Call girls
Pakistani Call girls in Ajman 0505086370 Ajman Call girlsPakistani Call girls in Ajman 0505086370 Ajman Call girls
Pakistani Call girls in Ajman 0505086370 Ajman Call girls
 
Just Call Vip call girls Palghar Escorts ☎️8617370543 Two shot with one girl ...
Just Call Vip call girls Palghar Escorts ☎️8617370543 Two shot with one girl ...Just Call Vip call girls Palghar Escorts ☎️8617370543 Two shot with one girl ...
Just Call Vip call girls Palghar Escorts ☎️8617370543 Two shot with one girl ...
 
Vip Call Girls Bhubaneswar 🐱‍🏍 9777949614 Independent Escorts Service Bhubane...
Vip Call Girls Bhubaneswar 🐱‍🏍 9777949614 Independent Escorts Service Bhubane...Vip Call Girls Bhubaneswar 🐱‍🏍 9777949614 Independent Escorts Service Bhubane...
Vip Call Girls Bhubaneswar 🐱‍🏍 9777949614 Independent Escorts Service Bhubane...
 
Abortion pills in Saudi RIYADH (+919707899604 } Get Cytotec
Abortion pills in Saudi RIYADH (+919707899604 } Get CytotecAbortion pills in Saudi RIYADH (+919707899604 } Get Cytotec
Abortion pills in Saudi RIYADH (+919707899604 } Get Cytotec
 
Deira Call girls Service 0507330913 Call girls in Deira
Deira Call girls Service 0507330913  Call girls in DeiraDeira Call girls Service 0507330913  Call girls in Deira
Deira Call girls Service 0507330913 Call girls in Deira
 
Call Girls in Kollam - 9332606886 Our call girls are sure to provide you with...
Call Girls in Kollam - 9332606886 Our call girls are sure to provide you with...Call Girls in Kollam - 9332606886 Our call girls are sure to provide you with...
Call Girls in Kollam - 9332606886 Our call girls are sure to provide you with...
 
Turbhe Female Escorts 09167354423 Turbhe Escorts,Call Girls In Turbhe
Turbhe Female Escorts 09167354423  Turbhe Escorts,Call Girls In TurbheTurbhe Female Escorts 09167354423  Turbhe Escorts,Call Girls In Turbhe
Turbhe Female Escorts 09167354423 Turbhe Escorts,Call Girls In Turbhe
 
Call Girls Bijapur - 9332606886 Rs 3000 Free Pickup & Drop Services 24x448
Call Girls Bijapur - 9332606886 Rs 3000 Free Pickup & Drop Services 24x448Call Girls Bijapur - 9332606886 Rs 3000 Free Pickup & Drop Services 24x448
Call Girls Bijapur - 9332606886 Rs 3000 Free Pickup & Drop Services 24x448
 

Juegos minimax AlfaBeta

  • 1. Juegos Nelson Becerra Correa Fundación FABBECOR-ONG
  • 2.  
  • 3.
  • 4.  
  • 5.
  • 6.
  • 7.  
  • 8.  
  • 9. Como juegan las maquinas
  • 10. Como juegan las maquinas
  • 11. Como juegan las maquinas
  • 12. Como juegan las maquinas
  • 13. Como juegan las maquinas
  • 17.
  • 18.  
  • 19.  
  • 20.
  • 21.
  • 22.  
  • 23.
  • 24.
  • 25.
  • 26.  
  • 27.
  • 28. … MINIMAX Se tiene que e(p)=6 – 4 = 2 http://www.ocf.berkeley.edu/~yosenl/extras/alphabeta/alphabeta.html
  • 30.
  • 31.
  • 34. Max Min Max Min Starting node and labels MiniMax Search
  • 35. Max Min Max Min Continue expand the search space
  • 36. Max Min Max Min Continue expand the search space
  • 37. Max Min Max Min 2 3 5 0 9 7 4 Expand the search space down 3-ply
  • 38. Max Min Max Min 2 3 5 0 9 7 4 Propagate the leaf values backward Pick Max values at Max Level 9 0 3 7 7
  • 39. Max Min Max Min 2 3 5 0 9 7 4 Continue propagate the values backward Pick Min values at Min Level 9 0 3 7 7 3 0
  • 40. Max Min Max Min 2 3 5 0 9 7 4 Continue propagate the values backward Pick Max values at Max Level 9 0 3 7 7 3 0 3
  • 41. Max Min Max Min 2 3 5 0 9 7 4 The move picked by Max 9 0 3 7 7 3 0 3
  • 42.
  • 43.
  • 44. N = 4 K = N = 3 K = N = 2 K = N = 1 K = N = 0 K = N = 1 K = N = 2 K = N = 0 K = N = 0 K = N = 1 K = N = 0 K = N = 1 K = N = 0 K = N = 0 K = 1 2 3 3 2 1 2 1 1 1 2 1 1 N = 0 K = 1 F(S)= 0 F(S)= 0 F(S)= 0 F(S)= 1 F(S)= 1 F(S)=1 F(S)= 1 MAX MIN
  • 45. N = 4 K = 1 N = 3 K = 0 N = 2 K = 0 N = 1 K = 1 N = 0 K = 1 N = 1 K = 0 N = 2 K = 1 N = 0 K = 1 N = 0 K = 1 N = 1 K = 0 N = 0 K = 0 N = 1 K = 1 N = 0 K = 0 N = 0 K = 0 1 2 3 3 2 1 2 1 1 1 2 1 1 N = 0 K = 1 1 F(S)=0 F(S)=0 F(S)=0 F(S)=1 F(S)=1 FFS(51791527S)=1 F(S)=1 MAX MIN Solution F(S)=1
  • 46.
  • 47.  
  • 48.
  • 49.
  • 50. Max Min Max Min Starting node and labels Alpha-Beta Prune
  • 51. Max Min Max Min Perform a DFS
  • 52. Max Min Max Min Continue the DFS
  • 53. Max Min Max Min 2 3 Until reach the depth we want, i.e., 3-ply in this case
  • 54. Max Min Max Min 2 3 3 Propagate leaf values backward
  • 55. Max Min Max Min 2 3 3 3
  • 56. Max Min Max Min 2 3 3 3 3
  • 57. Max Min Max Min 2 3 3 3 3 Alpha Node Beta Node
  • 58. Max Min Max Min 2 3 3 3 3 Alpha Beta 5 New DFS path Ended with 5
  • 59. Max Min Max Min 2 3 3 3 3 Alpha Beta 5 5 Propagate backward
  • 60. Max Min Max Min 2 3 3 3 3 Alpha Beta 5 5 Because 3 < 5 The branch is pruned. Beta-Prune
  • 61. Max Min Max Min 2 3 3 3 3 Alpha Beta 5 5 New 3-ply DFS Ended with 0 0
  • 62. Max Min Max Min 2 3 3 3 3 Alpha Beta 5 5 0 0 Propagate backward
  • 63. Max Min Max Min 2 3 3 3 3 Alpha Beta 5 5 0 0 Propagate backward 0
  • 64. Max Min Max Min 2 3 3 3 3 Alpha Beta 5 5 0 0 The branch is cut off Because 3 > 0 Alpha Prune 0
  • 66. N = 4 K = N = 3 K = N = 2 K = N = 1 K = N = 0 K = N = 1 K = N = 2 K = N = 0 K = N = 0 K = N = 1 K = N = 3 K = N = 1 K = N = 0 K = N = 0 K = 1 2 3 3 2 1 2 1 1 1 2 1 1 N = 0 K = 1 F(S)=0 F(S)=0 F(S)=0 F(S)=1 F(S)=1 F(S)=1 F(S)=1 MAX MIN α = β = α = β = α = β = α = β = α = β = α = β = α = β = α = β = α = β = α = β = α = β = α = β = α = β = α = β = α = β =
  • 67. N = 4 K = 0 1 N = 3 K = 1 0 N = 2 K = 1 0 N = 1 K = 1 N = 0 K = 1 N = 1 K = 0 N = 2 K = 1 N = 0 K = 1 N = 0 K = 1 N = 1 K = N = 3 K = 0 N = 1 K = 1 N = 0 K = N = 0 K = 0 1 2 3 3 2 1 2 1 1 1 2 1 1 N = 0 K = 1 1 F(S)=0 F(S)=0 F(S)=0 F(S)=1 F(S)=1 F(S)=1 F(S)=1 MAX MIN α = β = 1 0 α = 0 β = α = 0 β = 1 0 α = β = 0 α = 1 β = α = 0 β = 0 α = 0 β = 0 α = 0 β = 1 α = 0 β = α = 0 β = 0 α = 0 β = α = 1 β = 0 α = β = α = 1 β = 0 α = 0 β = 1
  • 68.  
  • 69.

Editor's Notes

  1. INTELIGENCIA ARTIFICIAL Jorge Rodriguez
  2. INTELIGENCIA ARTIFICIAL Jorge Rodriguez
  3. INTELIGENCIA ARTIFICIAL Jorge Rodriguez
  4. INTELIGENCIA ARTIFICIAL Jorge Rodriguez
  5. INTELIGENCIA ARTIFICIAL Jorge Rodriguez
  6. INTELIGENCIA ARTIFICIAL Jorge Rodriguez