Heuristic (computer science) (source code)

= Heuristic (computer science)
{wiki=Heuristic_(computer_science)}

In computer science, a heuristic is a practical approach to problem solving, learning, or decision-making that employs a method not guaranteed to be optimal but sufficient for reaching an immediate, short-term goal. Heuristics are often used in algorithms, particularly in fields like artificial intelligence, optimization, and search problems, to reduce the complexity of finding a solution.