1. Trang chủ
  2. » Tất cả

trí tuệ nhân tạo cao hoàng trứ đề thi giữa kỳ 2012 kstn 2009 [sinhvienzone.com]

1 7 0

Đang tải... (xem toàn văn)

THÔNG TIN TÀI LIỆU

Thông tin cơ bản

Định dạng
Số trang 1
Dung lượng 133,98 KB

Nội dung

Midterm Exam ARTIFICIAL INTELLIGENCE Class: CS Honour 2009 Questions: – Total mark: 10 – Time: 60 minutes Open book Question (4 marks): Hill Climbing can be applied to a traveling salesman-like problem as follows Each path going through all the cities is viewed as a state and each state transition is performed by switching the order of two cities in a path The heuristic function value of a path is defined as its total length .C om Consider the city map with four cities A, B, C, and D, and their pairwise distances as in Figure Apply Hill Climbing to look for a shortest possible path that visits each city exactly once (not required to go back to the start city), assuming that the initial path is ABCD, whose total length is + + = A B ne A C B Zo E F D Figure K G Figure H I J L M N O P Q R S 10 22 18 12 nh Vi en C D Si Question (2 marks): Consider a 2-player game search tree of states with static evaluation values of the leaf nodes as shown in Figure Suppose that, the smaller an evaluation value is, the better it is for the player who is going to make a move from the root node (a) According to the Minimax algorithm, which next state that player will choose? (b) Using alpha-beta cut-off, which branches will be pruned in the search, assuming that the nodes are examined from left to right? Question (4 marks): Applying Goal Stack Planning, trace the steps followed to make a plan for the block world in Figure 3, showing the stack contents in each step Assume that the only possible actions are STACK, UNSTACK, PICKUP, and PUTDOWN A B A C Start C Goal Figure End SinhVienZone.com B https://fb.com/sinhvienzonevn

Ngày đăng: 30/01/2020, 23:13