Irreducible modules
First Claim
Patent Images
1. A method comprising:
- receiving, by at least one computing device, a data driven application engineering (DDAE) specification defining a calculation and comprising a plurality of condition tests that are required for assigning a correct value to an output variable;
determining, by the at least one computing device, a metamodel that defines relationships between tokens, lines, and statements found in the DDAE specification, wherein each of the tokens includes a foreign key indicating a relationship with one of the statements;
defining, by the at least one computing device, a plurality of connector patterns based on the received DDAE specification and the metamodel, wherein the connector patterns modularize the condition tests as comparisons and gates; and
generating, using a compiler executing on the at least one computing device, a plurality of irreducible modules in a perl programming language based on the plurality of connector patterns, wherein the plurality of irreducible modules perform the calculation according to the plurality of condition tests to produce the output variable, and,wherein the irreducible modules further include a calculation connector and a comparison connector, and whereinthe calculation connector includes at least one of a numeric function, a string function, and an aggregate function defined in the DDAE specification, andthe comparison connector includes a comparison of two independent variables and outputs TRUE if values of the two independent variables comply with the comparison in accordance with the condition tests.
1 Assignment
0 Petitions
Accused Products
Abstract
An approach to generating irreducible modules. The approach includes a method that includes receiving, by at least one computing device, data associated with a specification. The method includes defining, by the at least one computing device, a pattern on the received data. The pattern reduces a set of rules into a single condition. The method includes generating, by the at least one computing device, an irreducible module based on the pattern. The irreducible module has one output dependent variable and is associated with a data flow application.
35 Citations
19 Claims
-
1. A method comprising:
-
receiving, by at least one computing device, a data driven application engineering (DDAE) specification defining a calculation and comprising a plurality of condition tests that are required for assigning a correct value to an output variable; determining, by the at least one computing device, a metamodel that defines relationships between tokens, lines, and statements found in the DDAE specification, wherein each of the tokens includes a foreign key indicating a relationship with one of the statements; defining, by the at least one computing device, a plurality of connector patterns based on the received DDAE specification and the metamodel, wherein the connector patterns modularize the condition tests as comparisons and gates; and generating, using a compiler executing on the at least one computing device, a plurality of irreducible modules in a perl programming language based on the plurality of connector patterns, wherein the plurality of irreducible modules perform the calculation according to the plurality of condition tests to produce the output variable, and, wherein the irreducible modules further include a calculation connector and a comparison connector, and wherein the calculation connector includes at least one of a numeric function, a string function, and an aggregate function defined in the DDAE specification, and the comparison connector includes a comparison of two independent variables and outputs TRUE if values of the two independent variables comply with the comparison in accordance with the condition tests. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13)
-
-
14. A computer program product for providing a plurality of irreducible modules, the computer program product comprising a non-transitory computer readable hardware storage device having program code stored on the non-transitory computer readable hardware storage device, the program comprising:
-
program code to receive a data driven application engineering (DDAE) specification defining a calculation and comprising a plurality of condition tests that are required for assigning a correct value to an output variable; program code to determine a metamodel that defines relationships between tokens, lines, and statements found in the DDAE specification, wherein each of the tokens includes a foreign key indicating a relationship with one or the statements; program code to determine a plurality of connector patterns based on the received DDAE specification and the metamodel, wherein the connector patterns modularize the condition tests as comparisons and gates; program code to generate, using a compiler, the plurality of irreducible modules in a perl programming language based on the connector pattern, the irreducible models which are independent of each other, wherein the irreducible module further includes a calculation connector and a comparison connector and wherein, the calculation connector includes at least one of a numeric function, a string function, and an aggregate function defined in the DDAE specification, and the comparison connector includes a comparison of two independent variables and outputs TRUE if values of the two independent variables comply with the comparison in accordance with the condition tests. - View Dependent Claims (15, 16, 17, 18)
-
-
19. A system comprising:
-
a CPU, a computer readable memory and a computer readable storage medium; program instructions to receive a data driven application engineering (DDAE) specification defining a calculation and comprising a plurality of condition tests that are required for assigning a correct value to an output variable; program instructions to determine a metamodel and a matrix that defines a relationship between tokens, lines, and statements found in the DDAE specification, wherein each of the tokens includes a foreign key indicating a relationship with one of the statements; program instructions to define a plurality of connector patterns, based on receiving the DDAE specification and the metamodel, wherein the connector patterns modularize the condition tests as comparisons and gates, program instructions to create a set of irreducible modules in a programming language based on the connector pattern using a compiler and combining the set of irreducible modules into any application that includes parallel computing or data flow applications; program instructions to generate the set of irreducible modules based on the connector pattern, wherein an irreducible module within the set of irreducible modules is independent of other irreducible modules within the set of irreducible modules, wherein the program instructions are stored on the computer readable storage medium for execution by the CPU via the computer readable memory, and the irreducible module further includes a calculation connector and a comparison connector, wherein the calculation connector includes at least one of a numeric function, a string function, and an aggregate function defined in the DDAE specification, and the comparison connector includes a comparison of two independent variables and outputs TRUE if values of the two independent variables comply with the comparison in accordance with the condition tests.
-
Specification