Exam 2 Flashcards
Chapter 3 - Uninformed and Informed Searches
What does a reflex agent do?
It chooses an action based on it’s current percept (memory), and doesn’t consider the consequences (which may make it irrational)
What does a planning agent do?
It makes a decision based on an evaluation of future action sequences
What does a search algorithm assume?
A known deterministic transition model, discrete states and actions, full observability, and atomic representation
What is goal formulation?
Based on the current situation and the agent’s performance measure, first step in problem solving, meant to limit objectives and hence the actions to be considered
What is problem formulation?
The process of deciding what actions and states to consider, given a goal
What’s the difference between a search and an execution?
The search simply looks for a sequence of actions that reaches the goal until it’s found, while the execution is the actual doing of the actions in the solution, typically one at a time
What does a search problem consist of?
A state space (S), initial state (S0), Actions (A(S)), transition model (Result(s,a)), goal test (G(S)), and action cost (c(s,a,s’))
What makes a solution optimal?
It has the lowest cost among all possible solutions
What makes an open-loop system?
The agent ignores percepts which breaks the loop between the agent and environment
What makes a closed-loop system?
The agent monitors its percepts, since the environment may be nondeterministic
What is a state space graph?
A mathematical representation of a search problem with nodes being abstracted configurations and arcs representing transitions; Each state occurs only once
What does a search algorithm do?
It takes a search problem as an input and returns a solution (or indication of failure)
What is a search tree?
Essentially a “what-if” tree of plans and outcomes with the root node being the start state and the rest of the nodes showing states (but correspond to plans that achieve these states)
Do we usually construct the entire state space graph or search tree?
No, it would take up too much memory
What is the frontier of a search?
Set of all current leaf nodes
What separation does the frontier create in a state-space graph?
An interior region where every state has been expanded and an exterior region of states that have not yet been reached
Are search trees and state-space graphs the same?
No, they are two different structures
How does a priority queue work in search algorithms?
It first pops the node with the minimum cost according to some evaluation function, f(n)
What is a cycle/loopy path?
A path that visits the same state/node
How does a redundant path differ from a loopy path?
A redundant path has the same initial and final state in it’s path but with unnecessary states that increase the total path cost
What are the 4 components of a node?
node.State, node.Parent, node.Action, node.Path-Cost