馃攳
Simplifying Decision Tables - YouTube
Channel: unknown
[3]
[music]
[13]
>> David Durant: Welcome to this presentation on
simplifying decision tables.
[18]
Only limited entry decision tables can
be simplified
[22]
and usually in conjunction with a
completeness check.
[26]
You will see in this video how we will
take a complex set of rules
[32]
and express them as a decision table
[35]
and then simplify the table using
a logical process.
[47]
Let us look at an example that
shows how a set of complex rules
[51]
can be expressed as a decision table
[54]
and then simplified using a rigorous,
logical process.
[58]
The end result is much easier to read
and maintain.
[64]
This limited-entry decision table
[66]
is to decide whether to accept or reject
a customer's order.
[72]
There are three conditions.
[75]
Hs the customer's credit limit been
exceeded?
[78]
Are they a prompt payer?
[80]
Do they have special clearance?
[83]
The associated action,
[85]
depending on the combination of the
conditions,
[88]
is to either accept the order
or to reject it.
[94]
This is our simplifying rule...
[97]
Any two rules which have identical
entries except for one condition rule
[103]
which contains a Y and N
[106]
may be consolidated into one rule
[109]
which contains a dash in place of the
Y and N.
[114]
Obviously, the rules must have the same
action.
[119]
So in the example, we can simplify rules
7 and 8.
[125]
They have the same action and differ only
by the Y and N in the third condition
[130]
So the resulting consolidated rule
will become N N - X -
[139]
Rules 5 and 6 can be simplified
to the rule N Y - X -
[148]
However, rules 1 and 2 can't be simplified
because they have a different action.
[154]
But rules 1 and 3 can be.
To give Y - Y X -
[161]
And finally, rules 2 and 4
[164]
can be consolidated to give the rule
Y - N - X
[171]
So the resulting table
[173]
will have four rules.
[176]
This table can be simplified further.
[180]
If we look at the rules 3 and 4,
[183]
we see they are identical except for the
second condition
[187]
Is the customer a prompt payer?
[190]
By simplifying these two rules,
[193]
the resulting table
[195]
will just have three.
[197]
A third rule
N - - X -
[203]
This table cannot the simplified any
further
[206]
using the simplifying rules.
[210]
We can see that condition test 2
[214]
Is the customer a prompt payer?
[216]
is no longer relevant
and can be removed.
[221]
One final thing we can do
[223]
is to keep rule 2
[226]
and replace rules 1 and 3
with an Else rule.
[231]
In simplifying the decision table,
[234]
we have logically reduced the 8 rule
table
[238]
to 1 rule
and the Else rule.
[241]
The resulting decision table
[244]
is to only reject the order
[246]
where the customer has exceeded the
credit limit
[250]
and they don't have special clearance.
[253]
Otherwise we will accept it.
[256]
I hope you found this video useful.
[260]
More videos like this are available
at rapidgen.com/videos
[266]
Please let us know if you have any
questions about simplifying decision tables,
[272]
or if we can help.
Send us an email at [email protected]
[279]
or use the options below to leave a
message.
[284]
Thank you for watching.
Most Recent Videos:
You can go back to the homepage right here: Homepage





