Free Online Flashcard Deck

2 Problem Solving and Search Free Online FlashCards

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

12 cards
01
Front

What five elements define a search problem?

Back

The initial state, actions, transition model, goal test, and path cost.

02
Front

What is the state space?

Back

The set of states reachable by applying actions from the initial state.

03
Front

When does breadth-first search find a fewest-action solution?

Back

BFS explores shallowest paths first, typically using a queue. When all actions have equal cost, it finds a solution with the fewest actions, but may use substantial memory.

04
Front

What does a heuristic h(n)h(n) estimate?

Back

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

05
Front

What does a transition model specify?

Back

It specifies the state that results from taking an action in a given state.

06
Front

What counts as a solution to a search problem?

Back

A path from the initial state to any state that passes the goal test.

07
Front

How do path cost and the objective affect which solution is best?

Back

Path cost is the total cost of the actions taken. The best solution depends on the objective, such as minimizing actions or total cost.

08
Front

What does the frontier contain?

Back

The frontier contains discovered states that have not yet been explored.

09
Front

Why does graph search track explored states?

Back

Graph search tracks explored states to avoid repeated visits, which is useful when different paths reach the same state or the problem contains cycles.

10
Front

What are branching factor and depth, and why do they matter?

Back

The branching factor is the typical number of successors per state; depth is the number of actions from the start. A large branching factor can make paths grow rapidly with depth.

11
Front

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

Back

DFS follows one path as far as it can before backtracking. It can use less memory than BFS, but generally does not find the shortest or least-cost solution.

12
Front

How does uniform-cost search choose which path to expand?

Back

UCS expands the frontier path with the lowest cost so far, typically using a priority queue. With positive step costs and suitable search conditions, it finds a least-cost solution.