Class Account
2007-01-25 05:38:07 UTC
The book describes uniform cost search as the following:
Uniform cost search expands the node n with the lowest path cost
What type of fringe is usually associated with UCS? It mentions that "if all step costs are equal, UCS is identical to BFS". Does this imply that it uses a queue as a fringe?
When they say "node n with the lowest path cost", does that mean "this lowest path cost of the children of the current node being searched"? Or does it mean "the lowest path cost of nodes in the fringe"?
For every search algorithm, is it true to say: "all children of the current node being examined is added to the fringe"? DFS pushes children starting from the right to the left onto a stack, BFS enqueues children from left to right, UCS enqueues (?) children from lowest cost to highest cost?
With no closed list, how can one detect cycles? (or is it impossible)
Uniform cost search expands the node n with the lowest path cost
What type of fringe is usually associated with UCS? It mentions that "if all step costs are equal, UCS is identical to BFS". Does this imply that it uses a queue as a fringe?
When they say "node n with the lowest path cost", does that mean "this lowest path cost of the children of the current node being searched"? Or does it mean "the lowest path cost of nodes in the fringe"?
For every search algorithm, is it true to say: "all children of the current node being examined is added to the fringe"? DFS pushes children starting from the right to the left onto a stack, BFS enqueues children from left to right, UCS enqueues (?) children from lowest cost to highest cost?
With no closed list, how can one detect cycles? (or is it impossible)