A heuristic function is consistent if at every goal andfor every permitted transition with step cost . Summing these inequalities along a finite route to a goal gives its total cost. Taking the minimum over such routes proves that every consistent heuristic is an admissible heuristic.
New to topics? Read the docs here!