100% de satisfacción garantizada Inmediatamente disponible después del pago Tanto en línea como en PDF No estas atado a nada 4,6 TrustPilot
logo-home
Otro

COS3751 ASSIGNMENT 2 Q&A 2023

Puntuación
-
Vendido
-
Páginas
10
Subido en
10-07-2023
Escrito en
2022/2023

COS3751 Techniques of Artificial Intelligence ASSIGNMENT 2 Due Date: 21 July 2023 Total Marks: 145 Unique Assignment Number: FOR SUPER SEMESTER – Semesters 1 & 2

Institución
Grado









Ups! No podemos cargar tu documento ahora. Inténtalo de nuevo o contacta con soporte.

Escuela, estudio y materia

Institución
Grado

Información del documento

Subido en
10 de julio de 2023
Número de páginas
10
Escrito en
2022/2023
Tipo
Otro
Personaje
Desconocido

Temas

Vista previa del contenido

Due Date: 21 July 2023 Total Marks: 145

Unique Assignment Number: 633536 FOR SUPER SEMESTER – Semesters 1 & 2


(1.1) Clearly explain what a utility function is, and why it is used during adversarial searches. (3)

(1.2) Is the ideal strategy only available if we have perfect information? Explain your answer.

(1.3) 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.

(1.4) Does the order in which nodes are examined in minimax matter? Explain your answer. (3)



(1.1) A utility function is a mathematical function used to assign values to different game states or
outcomes in a game. It represents a player's preference or satisfaction with each possible game state.
The utility function is used during adversarial searches, such as minimax, to evaluate the desirability
of different moves or strategies. By assigning values to game states, the utility function helps
determine the best move for a player in order to maximize their chances of winning.

(1.2) No, the ideal strategy is not only available if we have perfect information. The ideal strategy
refers to the best possible move or sequence of moves that can be made in a game. While perfect
information can certainly help in determining the ideal strategy, it is not always necessary. Players
can make reasonable assumptions or predictions about the unknown aspects of the game and still
come up with effective strategies. Imperfect information can add uncertainty and complexity to the
decision-making process, but it does not necessarily mean that the ideal strategy cannot be
achieved.

(1.3) Forward pruning is a technique used in game tree search algorithms to reduce the number of
nodes evaluated during the search. It involves eliminating or ignoring certain branches of the game
tree that are unlikely to lead to a desirable outcome. One approach to forward pruning is called
alpha-beta pruning.

Alpha-beta pruning works by maintaining two values, alpha and beta, during the search. Alpha
represents the maximum lower bound on the utility value that a player can achieve, and beta
represents the minimum upper bound. As the search progresses, if a node's alpha value becomes
greater than or equal to its beta value, it means that the node can never be reached in the actual
gameplay, and thus the rest of its subtree can be pruned.

, One problem encountered with forward pruning is that it can potentially lead to incorrect decisions.
Pruning certain branches of the game tree may cause the algorithm to miss important moves or
strategies that could have resulted in a better outcome. Therefore, careful consideration and analysis
are required to ensure that forward pruning is applied correctly and does not result in suboptimal
decisions.



(1.4) Yes, the order in which nodes are examined in minimax does matter. Minimax is a recursive
algorithm that explores the entire game tree to determine the best move for a player. The algorithm
alternates between maximizing and minimizing the utility values at each level of the tree. The order
in which nodes are examined determines the sequence of moves and, consequently, the final
decision made by the algorithm.

If nodes are examined in a different order, it can lead to different decisions being made by the
algorithm. The order in which nodes are examined can affect the pruning process in alpha-beta
pruning and can influence the outcome of the search. Therefore, the order of node examination is an
important factor in the effectiveness and efficiency of the minimax algorithm.

Question 2

(2.1) The minimax values for all nodes in Figure 1 are as follows:

Node A: Minimax value = 5

Node B: Minimax value = 0

Node C: Minimax value = -4

Node D: Minimax value = 5

Node E: Minimax value = -8

Node F: Minimax value = -4

Node G: Minimax value = 3

Node H: Minimax value = -3

Node I: Minimax value = -12

Node J: Minimax value = 5

Node K: Minimax value = -8

Node L: Minimax value = -3

Node M: Minimax value = 3

Node N: Minimax value = -4

Node O: Minimax value = -12

Node P: Minimax value = 5

Node Q: Minimax value = -8

Node R: Minimax value = -3
$9.64
Accede al documento completo:

100% de satisfacción garantizada
Inmediatamente disponible después del pago
Tanto en línea como en PDF
No estas atado a nada

Conoce al vendedor

Seller avatar
Los indicadores de reputación están sujetos a la cantidad de artículos vendidos por una tarifa y las reseñas que ha recibido por esos documentos. Hay tres niveles: Bronce, Plata y Oro. Cuanto mayor reputación, más podrás confiar en la calidad del trabajo del vendedor.
GoldenKey University of South Africa (Unisa)
Seguir Necesitas iniciar sesión para seguir a otros usuarios o asignaturas
Vendido
135
Miembro desde
4 año
Número de seguidores
122
Documentos
31
Última venta
5 meses hace

3.4

11 reseñas

5
4
4
1
3
3
2
1
1
2

Recientemente visto por ti

Por qué los estudiantes eligen Stuvia

Creado por compañeros estudiantes, verificado por reseñas

Calidad en la que puedes confiar: escrito por estudiantes que aprobaron y evaluado por otros que han usado estos resúmenes.

¿No estás satisfecho? Elige otro documento

¡No te preocupes! Puedes elegir directamente otro documento que se ajuste mejor a lo que buscas.

Paga como quieras, empieza a estudiar al instante

Sin suscripción, sin compromisos. Paga como estés acostumbrado con tarjeta de crédito y descarga tu documento PDF inmediatamente.

Student with book image

“Comprado, descargado y aprobado. Así de fácil puede ser.”

Alisha Student

Preguntas frecuentes