Category Theory and Decision Tables - Gnorion/BizVR GitHub Wiki
Category Theory and Decision Tables
Marek will define a business problem that illustrates how category theory is applicable
Some Categories of Decision Tables
Example
s->sApplying rules to data elements that are not part of a collection to modify other data elements i.e. singleton inputs, outputs or intermediate variables in the decision.
Example
s->AApplying rules to data elements that are not part of a collection to create one or more instance of a collection.
Example
A->AApplying rules independently to every instance in a collection to modify or delete that instance (effectively looping through the elements of a collection). Necessitates revisiting any element that is modified.
Example
A->BApplying rules to every instance of A to create new instances of B. Not necessary to revisit elements of A if they are not modified.
Example
AxA->AApplying rules to 2 instances of the same collection and merging or eliminating one of them (effectively looping through all possible pairs of instances)
Example
AxA->BApplying rules to 2 instances of the same collection and creating a new collection of the matched pairs
Example
AxB->CApplying rules to 2 instances of the different collections and creating a new collection of the matched pairs