Tree Search: BFS, DFS, Best-First, and A* Search

Ping-Lun Liao
Jan 24, 2022

--

Consider the tree shown below. The numbers on the arcs are the arc lengths; the numbers

near states B, C, and D are the heuristic estimates; all other states have a heuristic estimate

Assume that the children of a node are expanded in alphabetical order when no other order

is specified by the search, and that the goal is state J . No visited or expanded lists are used.

What order would the states be expanded by each type of search. Write only the sequence

of states expanded by each search.

Originally published at https://yunlinsong.blogspot.com.

--

--

No responses yet