C

Heuristique cohérente

CH

Une heuristique cohérente garantit que le coût estimé pour atteindre un objectif ne dépasse jamais le coût réel depuis n'importe quel point.

A heuristique cohérente, also known as a monotonic heuristic, is a specific type of heuristic used in intelligence artificielle, particularly in algorithmes de recherche such as A*. A heuristic is a rule or method that helps in making decisions or solving problems more efficiently than traditional methods.

In the context of search algorithms, a consistent heuristic has the property that the estimated cost of reaching the goal from a given state is always less than or equal to the cost of getting to a neighboring state plus the estimated cost from that neighbor to the goal. In mathematical terms, this is expressed as:

h(n) ≤ c(n, n’) + h(n’)

where h(n) is the heuristic estimate from the current node n to the goal, c(n, n’) is the actual cost to move from node n to a neighbor node n’, and h(n’) est l'estimation heuristique du voisin vers l'objectif.

One of the main benefits of using a consistent heuristic is that it guarantees the optimality of the search algorithm. This means that if an algorithm like A* uses a consistent heuristic, it will find the shortest path to the goal if one exists. Additionally, consistent heuristics can help reduce the number of nodes that need to be evaluated, leading to more efficient search processes.

Des exemples d’heuristiques cohérentes incluent la distance en ligne droite (Distance Euclidienne) entre deux points dans une recherche spatiale ou la Distance de Manhattan in grid-based pathfinding scenarios. These heuristics provide reliable estimates that adhere to the properties required for consistency.

oEmbed (JSON) + /