Free Online Flashcard Deck

2 Search and Problem Solving Free Online FlashCards

Study 2 Search and Problem Solving with 12 free online flashcards. Review key terms, definitions, and concepts with this interactive flashcard deck.

12 cards
01
Front

What components define a search problem?

Back

A state space, actions, transition model, action costs, a start state, and a goal test.

02
Front

What is a plan in search?

Back

A plan is a sequence of actions that takes the agent from the start state to a goal state.

03
Front

What information should a search state retain?

Back

A state must preserve enough information to determine possible actions and whether the goal is reached, while excluding irrelevant details.

04
Front

How does a search tree differ from a state-space graph?

Back

A state-space graph has states as nodes and actions as edges. A search tree represents candidate paths, so one state can appear more than once.

05
Front

What is the frontier in a search algorithm?

Back

The frontier holds discovered paths that have not yet been expanded. Graph search also tracks reached states to avoid repeatedly exploring cycles.

06
Front

How does breadth-first search choose a path to expand?

Back

BFS expands the shallowest path first, typically using a first-in, first-out queue. It finds a shortest-action solution when all actions have equal cost.

07
Front

How does depth-first search expand paths, and what is one limitation?

Back

DFS expands the deepest path first, typically using a last-in, first-out stack. It can follow cycles or unbounded paths and does not guarantee the least-cost solution.

08
Front

How does uniform-cost search select a path?

Back

UCS expands the path with the lowest accumulated cost. It is useful when action costs vary and a least-cost solution is needed.

09
Front

What does a heuristic estimate?

Back

A heuristic, written as h(n)h(n), estimates the remaining cost from state nn to a goal.

10
Front

How does greedy best-first search choose a state?

Back

Greedy best-first search expands the state with the smallest heuristic estimate, h(n)h(n). It is not generally optimal.

11
Front

What cost estimate does A* use to prioritize states?

Back

A* expands the state with the smallest estimated total cost: f(n)=g(n)+h(n)f(n) = g(n) + h(n), where g(n)g(n) is cost so far and h(n)h(n) estimates remaining cost.

12
Front

What makes a heuristic admissible, and what else may A* require?

Back

An admissible heuristic never overestimates the true remaining cost. For graph search, A*'s usual optimality guarantee also requires consistency or suitable handling of improved paths.