Machine-translated by Google. Questions are authored in English.
Top

Discussion

Why is the number of nodes expanded used to compare search algorithms?

  • A.Expansion is the only operation a search algorithm performs
  • B.Expanded nodes determine the memory the algorithm requires
  • C.It is independent of the machine and the implementation
  • D.It is easier to measure than the running time of the program

Answer: C

Counting expansions gives a measure that does not change with processor speed, programming language or coding style, so published comparisons remain meaningful. Wall clock time still matters in practice and both are usually reported. Generation, testing and frontier management are also performed, and memory follows the frontier rather than the expansions. Choosing a machine independent measure is what allows results from different laboratories and decades to be compared at all.

No comment is present. Be the first to comment.
Loading…

Post your comment

Please log in or register to post a comment.