Docsity
Docsity

Prepare for your exams
Prepare for your exams

Study with the several resources on Docsity


Earn points to download
Earn points to download

Earn points by helping other students or get them with a premium plan


Guidelines and tips
Guidelines and tips

Homework 3 - Introduction Artificial Intelligence | CAP 4630, Assignments of Computer Science

Material Type: Assignment; Class: Intro Artifical Intelligence; Subject: Computer Applications; University: Florida Atlantic University; Term: Spring 2009;

Typology: Assignments

Pre 2010

Uploaded on 07/23/2009

koofers-user-kbc
koofers-user-kbc 🇺🇸

10 documents

1 / 2

Toggle sidebar

This page cannot be seen from the preview

Don't miss anything!

bg1
CAP 4630 Introduction to AI (2009 Spring)
Homework 3 (12 pts)
Due: 03/23/2009
Question 1: Describe Hill-Climbing Search (0.5 pt), please explain why standard hill-
climbing algorithm suffer from the local maxima (or local minima) problem (0.5 pt)
Question 2: Describe local beam search (0.5 pt), if k=1, which search method is the local
beam search is equivalent to (0.5 pt)?
Question 3: Describe simulated annealing search (0.5 pt), if T=0 at all times, which
search method is the simulated annealing search equivalent to (0.5 pt)?
Question 4: Describe genetic algorithm search (1 pt). Assume you were asked to place 8
queens on an 8x8 chessboard such that no two queens can attack each other (i.e. share the
same row, column, or diagonal). The chromosome (representing an individual) and
crossover for the 8-queens problem shown in the class generate chromosomes with
exactly one queen per column, but often more than one queens (or none) per row.
Propose a chromosome representation and crossover and mutation mechanisms that
generate result in exactly one queen per column and one queen per row (1 pt).
Question 5: In Mini-max search, what do we assume about our opponent (0.5 pt), given a
two-ply game tree in Figure 1, starting from the root node, please list the nodes in the
order they are visited by the Mini-max search (0.5 pt) please show the utility values of
every node (0.5 pt).
Question 6: Given a two-ply game tree in Figure 1, starting from the root node, please
list the nodes in the order they are visited by α-β pruning (1 pt) please show the utility
values of every node (1 pt), and report the nodes which are pruned by α-β pruning (0.5 pt)
pf2

Partial preview of the text

Download Homework 3 - Introduction Artificial Intelligence | CAP 4630 and more Assignments Computer Science in PDF only on Docsity!

CAP 4630 Introduction to AI (2009 Spring)

Homework 3 (12 pts)

Due: 03/23/

Question 1: Describe Hill-Climbing Search (0.5 pt), please explain why standard hill- climbing algorithm suffer from the local maxima (or local minima) problem (0.5 pt)

Question 2: Describe local beam search (0.5 pt), if k=1, which search method is the local beam search is equivalent to (0.5 pt)?

Question 3: Describe simulated annealing search (0.5 pt), if T=0 at all times, which search method is the simulated annealing search equivalent to (0.5 pt)?

Question 4: Describe genetic algorithm search (1 pt). Assume you were asked to place 8 queens on an 8x8 chessboard such that no two queens can attack each other (i.e. share the same row, column, or diagonal). The chromosome (representing an individual) and crossover for the 8-queens problem shown in the class generate chromosomes with exactly one queen per column, but often more than one queens (or none) per row. Propose a chromosome representation and crossover and mutation mechanisms that generate result in exactly one queen per column and one queen per row (1 pt).

Question 5: In Mini-max search, what do we assume about our opponent (0.5 pt), given a two-ply game tree in Figure 1, starting from the root node, please list the nodes in the order they are visited by the Mini-max search (0.5 pt) please show the utility values of every node (0.5 pt).

Question 6: Given a two-ply game tree in Figure 1, starting from the root node, please list the nodes in the order they are visited by α-β pruning (1 pt) please show the utility values of every node (1 pt), and report the nodes which are pruned by α-β pruning (0.5 pt)

A

B C

D E F G

H I J K L M N O P Q R

S

Max node

Min node

Figure 1

Question 7: What is a logical agent? (0.5 pt), what is a knowledge base (KB) (0.5 pt), what does KB╞ α stand for (0.5 pt), and in the Wumpus world example, how to express that “when the wumpus is killed, it emits a woeful scream that can be perceived anywhere in the cave” (0.5 pt)

Question 8: Consider a vocabulary with only four proposition, A, B, C and D. How many models are there for the sentences (A∧B) ∨ (B∧C) and (A⇔B⇔C) (1 pt)