Solving Problems with Searching Flashcards

1
Q

Search-based Agent

A

Searches through possible plans using current state space and returns first plan that reaches goal state.

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

update_state(percept)

A

Constructs a state space representation from current percepts.

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

make_goal(state)

A

Define success using current state.

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

make_problem(state, goal)

A

Set up possible actions, construct state space, initialize book-keeping

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

search(problem)

A

Return plan/sequence of actions that take agent from start state to the/a goal state. Always defines plan as first state that passes the goal test.

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

Plan

A

List of actions needed to reach the goal.

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

Components of Problem

A

Start state, successor function,
goal test function,
step cost

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

Start State

A

Initial state where agent beginsS

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

Successor Function

A

S(state), returns set of (action, successor state) pairs

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

Goal Test Function

A

Goal(state), return true if the passed-in state is a goal

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

Step Cost Function

A

c(s1, a, s2), returns the cost of moving from ‘s1’ to ‘s2’ using action ‘a’

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

Components of Search-based Agent

A

update_state, make_goal, make_problem, search

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