Heuristic evaluation is the process of applying a heuristic function to a game state or search node to estimate its utility or desirability, providing a quick, approximate value to guide search algorithms like minimax or best-first search. This function, often denoted as h(n), evaluates a node without exhaustive exploration, offering a computationally cheap guess of the cost to reach a goal. In adversarial search for games, it estimates the advantage for a player from a given board position.
