Solving problems by search Flashcards

For episodic, single agent, fully observable, deterministic, static, discrete and known environments

1
Q

What is meant by a problem solving agent?

A

An agent that considers a sequence of actions to reach a goal.

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

What is the purpose of a goal formulation?

A

Determining whether a problem solving agent has solved the problem.

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

What is a problem formulation?

A

A description of the states and actions necessary to reach the goal.

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

What is meant by search in the context of search problems?

A

The act of simulating sequences of actions to reach a goal.

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

What are the six parts of a search problem?

A
  1. State space (Set of possible states the environment can be in)
  2. Initial state
  3. Goal state(s)
  4. Actions from a given state.
  5. Transition model (RESULT): Describes what each action does.
  6. Action cost function. Used for comparing solutions.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

What does the nodes of a search tree represent?

A

States.

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

What does the edges of a search tree represent?

A

Actions

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

What is the difference between a state space and a search tree.

A

In a search tree, each node has a unique path back to the root node.

The state space describes the set of states, and the actions that allow transitions between different states.

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

What is a frontier in the context of search problems?

A

The set of all unexpanded nodes.

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

List the different types of queues used in frontiers.

A

Priority queue: first pops node with minimum cost. Used in best-first search

FIFO: Pops the node that was added to the queue first (normal queue). Used in BFS.

LIFO (stack): pops first the most recently added node. Used in DFS.

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

List different ways to deal with redundant paths in search trees.

A

Remember previously reached states, allowing detected reudundant paths to be eliminated.

Don’t worry about them. Can in some cases save memory.

Check for cycles, but not redundant paths. This is done by following the chain of parent nodes, to check whether a node appears multiple times.

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

What is the difference between graph search and tree-like search

A

Graph search: Checks redundant paths.

Tree-Like search: Doesn’t check redundant paths.

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

List ways to measure problem-solving performance of search-algorithms

A

Completeness: Garanteed to find a solution.

Cost optimality: Finds a solution with lowest possible path cost.

Time complexity: Time it takes to find solution.

Space complexity: Memory used.

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