• DocumentCode
    1343969
  • Title

    Efficient Lazy Evaluation of Rule-Based Programs

  • Author

    Van Weert, Peter

  • Author_Institution
    Dept. of Comput. Sci., K.U.Leuven, Heverlee, Belgium
  • Volume
    22
  • Issue
    11
  • fYear
    2010
  • Firstpage
    1521
  • Lastpage
    1534
  • Abstract
    Thirty years after Forgy´s seminal dissertation, Rete remains the de facto standard matching algorithm. Despite promising research results, alternative algorithms such as TREAT and LEAPS have had little impact on modern production rule engines. Constraint Handling Rules (CHR) is a high-level, declarative programming language, similar to production rules. In recent years, CHR has increasingly been used in a wide range of general purpose applications. State-of-the-art CHR systems use LEAPS-like lazy matching, and implement a large body of novel program analyses and optimization techniques to further improve performance. While obviously related, CHR and production rules research have mostly evolved independently from each other. With this paper, we aim to foster cross fertilization of implementation techniques. We provide a lucid, comprehensive overview of CHR´s rule evaluation methodology, and survey recent contributions to the field of lazy matching. Our empirical evaluation confirms that Rete-based engines would surely benefit from incorporating similar techniques and optimizations.
  • Keywords
    constraint handling; high level languages; optimising compilers; pattern matching; program diagnostics; CHR rule evaluation methodology; CHR systems; Forgy seminal dissertation; LEAPS-like lazy matching; Rete-based engines; TREAT; constraint handling rules; de facto standard matching algorithm; declarative programming language; efficient lazy evaluation; high-level language; optimization techniques; production rule engines; program analysis; rule-based programs; Banking; Computer languages; Engines; Finance; Insurance; Optimized production technology; Pattern matching; Performance analysis; Production systems; Technology management; Optimizing compilation; constraint handling rules.; lazy evaluation; matching algorithms; production rules;
  • fLanguage
    English
  • Journal_Title
    Knowledge and Data Engineering, IEEE Transactions on
  • Publisher
    ieee
  • ISSN
    1041-4347
  • Type

    jour

  • DOI
    10.1109/TKDE.2009.208
  • Filename
    5342423