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;

image

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

image

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.

image

When color is 'C'

Only shape is relevant

image

Views Based on Size

We could also create views based on size

When size is 1

image

When size is 2

image

When size is 3

image

Views Based on Shape

We could also create views based on shape

When shape is 'X'

image

When shape is 'Y'

image

Views Based on Price

Finally we could choose to create views based on the output values on price

When price is 'p'

image

When price is 'q'

image

When price is 'r'

image