×

Expert system compilation method

  • US 5,442,792 A
  • Filed: 06/10/1994
  • Issued: 08/15/1995
  • Est. Priority Date: 08/07/1992
  • Status: Expired due to Fees
First Claim
Patent Images

1. A computer implemented method for generating compiled multi-tasking procedural expert system object code from a pre-existing rule based expert system that includes a knowledge base having rules and a comprehensive inference engine, the method comprising the steps of:

  • parsing the knowledge base into intermediate forms including test, read, and write matrices which represent the rules of the knowledge base;

    analyzing the intermediate forms as to data and control dependencies to pre-order the rules and to identify rules that are data independent and to extract parallelism among the rules, and on the basis of such analysis;

    (a) merging sequentially ordered single rules into merged rules when possible thereby collapsing two or more single rules into a single merged rule and increasing efficiency by eliminating intermediate variables from computation;

    (b) ordering and clustering into respective data independent clusters single rules and merged rules that must be fired sequentially such that single rules and merged rules that must be fired sequentially are ordered and clustered in the same cluster; and

    (c) grouping data independent clusters into a predetermined number of data independent groups of clusters, wherein the predetermined number depends on the hardware on which the procedural expert system object code is to be executed;

    synthesizing in procedural code the functional behavior of only the portion of the comprehensive inference engine that is used by the knowledge base;

    generating multi-tasking procedural source code implementing said data independent groups of clusters of rules and merged rules and said portion of said comprehensive inference engine synthesized in procedural code such that said data independent groups of clusters will be executed in parallel; and

    generating compiled multi-tasking procedural expert system object code from said source code.

View all claims
  • 2 Assignments
Timeline View
Assignment View
    ×
    ×