SlideShare une entreprise Scribd logo
1  sur  5
Télécharger pour lire hors ligne
1 Game Playing
(a) UsetheMinimaxalgorithmtocomputetheminimaxvalueat
each node for the game tree below.
4
-11
1
1
14 1
-15
8 -15
-11
-11
-5 -11
-12
-12 5
4
5
5
5 10
-6
14 -6
4
4
9 4
-13
-13 3
min
max
min
max
(b) UseAlpha-BetaPruningtocomputetheminimaxvalueateach
node for the game tree below, assuming children are visited left to right.
Show the alpha and beta values at each node. Show which branches are
pruned.
1
ARTIFICIAL INTELLIGENCE
Our online Tutors are available 24*7 to provide Help with Artificial Intelligence Homework/Assignment
or a long term Graduate/Undergraduate Artificial Intelligence Project. Our Tutors being experienced
and proficient in Artificial Intelligence ensure to provide high quality Artificial Intelligence Homework
Help. Upload your Artificial Intelligence Assignment at ‘Submit Your Assignment’ button or email it
to info@assignmentpedia.com. You can use our ‘Live Chat’ option to schedule an Online Tutoring
session with our Artificial Intelligence Tutors.
−∞, ∞
−∞, ∞
−∞, ∞
−∞, ∞
8 -14
−14, ∞
-5 -13
−∞, −13
−∞, −13
15 15
pruned
6 4
−13, ∞
−13, ∞
−13, ∞
-12 -1
−12, ∞
2 15
−13, 2
−13, 2
11 0
0, 2
10 13
min
max
min
max
Figure 1: Upon Arrival
2, ∞
−∞, −13
−13, ∞
−∞, −14
8 -14
−14, −13
-5 -13
−13, −13
−∞, −13
15 15
pruned
6 4
−13, 2
2, ∞
−13, −12
-12 -1
−12, 2
2 15
2, 2
−13, 0
11 0
0, 2
10 13
min
max
min
max
Figure 2: Upon Departure
2
2 A∗
A
B C
D E
F G
8
3
9
2
7
10
3
5
1
1
(a) Inthefigureabove,letAbethestartstateandEbethegoal
state. The weights on the edges reflect the cost to traverse them. Show
the ordered contents of the open and closed queues for each stage of the A∗
algorithm. The heuristic function values are given by the table below.
node A B C D E F G
h(n) 10 3 9 5 0 1 1
The following shows the state of the queues after each round. The queue
objects are in the form XY (z) where X is the node identity, Y is the pre-
ceding node in the path under consideration to reach X, and z is the value
f(z) = g(z) + h(z) where h is given above and g is the cost of the path
being considered that leads to X.
Open Closed
{A(10)} {}
{BA(11), DA(14)} {A(10)}
{DA(14), EB(15), CB(20)} {A(10), BA(11)}
{FD(13), EB(15), CB(20)} {A(10), BA(11), DA(14)}
{GF (14), EB(15), CB(20)} {A(10), BA(11), DA(14), FD(13)}
{EG(14), CB(20)} {A(10), BA(11), DA(14), FD(13), GF (14)}
After this round, EG is pulled off the queue and the algorithm ends. Fol-
lowing backpointers will yield the path ADFGE.
3
(b) Whatpathisproducedbyrunningthebestfirstgreedyalgo-
rithm?
A → B → E
This can be seen by repeating the above algorithm but using f = h to
compute the z value.
Open Closed
{A(10)} {}
{BA(3), DA(5)} {A(10)}
{EB(0), DA(5), CB(9)} {A(10), BA(3)}
3 Simulated Annealing
f(x) = max{(4−|x|, 2−|x−6|, 2−|x+6|}. It
has three peaks with one forming a unique global maximum. Perform 8 rounds of
simulated annealing using 4 as your start point, letting the temperature decrease
by a factor of 0.9 each round. A point x has four successors: {x + 2, x + 1, x −
1, x − 2}. Show all of your work, including the current point, the successor
chosen, the round temperature, and the probability of changing position given
the successor and the temperature.
Answers will respect the following constraints.
1. 0 ≤ i ≤ 7
2. Xi+1 ∈ {Xi, Yi}
3. |Yi − Xi| ∈ {1, 2}
4. Ti = 2(0.9)i
5. Pi ∈ {1, e−1/Ti
, e−2/Ti
}
6. Pi = min{1, e(f(Yi)−f(Xi))/Ti
}
7. F(Yi) ≥ f(Xi) ⇒ Xi+1 = Yi, Pi = 1
This can also be interpreted using the following table. Note that here we assume
an initial temperature of 2. As this was not specified in the original assignment
wording, it will not be enforced during grading.
4
i Xi Yi Ti Pi
0 4 Y0 2.0000 {1}
1 {X0, Y0} Y1 1.8000 {1, 0.3292, 0.5738}
2 {X1, Y1} Y2 1.6200 {1, 0.2910, 0.5394}
3 {X2, Y2} Y3 1.4580 {1, 0.2537, 0.5037}
4 {X3, Y3} Y4 1.3122 {1, 0.2178, 0.4667}
5 {X4, Y4} Y5 1.1810 {1, 0.1839, 0.4288}
6 {X5, Y5} Y6 1.0629 {1, 0.1523, 0.3903}
7 {X6, Y6} Y7 0.9566 {1, 0.1236, 0.3516}
8 {X7, Y7}
My sample run through the algorithm produced the following answer.
i Xi Yi Ti Pi move?
0 4 3 2.0000 1 yes
1 3 5 1.8000 1 yes
2 5 3 1.6200 1 yes
3 3 4 1.4580 0.5037 yes
4 4 5 1.3122 1 yes
5 5 6 1.1810 1 yes
6 6 7 1.0629 0.3903 no
7 6 5 0.9566 0.3516 no
8 6
This particular run converged to the local maximum at 6.
5
visit us at www.assignmentpedia.com or email us at info@assignmentpedia.com or call us at +1 520 8371215

Contenu connexe

En vedette

Presentacion 3 g
Presentacion 3 gPresentacion 3 g
Presentacion 3 g
M2oviedo
 
Pinnacle Tele Services introduction
Pinnacle Tele Services introductionPinnacle Tele Services introduction
Pinnacle Tele Services introduction
Abhinav Bansal
 
Detección del Trastorno Mental Grave en Atención Primaria (por el Dr. Romeu)
Detección del Trastorno Mental Grave en Atención Primaria (por el Dr. Romeu)Detección del Trastorno Mental Grave en Atención Primaria (por el Dr. Romeu)
Detección del Trastorno Mental Grave en Atención Primaria (por el Dr. Romeu)
aneronda
 
Sistema financiero colombiano
Sistema financiero colombianoSistema financiero colombiano
Sistema financiero colombiano
Andres Felipe
 

En vedette (10)

Megacorporations: Wealth equals Power - Ropecon 2014
Megacorporations: Wealth equals Power - Ropecon 2014Megacorporations: Wealth equals Power - Ropecon 2014
Megacorporations: Wealth equals Power - Ropecon 2014
 
Cargols a la llauna
Cargols a la llaunaCargols a la llauna
Cargols a la llauna
 
Rigid-Flex Design Eases System Assembly
Rigid-Flex Design Eases System AssemblyRigid-Flex Design Eases System Assembly
Rigid-Flex Design Eases System Assembly
 
Presentacion 3 g
Presentacion 3 gPresentacion 3 g
Presentacion 3 g
 
Southeast asia mobile game market information handbook
Southeast asia mobile game market information handbook Southeast asia mobile game market information handbook
Southeast asia mobile game market information handbook
 
Calendario Viernes 20 Marzo de 2015
Calendario Viernes 20 Marzo de 2015Calendario Viernes 20 Marzo de 2015
Calendario Viernes 20 Marzo de 2015
 
Gearing up for mobile push notifications
Gearing up for mobile push notificationsGearing up for mobile push notifications
Gearing up for mobile push notifications
 
Pinnacle Tele Services introduction
Pinnacle Tele Services introductionPinnacle Tele Services introduction
Pinnacle Tele Services introduction
 
Detección del Trastorno Mental Grave en Atención Primaria (por el Dr. Romeu)
Detección del Trastorno Mental Grave en Atención Primaria (por el Dr. Romeu)Detección del Trastorno Mental Grave en Atención Primaria (por el Dr. Romeu)
Detección del Trastorno Mental Grave en Atención Primaria (por el Dr. Romeu)
 
Sistema financiero colombiano
Sistema financiero colombianoSistema financiero colombiano
Sistema financiero colombiano
 

Plus de Assignmentpedia

Transmitter side components
Transmitter side componentsTransmitter side components
Transmitter side components
Assignmentpedia
 
Single object range detection
Single object range detectionSingle object range detection
Single object range detection
Assignmentpedia
 
Sequential radar tracking
Sequential radar trackingSequential radar tracking
Sequential radar tracking
Assignmentpedia
 
Radar cross section project
Radar cross section projectRadar cross section project
Radar cross section project
Assignmentpedia
 
Radar application project help
Radar application project helpRadar application project help
Radar application project help
Assignmentpedia
 
Parallel computing homework help
Parallel computing homework helpParallel computing homework help
Parallel computing homework help
Assignmentpedia
 
Network costing analysis
Network costing analysisNetwork costing analysis
Network costing analysis
Assignmentpedia
 
Matlab simulation project
Matlab simulation projectMatlab simulation project
Matlab simulation project
Assignmentpedia
 
Matlab programming project
Matlab programming projectMatlab programming project
Matlab programming project
Assignmentpedia
 
Image processing project using matlab
Image processing project using matlabImage processing project using matlab
Image processing project using matlab
Assignmentpedia
 
Help with root locus homework1
Help with root locus homework1Help with root locus homework1
Help with root locus homework1
Assignmentpedia
 
Theory of computation homework help
Theory of computation homework helpTheory of computation homework help
Theory of computation homework help
Assignmentpedia
 

Plus de Assignmentpedia (20)

Transmitter side components
Transmitter side componentsTransmitter side components
Transmitter side components
 
Single object range detection
Single object range detectionSingle object range detection
Single object range detection
 
Sequential radar tracking
Sequential radar trackingSequential radar tracking
Sequential radar tracking
 
Resolution project
Resolution projectResolution project
Resolution project
 
Radar cross section project
Radar cross section projectRadar cross section project
Radar cross section project
 
Radar application project help
Radar application project helpRadar application project help
Radar application project help
 
Parallel computing homework help
Parallel computing homework helpParallel computing homework help
Parallel computing homework help
 
Network costing analysis
Network costing analysisNetwork costing analysis
Network costing analysis
 
Matlab simulation project
Matlab simulation projectMatlab simulation project
Matlab simulation project
 
Matlab programming project
Matlab programming projectMatlab programming project
Matlab programming project
 
Links design
Links designLinks design
Links design
 
Image processing project using matlab
Image processing project using matlabImage processing project using matlab
Image processing project using matlab
 
Help with root locus homework1
Help with root locus homework1Help with root locus homework1
Help with root locus homework1
 
Transmitter subsystem
Transmitter subsystemTransmitter subsystem
Transmitter subsystem
 
Computer Networks Homework Help
Computer Networks Homework HelpComputer Networks Homework Help
Computer Networks Homework Help
 
Theory of computation homework help
Theory of computation homework helpTheory of computation homework help
Theory of computation homework help
 
Econometrics Homework Help
Econometrics Homework HelpEconometrics Homework Help
Econometrics Homework Help
 
Video Codec
Video CodecVideo Codec
Video Codec
 
Radar Spectral Analysis
Radar Spectral AnalysisRadar Spectral Analysis
Radar Spectral Analysis
 
Pi Controller
Pi ControllerPi Controller
Pi Controller
 

Dernier

Artificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsArtificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and Myths
Joaquim Jorge
 
IAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsIAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI Solutions
Enterprise Knowledge
 

Dernier (20)

08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
 
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationFrom Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
 
presentation ICT roal in 21st century education
presentation ICT roal in 21st century educationpresentation ICT roal in 21st century education
presentation ICT roal in 21st century education
 
Handwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsHandwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed texts
 
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
 
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdfThe Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
 
Strategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a FresherStrategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a Fresher
 
How to convert PDF to text with Nanonets
How to convert PDF to text with NanonetsHow to convert PDF to text with Nanonets
How to convert PDF to text with Nanonets
 
🐬 The future of MySQL is Postgres 🐘
🐬  The future of MySQL is Postgres   🐘🐬  The future of MySQL is Postgres   🐘
🐬 The future of MySQL is Postgres 🐘
 
Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)
 
Artificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsArtificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and Myths
 
What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?
 
Tech Trends Report 2024 Future Today Institute.pdf
Tech Trends Report 2024 Future Today Institute.pdfTech Trends Report 2024 Future Today Institute.pdf
Tech Trends Report 2024 Future Today Institute.pdf
 
A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)
 
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
 
Automating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps ScriptAutomating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps Script
 
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdfUnderstanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
 
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot TakeoffStrategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
 
IAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsIAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI Solutions
 
Presentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreterPresentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreter
 

Artificial intelligence homework help

  • 1. 1 Game Playing (a) UsetheMinimaxalgorithmtocomputetheminimaxvalueat each node for the game tree below. 4 -11 1 1 14 1 -15 8 -15 -11 -11 -5 -11 -12 -12 5 4 5 5 5 10 -6 14 -6 4 4 9 4 -13 -13 3 min max min max (b) UseAlpha-BetaPruningtocomputetheminimaxvalueateach node for the game tree below, assuming children are visited left to right. Show the alpha and beta values at each node. Show which branches are pruned. 1 ARTIFICIAL INTELLIGENCE Our online Tutors are available 24*7 to provide Help with Artificial Intelligence Homework/Assignment or a long term Graduate/Undergraduate Artificial Intelligence Project. Our Tutors being experienced and proficient in Artificial Intelligence ensure to provide high quality Artificial Intelligence Homework Help. Upload your Artificial Intelligence Assignment at ‘Submit Your Assignment’ button or email it to info@assignmentpedia.com. You can use our ‘Live Chat’ option to schedule an Online Tutoring session with our Artificial Intelligence Tutors.
  • 2. −∞, ∞ −∞, ∞ −∞, ∞ −∞, ∞ 8 -14 −14, ∞ -5 -13 −∞, −13 −∞, −13 15 15 pruned 6 4 −13, ∞ −13, ∞ −13, ∞ -12 -1 −12, ∞ 2 15 −13, 2 −13, 2 11 0 0, 2 10 13 min max min max Figure 1: Upon Arrival 2, ∞ −∞, −13 −13, ∞ −∞, −14 8 -14 −14, −13 -5 -13 −13, −13 −∞, −13 15 15 pruned 6 4 −13, 2 2, ∞ −13, −12 -12 -1 −12, 2 2 15 2, 2 −13, 0 11 0 0, 2 10 13 min max min max Figure 2: Upon Departure 2
  • 3. 2 A∗ A B C D E F G 8 3 9 2 7 10 3 5 1 1 (a) Inthefigureabove,letAbethestartstateandEbethegoal state. The weights on the edges reflect the cost to traverse them. Show the ordered contents of the open and closed queues for each stage of the A∗ algorithm. The heuristic function values are given by the table below. node A B C D E F G h(n) 10 3 9 5 0 1 1 The following shows the state of the queues after each round. The queue objects are in the form XY (z) where X is the node identity, Y is the pre- ceding node in the path under consideration to reach X, and z is the value f(z) = g(z) + h(z) where h is given above and g is the cost of the path being considered that leads to X. Open Closed {A(10)} {} {BA(11), DA(14)} {A(10)} {DA(14), EB(15), CB(20)} {A(10), BA(11)} {FD(13), EB(15), CB(20)} {A(10), BA(11), DA(14)} {GF (14), EB(15), CB(20)} {A(10), BA(11), DA(14), FD(13)} {EG(14), CB(20)} {A(10), BA(11), DA(14), FD(13), GF (14)} After this round, EG is pulled off the queue and the algorithm ends. Fol- lowing backpointers will yield the path ADFGE. 3
  • 4. (b) Whatpathisproducedbyrunningthebestfirstgreedyalgo- rithm? A → B → E This can be seen by repeating the above algorithm but using f = h to compute the z value. Open Closed {A(10)} {} {BA(3), DA(5)} {A(10)} {EB(0), DA(5), CB(9)} {A(10), BA(3)} 3 Simulated Annealing f(x) = max{(4−|x|, 2−|x−6|, 2−|x+6|}. It has three peaks with one forming a unique global maximum. Perform 8 rounds of simulated annealing using 4 as your start point, letting the temperature decrease by a factor of 0.9 each round. A point x has four successors: {x + 2, x + 1, x − 1, x − 2}. Show all of your work, including the current point, the successor chosen, the round temperature, and the probability of changing position given the successor and the temperature. Answers will respect the following constraints. 1. 0 ≤ i ≤ 7 2. Xi+1 ∈ {Xi, Yi} 3. |Yi − Xi| ∈ {1, 2} 4. Ti = 2(0.9)i 5. Pi ∈ {1, e−1/Ti , e−2/Ti } 6. Pi = min{1, e(f(Yi)−f(Xi))/Ti } 7. F(Yi) ≥ f(Xi) ⇒ Xi+1 = Yi, Pi = 1 This can also be interpreted using the following table. Note that here we assume an initial temperature of 2. As this was not specified in the original assignment wording, it will not be enforced during grading. 4
  • 5. i Xi Yi Ti Pi 0 4 Y0 2.0000 {1} 1 {X0, Y0} Y1 1.8000 {1, 0.3292, 0.5738} 2 {X1, Y1} Y2 1.6200 {1, 0.2910, 0.5394} 3 {X2, Y2} Y3 1.4580 {1, 0.2537, 0.5037} 4 {X3, Y3} Y4 1.3122 {1, 0.2178, 0.4667} 5 {X4, Y4} Y5 1.1810 {1, 0.1839, 0.4288} 6 {X5, Y5} Y6 1.0629 {1, 0.1523, 0.3903} 7 {X6, Y6} Y7 0.9566 {1, 0.1236, 0.3516} 8 {X7, Y7} My sample run through the algorithm produced the following answer. i Xi Yi Ti Pi move? 0 4 3 2.0000 1 yes 1 3 5 1.8000 1 yes 2 5 3 1.6200 1 yes 3 3 4 1.4580 0.5037 yes 4 4 5 1.3122 1 yes 5 5 6 1.1810 1 yes 6 6 7 1.0629 0.3903 no 7 6 5 0.9566 0.3516 no 8 6 This particular run converged to the local maximum at 6. 5 visit us at www.assignmentpedia.com or email us at info@assignmentpedia.com or call us at +1 520 8371215