100% satisfaction guarantee Immediately available after payment Both online and in PDF No strings attached 4.2 TrustPilot
logo-home
Exam (elaborations)

COS3751 Assignment 2 2023 - DUE 21 July

Rating
-
Sold
-
Pages
7
Grade
A+
Uploaded on
14-07-2023
Written in
2022/2023

QUESTIONS AND ANSWERS










Whoops! We can’t load your doc right now. Try again or contact support.

Document information

Uploaded on
July 14, 2023
Number of pages
7
Written in
2022/2023
Type
Exam (elaborations)
Contains
Questions & answers

Content preview

COS3751
Assignment
2 2023 - DUE
21 July
2023

, QUESTION 1
What is utility function and why is it used in adversarial searches.
Also called an objective function or a payoff function.

Defines the final numeric value for a game that ends in a terminal state s for a player p.

An agent’s utility function is essentially an internalisation of the performance measure.

It captures the preferences of an agent and assigns a single number to express the
desirability of a state.

The utility function allows us to determine the apparent desirability of a state



Explain how forward pruning works. Provide at least one approach to
forward pruning in your explanation, as well as a problem that may be
encountered with forward pruning.
Allows us to ignore portions of the search tree that make no difference to the final choice.
Forward pruning, meaning that some moves at a given node are pruned immediately
without consideration.
Beam search: on each ply, consider only a “beam” of the n best moves rather than
considering all possible moves. This approach is rather dangerous because there’s no
guarantee that the best move won’t be pruned away.

Does the order in which nodes are examined in minimax matter? Explain your
answer.
Yes.

Minimax algorithm is a depth first, so at any one time we just have to consider the nodes
along a single path in the tree.

Also it uses a simple recursive computation of the minimax values of each successor state,
directly implementing the defining equations.

The right order of nodes could result in pruning earlier. For example: if a _value of 2 (low
values are worse for MAX) is returned for the first child of a MIN node, and a subsequent
child’s child returns 5, then no more children of the child need to be examined. On the other
hand, if that first child returned 10, and the following child returned 5, all the child’s children
may have to be examined.

Get to know the seller

Seller avatar
Reputation scores are based on the amount of documents a seller has sold for a fee and the reviews they have received for those documents. There are three levels: Bronze, Silver and Gold. The better the reputation, the more your can rely on the quality of the sellers work.
ZaProff University of South Africa (Unisa)
View profile
Follow You need to be logged in order to follow users or courses
Sold
1974
Member since
2 year
Number of followers
527
Documents
2137
Last sold
1 day ago

3,8

308 reviews

5
130
4
61
3
63
2
23
1
31

Recently viewed by you

Why students choose Stuvia

Created by fellow students, verified by reviews

Quality you can trust: written by students who passed their exams and reviewed by others who've used these notes.

Didn't get what you expected? Choose another document

No worries! You can immediately select a different document that better matches what you need.

Pay how you prefer, start learning right away

No subscription, no commitments. Pay the way you're used to via credit card or EFT and download your PDF document instantly.

Student with book image

“Bought, downloaded, and aced it. It really can be that simple.”

Alisha Student

Frequently asked questions