Ask a Question
Ask Question Login
Corporate Training
  1. Community
  2. Python
  3. Question
Python

Example of admissible heuristic, which needs to be more consistent.

Asked by Delbert Rauch Oct 13, 2023 1.0K views 1 answer
Share

About this question

The below given figure:

Let us consider that h(C)=1 If f(A)=g(A)+h(A)=0+4=4, and f(C)=g(C)+h(C)=1+1=2 Then f(C) is NOT greater than or equal to f(A). So, this example is consistent and admissible, but can anyone provide me with an inconsistent heuristic example?

Your answer

1 Answer

More Python discussions

Learn & Explore

Free tutorials and interview questions from industry experts — learn the skill, then get ready to prove it.

Latest Python Blogs

Guides, tips and career advice on Python from JanBask experts.