首页 > > 详细

CPSC 481代写、辅导Python,c++编程

Page 1 of 7
CPSC 481- Artificial Intelligence
Handout – Intro, StateSpaceSearch & Heuristics
1. Short answer questions
1) What is an intelligent agent?
2) Create and justify your own definition of artificial intelligence.
3) What is the general problem-solving process?
4) What is data-driven search? For what types of problems do we want to use data-driven search?
5) If a machine passes the Turing test, can the machine solve most AI problems? Why or why not?
Page 2 of 7
6) If the opponent makes a mistake, will the Mini-max still work?
7) What are the different types of environment for agents?
Page 3 of 7
2. Search
Answer the following questions about the search problem shown above. S is the start state, G is the goal state.
Break any ties alphabetically. For the questions that ask for a path, please give your answers in the form `S - A
- D - G.'
(a) What path would breadth-first graph search return for this search problem?
(b) What path would depth-first graph search return for this search problem?
(c) What path would A* graph search, using h1 heuristic as shown in the table below, return for this
search problem?
(d) Consider the heuristics for this problem shown in the table above.
i. Is h1 admissible? Yes No
ii. Is h2 admissible? Yes No
iii.
Is h1 consistent (monotone/local admissible), why or why not?
iv.
h1 and h2, which one is more informed and why?
State h1 h2

3. Heuristics
The sliding-tile puzzle consists of three black tiles, three white tiles, and an empty space in the
configuration shown in the following figure. The puzzle has two legal moves with associated costs: A tile
may move into an adjacent empty location. This has a cost of 1. A tile can hop over one or two other tiles
into the empty position. This has a cost equal to the number of tiles jumped over. The goal is to have all
the white tiles to the left of all the black tiles. The position of the blank is not important.
B B B W W W
a. (6 pts) Draw the first three levels (level 0 - 2) of the state space graph.
Page 6 of 7
b. (8 pts) Propose an admissible heuristic for solving this problem. You are to describe and define h(n)
and explain why it is admissible.
Page 7 of 7
4. Game Tree
1) The game tree below illustrates a position reached in the game. It is MIN's turn to move. Inside each
leaf node is the estimated score of that resulting position returned by the heuristic static evaluator.
FILL IN EACH BLANK SQUARE WITH THE PROPER VALUE ACCORDING TO MINI-MAX SEARCH.
2) (2 pts) What is MIN's best move (write A or B)
3) This is the same tree and conditions as above. CROSS OUT EACH LEAF NODE THAT WILL NOT BE
EXAMINED BECAUSE IT IS PRUNED BY ALPHA-BETA PRUNING. You do NOT need to cross out branches.
You do not need to indicate the branch node values again.

联系我们
  • QQ:99515681
  • 邮箱:99515681@qq.com
  • 工作时间:8:00-21:00
  • 微信:codinghelp
热点标签

联系我们 - QQ: 99515681 微信:codinghelp
程序辅导网!