search Flashcards

1
Q

what is search

A

Search is not about prediction but about choice and decision-
making, such as planning and assigning
Search is a computational problem where the goal is to
find a solution, often a sequence of actions or a state, that
transforms an initial state into a goal state, by exploring a
space of possible solutions.

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

what is a search problem

A

Search is the process of navigating from the start state to a goal
state by transitioning through intermediate states

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

what are the stages of a search problem

A

A search problem consists of
◆ State space: all possible states.
◆ Start state: where the agent begins the search.
◆ Goal state: the desired state that the agent is looking for.
◆ Goal test: whether the goal state is achieved or not.
◆ A successor function (also called transition function, often associated
with a cost): given a certain state, what actions are available and for
those actions what are the next stage the agent will land into

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

what is a state space

A

all possible states.

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

what is a start state

A

where the agent begins the search.

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

what is the goal state

A

the desired state that the agent is looking for.

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

what is the goal test

A

whether the goal state is achieved or not.

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

what is a solution

A

A solution is a sequence of actions which transforms the start
state to a goal state

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

what is a successor function

A

A successor function (also called transition function, often associated
with a cost): given a certain state, what actions are available and for
those actions what are the next stage the agent will land into

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

what is a state space graph

A

a mathematical
representation of a search problem

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

what do nodes represent in a state space graph

A

nodes represent states

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

what do arcs represnt in a state space graph

A

arcs represent transitions

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

what is search tree

A

the process of solving the search
problem can be abstracted as a search tree
The start state is the root node.
Children correspond to successors

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

what do nodes represent in a search tree

A

Nodes show states, but correspond to plans (i.e.,
paths) that achieve those states

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

explain tree search problem function

A

function Tree-Search (problem, strategy) returns a solution, or failure
initialise the search tree via setting the start state of problem as root node and put
it in Frontier
loop do
if there are no nodes in Frontier for expansion then return failure
else choose a node in Frontier for expansion according to strategy and
remove it from Frontier
if the chosen node is a goal state then return the corresponding solution
else expand the node based on problem and add the resulting nodes to Frontier
end

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

what is a frontier in a search tree problem

A

to store the nodes waiting for expansion

17
Q

what is an expansion in a search tree problem

A

to find and display the children of the node

18
Q

what is an expansion strategy in a search tree problem

A

to decide which node in Frontier to
expand (like depth first search), also called to explore