0 votes
Given a family of admissible heuristic functions h1, h2, .. hn.  Is the Harmonic Mean, H = n / (1/h1 + 1/h2 + ... 1/hn) an admissible function?  How would you define this function if one of the h functions is zero?
in Informed Search by AlgoMeister (1.6k points)

1 Answer

+1 vote
 
Best answer

Hi Professor Arora,

I think it is. Firstly, when we talk about Harmonic Mean, we have assumed that all heuristic functions are not equal to 0, otherwise they can't be denominators. Then, after we have this assumption, Harmonic Mean is obviously admissible. 

Proof:

  1. For all hi in {h1, ... , hn}, hi <= C*, where C* is the fact cost (this is the definition of admissibility).
  2. Since hi <= C*, we have 1 / hi >= 1 / C* for all hi not equal to 0.
  3. By 2, we get 1 / h1 + ... + 1 / hn >= n / C*.
  4. Multiply C* / (1 / h1 + ... + 1 / hn) on both sizes, we have C* >= n / (1 / h1 + ... + 1 / hn), i.e. H <= C*.

Q.E.D. 

by (248 points)
selected by

Related questions

The Book: Analysis and Design of Algorithms | Presentations on Slideshare | Lecture Notes, etc
...