Disclosed is a method including receiving a rule having at least one rule case for producing an output value based on one or more input values, generating a transform for receiving data from an input dataset and transforming the data based on the rule including producing a first series of values for
Disclosed is a method including receiving a rule having at least one rule case for producing an output value based on one or more input values, generating a transform for receiving data from an input dataset and transforming the data based on the rule including producing a first series of values for at least one output variable in an output dataset, at least one value in the first series of values including a second series of values, and providing an output field corresponding to the at least one output variable in the output dataset for storing the second series of values.
대표청구항▼
1. A method, including: receiving a rule having at least one rule case for producing an output value based on one or more input values,generating a transform for receiving data from an input dataset and transforming the data based on the rule including producing a first series of values for at least
1. A method, including: receiving a rule having at least one rule case for producing an output value based on one or more input values,generating a transform for receiving data from an input dataset and transforming the data based on the rule including producing a first series of values for at least one output variable in an output dataset, at least one value in the first series of values including a second series of values, andproviding an output field corresponding to the at least one output variable in the output dataset for storing the second series of values. 2. The method of claim 1 in which the transform is included in a component of a graph-based application represented by a graph, with vertices in the graph representing components, and directed links between vertices in the graph represent flows of data between components. 3. The method of claim 2 in which a first graph component including the transform provides a flow of data to the transform from the input dataset. 4. The method of claim 3 in which the first graph component is an executable computation component, and the graph includes a second graph component that is a data storage component representing the input dataset. 5. The method of claim 1 in which producing a first series of values for at least one variable in an output dataset includes producing rows for an output table, each row defining a record having values for a set of variables including the output variable. 6. The method of claim 1 in which providing an output field for storing the second series of values includes providing an array for storing a predetermined number of the second series of values, the predetermined number being a default number that is modifiable to a user-specified number. 7. The method of claim 1 in which the output field includes a cell in a table. 8. The method of claim 1 in which receiving the rule includes receiving at least a row of a rule table, the row corresponding to a rule case, and having an output including one or more or a combination of the input values, a predetermined value, or a value computed from one or more of the input values. 9. The method of claim 8 in which the rule case includes one or more of: having an input value equal to a threshold, having an input value above a threshold, having an input value below a threshold, having an input value belonging to a set of values, having an input value matching a pattern of values, having a relationship to another input value, having a relationship to an output value of another set of rules, or having a relationship to a value in a memory. 10. The method of claim 1 in which the input dataset includes records having values for scalar variables and vector variables. 11. The method of claim 10 in which at least one of the records includes an array for storing a predetermined number of records, the predetermined number being a default number that is modifiable to a user-specified number. 12. The method of claim 10 in which at least one of the records includes an internal reference table to define key relationships to sub-records in the at least one of the records. 13. The method of claim 12 also including, in response to a rule, producing the second series of values for the output variable in the output dataset based on the key relationships in the internal reference table. 14. The method of claim 1 also including, in response to a rule case in a rule, triggering the rule case to produce a value for the output variable in the output dataset. 15. The method of claim 14 in which triggering the rule case includes triggering the rule case based on a scalar value in the input dataset satisfying the at least one rule case in the rule. 16. The method of claim 14 in which triggering the rule case includes triggering the rule case based on each value in a vector in the input dataset satisfying the at least one rule case in the rule. 17. The method of claim 14 in which triggering the rule case includes triggering the rule case based on an output of an aggregate function applied to a vector in the input dataset satisfying the at least one rule case in the rule. 18. The method of claim 1 in which generating the transform includes converting each of a plurality of rule cases in the rule to a logical expression to form a plurality of logical expressions, and compiling the plurality of logical expressions into computer-executable code. 19. The method of claim 18 in which compiling the plurality of logical expressions includes one or more of combining expressions, optimizing individual expressions, and optimizing groups of expressions. 20. A non-transitory computer-readable medium, storing a computer program for updating a component in a graph-based computation having data processing components connected by linking elements representing data flows, the computer program including instructions for causing a computer to: receive a rule having at least one rule case for producing an output value based on one or more input values,generate a transform for receiving data from an input dataset and transforming the data based on the rule including producing a first series of values for at least one output variable in an output dataset, at least one value in the first series of values including a second series of values, andprovide an output field corresponding to the at least one output variable in the output dataset for storing the second series of values. 21. A system, including: means for receiving a rule having at least one rule case for producing an output value based on one or more input values,a processor configured to generate a transform for receiving data from an input dataset and transforming the data based on the rule including producing a first series of values for at least one output variable in an output dataset, at least one value in the first series of values including a second series of values, andmeans for providing an output field corresponding to the at least one output variable in the output dataset for storing the second series of values. 22. The method of claim 14 in which triggering the rule case includes satisfying predefined one or more criteria by the input values. 23. The method of claim 1 also including: triggering two or more rule cases belonging to the rule in response to the input values; andproducing, by the transform, two or more output values each corresponding to the triggered two or more rule cases as the second series of values. 24. The method of claim 23 also including providing to a user an ability to inspect the two or more rule cases that triggered in response to the input values. 25. The method of claim 1 in which the at least one rule case includes one or more criteria which when satisfied by the input values causes production by the transform of one or more output values. 26. The method of claim 1 also including storing a scalar value in the output dataset corresponding to an operation performed on the second series of values. 27. The method of claim 1 also including displaying the second series of values in a tool tip upon positioning a cursor over the output field. 28. The non-transitory computer-readable medium of claim 20 in which the transform is included in a component of a graph-based application represented by a graph, with vertices in the graph representing components, and directed links between vertices in the graph represent flows of data between components. 29. The non-transitory computer-readable medium of claim 28 in which a first graph component including the transform provides a flow of data to the transform from the input dataset. 30. The non-transitory computer-readable medium of claim 29 in which the first graph component is an executable computation component, and the graph includes a second graph component that is a data storage component representing the input dataset. 31. The non-transitory computer-readable medium of claim 20 in which producing a first series of values for at least one variable in an output dataset includes producing rows for an output table, each row defining a record having values for a set of variables including the output variable. 32. The non-transitory computer-readable medium of claim 20 in which providing an output field for storing the second series of values includes providing an array for storing a predetermined number of the second series of values, the predetermined number being a default number that is modifiable to a user-specified number. 33. The non-transitory computer-readable medium of claim 20 in which the output field includes a cell in a table. 34. The non-transitory computer-readable medium of claim 20 in which receiving the rule includes receiving at least a row of a rule table, the row corresponding to a rule case, and having an output including one or more or a combination of the input values, a predetermined value, or a value computed from one or more of the input values. 35. The non-transitory computer-readable medium of claim 34 in which the rule case includes one or more of: having an input value equal to a threshold, having an input value above a threshold, having an input value below a threshold, having an input value belonging to a set of values, having an input value matching a pattern of values, having a relationship to another input value, having a relationship to an output value of another set of rules, or having a relationship to a value in a memory. 36. The non-transitory computer-readable medium of claim 20 in which the input dataset includes records having values for scalar variables and vector variables. 37. The non-transitory computer-readable medium of claim 36 in which at least one of the records includes an array for storing a predetermined number of records, the predetermined number being a default number that is modifiable to a user-specified number 38. The non-transitory computer-readable medium of claim 36 in which at least one of the records includes an internal reference table to define key relationships to sub-records in the at least one of the records. 39. The non-transitory computer-readable medium of claim 38 in which the computer program includes instructions for causing the computer to, in response to a rule, produce the second series of values for the output variable in the output dataset based on the key relationships in the internal reference table. 40. The non-transitory computer-readable medium of claim 20 in which the computer program includes instructions for causing the computer to, in response to a rule case in a rule, trigger the rule case to produce a value for the output variable in the output dataset. 41. The non-transitory computer-readable medium of claim 40 in which triggering the rule case includes triggering the rule case based on a scalar value in the input dataset satisfying the at least one rule case in the rule. 42. The non-transitory computer-readable medium of claim 40 in which triggering the rule case includes triggering the rule case based on each value in a vector in the input dataset satisfying the at least one rule case in the rule. 43. The non-transitory computer-readable medium of claim 40 in which triggering the rule case includes triggering the rule case based on an output of an aggregate function applied to a vector in the input dataset satisfying the at least one rule case in the rule. 44. The non-transitory computer-readable medium of claim 20 in which generating the transform includes converting each of a plurality of rule cases in the rule to a logical expression to form a plurality of logical expressions, and compiling the plurality of logical expressions into computer-executable code. 45. The non-transitory computer-readable medium of claim 44 in which compiling the plurality of logical expressions includes one or more of combining expressions, optimizing individual expressions, and optimizing groups of expressions. 46. The system of claim 21 in which the transform is included in a component of a graph-based application represented by a graph, with vertices in the graph representing components, and directed links between vertices in the graph represent flows of data between components. 47. The system of claim 46 in which a first graph component including the transform provides a flow of data to the transform from the input dataset. 48. The system of claim 47 in which the first graph component is an executable computation component, and the graph includes a second graph component that is a data storage component representing the input dataset. 49. The system of claim 21 in which producing a first series of values for at least one variable in an output dataset includes producing rows for an output table, each row defining a record having values for a set of variables including the output variable. 50. The system of claim 21 in which providing an output field for storing the second series of values includes providing an array for storing a predetermined number of the second series of values, the predetermined number being a default number that is modifiable to a user-specified number. 51. The system of claim 21 in which the output field includes a cell in a table. 52. The system of claim 21 in which receiving the rule includes receiving at least a row of a rule table, the row corresponding to a rule case, and having an output including one or more or a combination of the input values, a predetermined value, or a value computed from one or more of the input values. 53. The system of claim 52 in which the rule case includes one or more of: having an input value equal to a threshold, having an input value above a threshold, having an input value below a threshold, having an input value belonging to a set of values, having an input value matching a pattern of values, having a relationship to another input value, having a relationship to an output value of another set of rules, or having a relationship to a value in a memory. 54. The system of claim 21 in which the input dataset includes records having values for scalar variables and vector variables. 55. The system of claim 54 in which at least one of the records includes an array for storing a predetermined number of records, the predetermined number being a default number that is modifiable to a user-specified number 56. The system of claim 54 in which at least one of the records includes an internal reference table to define key relationships to sub-records in the at least one of the records. 57. The system of claim 56 also including means for producing, in response to a rule, the second series of values for the output variable in the output dataset based on the key relationships in the internal reference table. 58. The system of claim 21 also including means for triggering, in response to a rule case in a rule, the rule case to produce a value for the output variable in the output dataset. 59. The system of claim 58 in which triggering the rule case includes triggering the rule case based on a scalar value in the input dataset satisfying the at least one rule case in the rule. 60. The system of claim 58 in which triggering the rule case includes triggering the rule case based on each value in a vector in the input dataset satisfying the at least one rule case in the rule. 61. The system of claim 58 in which triggering the rule case includes triggering the rule case based on an output of an aggregate function applied to a vector in the input dataset satisfying the at least one rule case in the rule. 62. The system of claim 21 in which generating the transform includes converting each of a plurality of rule cases in the rule to a logical expression to form a plurality of logical expressions, and compiling the plurality of logical expressions into computer-executable code. 63. The system of claim 62 in which compiling the plurality of logical expressions includes one or more of combining expressions, optimizing individual expressions, and optimizing groups of expressions. 64. A computing system, including: an input port for receiving a rule having at least one rule case for producing an output value based on one or more input values,a processor configured to generate a transform for receiving data from an input dataset and transforming the data based on the rule including producing a first series of values for at least one output variable in an output dataset, at least one value in the first series of values including a second series of values, andan output port for providing an output field corresponding to the at least one output variable in the output dataset for storing the second series of values. 65. The computing system of claim 64 in which the transform is included in a component of a graph-based application represented by a graph, with vertices in the graph representing components, and directed links between vertices in the graph represent flows of data between components. 66. The computing system of claim 65 in which a first graph component including the transform provides a flow of data to the transform from the input dataset. 67. The computing system of claim 66 in which the first graph component is an executable computation component, and the graph includes a second graph component that is a data storage component representing the input dataset. 68. The computing system of claim 64 in which producing a first series of values for at least one variable in an output dataset includes producing rows for an output table, each row defining a record having values for a set of variables including the output variable. 69. The computing system of claim 64 in which providing an output field for storing the second series of values includes providing an array for storing a predetermined number of the second series of values, the predetermined number being a default number that is modifiable to a user-specified number. 70. The computing system of claim 64 in which the output field includes a cell in a table. 71. The computing system of claim 64 in which receiving the rule includes receiving at least a row of a rule table, the row corresponding to a rule case, and having an output including one or more or a combination of the input values, a predetermined value, or a value computed from one or more of the input values. 72. The computing system of claim 71 in which the rule case includes one or more of: having an input value equal to a threshold, having an input value above a threshold, having an input value below a threshold, having an input value belonging to a set of values, having an input value matching a pattern of values, having a relationship to another input value, having a relationship to an output value of another set of rules, or having a relationship to a value in a memory. 73. The computing system of claim 64 in which the input dataset includes records having values for scalar variables and vector variables. 74. The computing system of claim 73 in which at least one of the records includes an array for storing a predetermined number of records, the predetermined number being a default number that is modifiable to a user-specified number 75. The computing system of claim 73 in which at least one of the records includes an internal reference table to define key relationships to sub-records in the at least one of the records. 76. The computing system of claim 75 also including means for producing, in response to a rule, the second series of values for the output variable in the output dataset based on the key relationships in the internal reference table. 77. The computing system of claim 64 also including means for triggering, in response to a rule case in a rule, the rule case to produce a value for the output variable in the output dataset. 78. The computing system of claim 77 in which triggering the rule case includes triggering the rule case based on a scalar value in the input dataset satisfying the at least one rule case in the rule. 79. The computing system of claim 77 in which triggering the rule case includes triggering the rule case based on each value in a vector in the input dataset satisfying the at least one rule case in the rule. 80. The computing system of claim 77 in which triggering the rule case includes triggering the rule case based on an output of an aggregate function applied to a vector in the input dataset satisfying the at least one rule case in the rule. 81. The computing system of claim 64 in which generating the transform includes converting each of a plurality of rule cases in the rule to a logical expression to form a plurality of logical expressions, and compiling the plurality of logical expressions into computer-executable code. 82. The computing system of claim 81 in which compiling the plurality of logical expressions includes one or more of combining expressions, optimizing individual expressions, and optimizing groups of expressions.
Long,Jeffrey G.; Jenkins,Jimmy J., Method, system, and program for defining and managing complex contingent rules, and exceptions thereto, in a rule-based computer system.
※ AI-Helper는 부적절한 답변을 할 수 있습니다.