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

Discussion

What is the competitive ratio of an online search algorithm?

  • A.The ratio of its running time to that of an offline algorithm
  • B.The proportion of the state space it explores before succeeding
  • C.The ratio of successful to unsuccessful exploration attempts
  • D.The cost of its path divided by the cost of the optimal path

Answer: D

Comparing the distance actually travelled with what an omniscient agent would have walked gives a competitive ratio, and bounding it is the standard way of evaluating an online algorithm. In the worst case, with adversarially placed dead ends, the ratio can be unbounded. Running time, coverage and success rates are different measures. Judging an algorithm against what perfect knowledge would have achieved is the natural standard when the difficulty is ignorance rather than computation.

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

Post your comment

Please log in or register to post a comment.