Source: wikibot/rete-algorithm
= Rete algorithm
{wiki=Rete_algorithm}
The Rete algorithm is a highly efficient pattern matching algorithm used primarily in rule-based systems, such as expert systems and production rule systems. It was developed by Charles Forgy in the late 1970s. The primary goal of the Rete algorithm is to minimize the number of comparisons needed to determine which rules can be triggered based on a set of facts or data.