3 - uninformed search Flashcards

1
Q

problem-solving agent

A

an agent that can figure out the best ocurse of action for a specific situation

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

the problem of designing goal-based agents

A

Solution: fixed sequence of actions
Search: looking for the sequence of actions that reaches the goal
Agent: can ignore percepts during execution

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

Objectives of a problem solving agent

A

-formulate appropriate problems as search tasks
-know the fundamental search strategies and algorithms
-evaluate the suitability of a search strategy for a problem

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

Search problem components

A

♥ Initial state
♥ Goal state
♥ Path cost
♥ Successor Function: result of doing an action in a state
♥ Optimal solution: sequence of actions with the lowest path cost for reaching the goal

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

State Space

A

The set of all states reachable from initial state by any sequence of actions

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

Tree Search

A

Begin at the root node (starting state) and expandit by making a list of all possible successor states - keep going until you reach required state

///algorithm outline - upon ititialisation we choose a fringe and expand upon that according to our search strategy;; to avoid repeated states, we keep an explored set every time we expand it, meaning that every time you add a node to the fringe, check whether it already exists in the fringe with a higher path cost, and if yes, replace that node with the new one

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

Uninformed search strategies -

Breadth-first search (BFS)

A

Expand shallowest unexpanded node, fringeis a FIFO queue, i.e., new successors go at end (so we go by ‘layers’ - first the highest layers, then deeper)

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

Uninformed search strategies -

Depth-first search (DFS)

A

Expand deepest unexpanded node - like Breadth-first search but we first search the lowest layer, then check the highest ones

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

Uninformed search strategies -

Uniform-cost search (UCS)

A

Expand least-cost unexpanded node - fringe ordered by path cost (priority queue) * Equivalent to breadth-first if step costs all equal

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

Uninformed search strategies -

Iterative deepening search (IDS)

A

To keep DFS from wandering down an infinite path
1.Check the root 2.Do a DFS searching for a path of length 1 3.If there is no path of length 1, do a DFS searching for a path of length 2 4.If there is no path of length 2, do a DFS searching for a path of length 3…….

IDDFS calls DFS for different depths starting from an initial value. In every call, DFS is restricted from going beyond given depth. So basically we do DFS in a BFS fashion.

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

Search strategies

A

picking the order of node expansion based on criteria:
- Completeness
- Optimality
- Time complexity
- Space complexity

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