Invention Grant
- Patent Title: Methods and apparatus for integration of declarative rule-based processing with procedural programming in a digital data-processing evironment
- Patent Title (中): 在数字数据处理环境中将声明性规则处理与程序性编程相结合的方法和装置
-
Application No.: US12649095Application Date: 2009-12-29
-
Publication No.: US08479157B2Publication Date: 2013-07-02
- Inventor: Alan Trefler , Andreas G. Hofmann
- Applicant: Alan Trefler , Andreas G. Hofmann
- Applicant Address: US MA Cambridge
- Assignee: Pegasystems Inc.
- Current Assignee: Pegasystems Inc.
- Current Assignee Address: US MA Cambridge
- Agency: Nutter McClennen & Fish LLP
- Agent David J. Powsner
- Main IPC: G06F9/44
- IPC: G06F9/44

Abstract:
The present invention provides methods and systems for integrating a procedural computational model with a declarative computational model. For example, in one aspect, the present invention provides a method for integrating a plurality of procedural instructions in a procedural computational system with a plurality of declarative rules in a declarative computational system. In such a method, for each of the procedural instructions operating on one or more variables, a hash table indexed by variable names is utilized to determine whether any of these variables participate in at least one of the declarative rules. Upon execution of a procedural instruction that changes a variable participating in a declarative rule, other variables associated with the rule are updated so as to maintain a relationship imposed by the rule among the variables. The updating of the other variables is performed prior to execution of other procedural instructions. Further, for each of the updated values, changes associated with to updated variable are propagated to other rules, if any, in which the updated variable participates. The propagation of the change can be accomplished by modifying values of variables other than the updated variable so as to maintain relationships defined by these other rules. The integrated computational systems of the invention can find applications, for example, in workflow processing.
Public/Granted literature
Information query