CS37 - Search Flashcards
Trying to figure out what to do in a situation
Search
Entity that perceives its environment
and acts upon that environment
agent
a configuration of the agent and
its environment
state
the state in which the agent begins
initial state
choices that can be made in a state
actions
ACTIONS(s) returns the set of actions that can be executed in state s
actions
a description of what state results from performing any applicable action in any state
transition model
RESULT(s, a) returns the state resulting from
performing action a in state s
transition model
the set of all states reachable from the initial state by any sequence of actions
state space
way to determine whether a given state is a goal state
goal test
numerical cost associated with a given path
path cost
Basis of search problem
- initial state
- actions
- transition model
- goal test
- path cost function
a sequence of actions that leads from the initial state to a goal state
solution
a solution that has the lowest path cost among all solutions
optimal solution
a data structure that keeps track of:
- a state
- a parent
- an action
- a path cost
node