Decision Table Views - Gnorion/BizVR GitHub Wiki
Decision Views
Real world decision tables can get very complex. The question is how to better manage the complexity of the enterprise decision model. Decision Model Views may help.
A View is like looking at the Decision Model through a filter, just as one may look at a complex database through the filter of a SQL View to focus on just the data that is of interest at a given time.
Example
Suppose we have this decision table;
We can create a number of different views of the table based on color.
Views Based On Color
When color is 'A'
Only size is relevant
Even though there were two rules in the original for 'A', one of them was redundant. Shape does not affect the outcome.
When color is 'B'
These rules apply. Both size and shape are relevant.
When color is 'C'
Only shape is relevant
Views Based on Size
We could also create views based on size
When size is 1
When size is 2
When size is 3
Views Based on Shape
We could also create views based on shape
When shape is 'X'
When shape is 'Y'
Views Based on Price
Finally we could choose to create views based on the output values on price