Specifying and processing composed patterns
AssigneeInternational Business Machines Corporation
InventorsYi-Hsiu Wei, Geoffrey Martin Hambrick
Life of this patent
Estimating the term…
Abstract
A method, computer program product, and system for specifying and processing composed patterns. A method may include receiving, by a pattern process executing on a computing device, a first pattern definition including one or more outputs. The method may further include receiving, by the pattern process executing on the computing device, a second pattern definition including one or more inputs. The method may also include creating, by the pattern process executing on the computing device, a map between at least one of the one or more outputs and at least one of the one or more inputs if a type of the at least one of the one or more outputs matches a type of the at least one of the one or more inputs.
Claims20
A method comprising:
- receiving, by a pattern process executing on a computing device, a first pattern definition comprising one or more outputs;
- receiving, by the pattern process executing on the computing device, a second pattern definition comprising one or more inputs;
- creating, by the pattern process executing on the computing device, a map between at least one of the one or more outputs of the first pattern definition and at least one of the one or more inputs of the second pattern definition if a type of the at least one of the one or more outputs of the first pattern definition matches a type of the at least one of the one or more inputs of the second pattern definition, wherein the map is a graph including one or more nodes representing transformations of one or more inputs of the second pattern definition into one or more outputs of the first pattern definition and one or more lines representing the one or more inputs of the second pattern definition and the one or more outputs of the first pattern definition;
- and
- producing, by the pattern process executing on the computing device, a new pattern definition comprising the first pattern definition, the second pattern definition, and the map.
A computer program product residing on a non-transitory computer readable storage medium having a plurality of instructions stored thereon, which, when executed by a processor, cause the processor to perform operations comprising:
- receiving, by a pattern process, a first pattern definition comprising one or more outputs;
- receiving, by the pattern process, a second pattern definition comprising one or more inputs;
- creating, by the pattern process, a map between at least one of the one or more outputs of the first pattern definition and at least one of the one or more inputs of the second pattern definition if a type of the at least one of the one or more outputs of the first pattern definition matches a type of the at least one of the one or more inputs of the second pattern definition, wherein the map is a graph including one or more nodes representing transformations of one or more inputs of the second pattern definition into one or more outputs of the first pattern definition and one or more lines representing the one or more inputs of the second pattern definition and the one or more outputs of the first pattern definition;
- and
- producing, by the pattern process, a new pattern definition comprising the first pattern definition, the second pattern definition, and the map.
A computing system comprising:
- at least one processor;
- at least one memory architecture coupled with the at least one processor;
- a first software module executed on the at least one processor and the at least one memory architecture, wherein the first software module is configured to receive, by a pattern process executing on a computing device, a first pattern definition comprising one or more outputs;
- a second software module executed on the at least one processor and the at least one memory architecture, wherein the second software module is configured to receive, by the pattern process executing on the computing device, a second pattern definition comprising one or more inputs;
- a third software module executed on the at least one processor and the at least one memory architecture, wherein the third software module is configured to create, by the pattern process executing on the computing device, a map between at least one of the one or more outputs of the first pattern definition and at least one of the one or more inputs of the second pattern definition if a type of the at least one of the one or more outputs of the first pattern definition matches a type of the at least one of the one or more inputs of the second pattern definition, wherein the map is a graph including one or more nodes representing transformations of one or more inputs of the second pattern definition into one or more outputs of the first pattern definition and one or more lines representing the one or more inputs of the second pattern definition and the one or more outputs of the first pattern definition;
- and
- a fourth software module executed on the at least one processor and the at least one memory architecture, wherein the fourth software module is configured to produce, by the pattern process executing on the computing device, a new pattern definition comprising the first pattern definition, the second pattern definition, and the map.
Dependencies are inferred from the claim text.