Category A A Example - Gnorion/BizVR GitHub Wiki
Category A->A Example (NEEDS REVISION)
Applying 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.
these are really examples of AxBxC->D
Approach 1 - Standard DTs
DT1 Creates three collections. One each for colors, sizes and shapes.
DT2 uses these three collections to generate the cross product of the colors, sizes and shapes i.e 3x2x2 = 12 different toys
Generate Toys instances
Define Colors, Sizes and Shapes
Approach 2 - Functions
DT3 is a standard decision table that invokes a function to generate all the combinations of colors, sizes and shapes. The choice of colors, sizes and shapes are also obtained by making function calls