ai :: SearchNode :: compute_heuristic
heuristic
score
problem
# Update `heuristic` and `score` according to `problem`. private fun compute_heuristic do var h = problem.heuristic(state) heuristic = h score = cost + h end