To Study Flashcards

1
Q

What is a state-search problem

A

It systematically explores all possible states from an initial state to find a goal state without prior knowledge of the path.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

What is the difference between completeness vs optimality conditions of a search strategy ?

A

Completeness of a search strategy ensures that it will find a solution if one exists, while optimality ensures that it will find the least-cost solution among all possible solutions.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

How does the look ahead tree search work?

A

an agent starts from an initial state, considers possible actions, uses a transition model to determine resulting states, and applies a goal test to identify the target state.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

What’s the difference between a tree and a graph search?

A

In a tree search, the structure is a hierarchical tree with a single path from the root to any node, while in a graph search, the structure can have cycles and multiple paths between nodes, requiring handling of previously visited nodes to avoid infinite loops.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

Consider the search-tree below.
n1
n2 n3
n4 n5 n6 n7

What order would the nodes be encountered if the graph was searched
(a) depth first left-to-right?
(b) breadth-first right-to-left?

A

Depth-First Search (left-to-right): n1, n2, n4, n5, n3, n6, n7
Breadth-First Search (right-to-left): n1, n3, n2, n7, n6, n5, n4

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

Summarise the advantages of depth-first

A

Memory Efficient: Uses less memory (O(bm)).
Path Finding: Quickly finds deep solutions in narrow trees.
Simple Implementation: Easily implemented with recursion.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

How does iterative deepening search obtain the advantages of both methods
while avoiding their disadvantages?

A

Memory Efficient: Uses low memory like DFS.
Complete and Optimal: Like BFS, ensures finding shortest path.

Avoids DFS Disadvantages:
Doesn’t get stuck in deep branches by incrementally increasing depth limits.

Avoids BFS Disadvantages:
Avoids high memory usage by using depth-first search at each iteration.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

Summarise the advantages of breadth-first search.

A

Complete: Guarantees finding a solution if one exists.
Optimal: Finds the shortest path in unweighted graphs.
Systematic: Explores all nodes level by level.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly