Rédigé par des étudiants ayant réussi Disponible immédiatement après paiement Lire en ligne ou en PDF Mauvais document ? Échangez-le gratuitement 4,6 TrustPilot
logo-home
Autre

COS3751 assignment 3 memo 2024

Note
-
Vendu
4
Pages
8
Publié le
24-08-2024
Écrit en
2024/2025

COS3751 assignment 3 memo 2024: Question 1: 30 Marks (1.1) Highlight the differences between a tree and graph search. (1.2) How does a Breadth First Search (BFS) differ from the general tree search algorithm? What is the major reason for implementing the algorithm in this way? Provide an example to aid your discussion. (1.3) Consider an example of a sliding-block puzzle game state provided below (Figure 1). How many distinct states are there for puzzles of this sort? How many search nodes? Explain how you reached your answer. IN L D ECBHJO AFGM K Figure 1: Sliding-block puzzleCOS3751/102/1/20 22 Question 2: 30 Marks (1.1) Explain the difference between a single and multi-agent environment. (1.2) Explain the difference between a Deterministic and Stochastic environment. (1.3) Consider a game of chess. Is this a fully observable, partially observable, or unobservableenvironment? Clearly explain your answer. Question 3: 30 Marks (3.1) List and explain the measures used to determine problem solving performance. (3.2) List and discuss three types of queues that may be employed in a search. (3.3) What is the purpose of the explored set? Question 4: 30 Marks Artificial Intelligence is a powerful technique that has several positive usage aspects while avoiding unintended negative side effects. AI experts have a moral obligation to use the technology well. (4.1) State and Describe the positive aspects of AI technology in a society. (4.2) Every scientist, engineers and IS executives face ethical considerations regarding the type of AI project they should employ. Describe how an AI project should be executed to ensure safety and be

Montrer plus Lire moins
Établissement
Cours

Aperçu du contenu

COS3751 ASSIGNMENT 3 2024
memo (detailed explanation)

Crystal Indigo!
Crystal Indigo!
Providing all solutions you need anytime
+27 76 626 8187

, Question 1

1.1 Differences between Tree and Graph Search
Tree search Graph search
A tree search algorithm starts at a root node and A graph search algorithm also starts at a root
explores branches to find a goal state. node but accounts for the possibility of cycles
and revisits to the same nodes.
It assumes that each node is unique and doesn't Maintains an explored set to track visited nodes,
revisit nodes. ensuring that the algorithm does not revisit them
and thus avoids infinite loops.
No need to keep track of visited nodes since all More complex than tree search due to the need
nodes are distinct. to handle redundant paths and cycles.
The main difference between the two is that we don’t need to keep track of already explored nodes,
since a simple tree cannot have revisited states. So the tree search simple selects a leaf node from
the frontier, goal tests, and if it is a goal it returns the path to that node. Applying a tree search to a
graph creates problems since there may be redundant paths and loops. The graph search solves this
problem by augmenting the tree search with an explored list. When nodes are generated during the
search that are already on the closed list they are not added to the frontier.


1.2 How does a Breadth First Search (BFS) differ from the general tree
search algorithm? What is the major reason for implementing the algorithm in
this way? Provide an example to aid your discussion.
BFS explores the search space level by level, visiting all nodes at the current depth before moving
on to nodes at the next depth level. It guarantees finding the shortest path in an unweighted graph,
making it suitable for scenarios where the goal is to minimize steps or actions.

The general tree search algorithm does not prescribe a specific order of node exploration, meaning
it can be implemented as BFS, DFS, or another strategy. Unlike BFS, a general tree search might
not guarantee the shortest path if it does not explore nodes level by level. In a general tree search
the goal test phase happens on expansion. Since a BFS has degraded performace in large search
spaces, the goal test takes place during generation. Any suitable example to illustrate this concept is
considered
Major Reason for Implementing BFS:
BFS is implemented to ensure that the shortest path is found in the minimum number of steps,
which is crucial in scenarios where the cost is associated with the number of actions taken. For
example, consider a maze where you need to find the shortest path from the entrance to the exit.
BFS will explore all possible paths leading one step away from the entrance, then all paths leading
two steps away, and so on, ensuring the shortest path is found.

1.3 Consider an example of a sliding-block puzzle game state provided
below (Figure 1). How many distinct states are there for puzzles of this sort?
How many search nodes? Explain how you reached your answer.
1. Distinct States:
• The number of distinct states in a sliding-block puzzle depends on the number of
blocks and positions they can occupy. For a 15-puzzle (4x4 grid with 15 blocks and

École, étude et sujet

Établissement
Cours

Infos sur le Document

Publié le
24 août 2024
Nombre de pages
8
Écrit en
2024/2025
Type
AUTRE
Personne
Inconnu

Sujets

€6,24
Accéder à l'intégralité du document:

Mauvais document ? Échangez-le gratuitement Dans les 14 jours suivant votre achat et avant le téléchargement, vous pouvez choisir un autre document. Vous pouvez simplement dépenser le montant à nouveau.
Rédigé par des étudiants ayant réussi
Disponible immédiatement après paiement
Lire en ligne ou en PDF

Faites connaissance avec le vendeur

Seller avatar
Les scores de réputation sont basés sur le nombre de documents qu'un vendeur a vendus contre paiement ainsi que sur les avis qu'il a reçu pour ces documents. Il y a trois niveaux: Bronze, Argent et Or. Plus la réputation est bonne, plus vous pouvez faire confiance sur la qualité du travail des vendeurs.
CrystalIndigo University of South Africa (Unisa)
S'abonner Vous devez être connecté afin de suivre les étudiants ou les cours
Vendu
486
Membre depuis
5 année
Nombre de followers
226
Documents
73
Dernière vente
5 mois de cela
CrystalIndigo Solutions

providing all solutions to all computer science modules

4,1

51 revues

5
27
4
13
3
6
2
1
1
4

Documents populaires

Récemment consulté par vous

Pourquoi les étudiants choisissent Stuvia

Créé par d'autres étudiants, vérifié par les avis

Une qualité sur laquelle compter : rédigé par des étudiants qui ont réussi et évalué par d'autres qui ont utilisé ce document.

Le document ne convient pas ? Choisis un autre document

Aucun souci ! Tu peux sélectionner directement un autre document qui correspond mieux à ce que tu cherches.

Paye comme tu veux, apprends aussitôt

Aucun abonnement, aucun engagement. Paye selon tes habitudes par carte de crédit et télécharge ton document PDF instantanément.

Student with book image

“Acheté, téléchargé et réussi. C'est aussi simple que ça.”

Alisha Student

Foire aux questions