Skip to content
ml-recall

#node-expansion

1 question from Search & Planning

Timed test

1 question · 1 min · score and explanations at the end

Take a test
Q 1 / 1Score 0 / 0

Question 1: Short answer

mediumAI-checkedSearch & Planning

Uniform-cost search runs as a graph search from S to G on an undirected graph with these edge costs. The goal test is applied when a node is taken off the frontier, and ties are broken alphabetically.

Edge S–A S–B A–C A–D B–C B–D C–E D–G E–G
Cost 2 3 4 7 2 5 3 3 4

How many nodes does UCS expand before it takes G off the frontier? Count S, but not G.

a whole number