Example 6 Simplifying Decision Tables PDF

Title Example 6 Simplifying Decision Tables
Author Shilta Chand
Course Project management
Institution The University of the South Pacific
Pages 3
File Size 102.5 KB
File Type PDF
Total Downloads 43
Total Views 141

Summary

Decisions tables...


Description

Example 6 Simplifying Decision Tables Consider the decision table below. See if it can be simplified. Conditions and Actions

Customer ordered from Fall Catalog Customer ordered from Christmas Catalog Customer ordered from Specialty Catalog Send out this year’s Christmas catalog Send out specialty catalog Send out both catalogs

Rules 1 Y Y Y

2 Y Y N X

3 Y N Y

4 Y N N X

5 N Y Y

6 N Y N X

X

7 N N Y

8 N N N X

X

X

X

Let’s give some notations to the conditions and actions. Let each condition be represented as C1, C2 and C3 and actions A1, A2 and A3 in order. 1. Consider rules 1 and 5. In this scenario it is evident that testing for C1 is not needed hence rules 1 and 5 can be combined as follows. Conditions and Actions

Customer ordered from Fall Catalog Customer ordered from Christmas Catalog Customer ordered from Specialty Catalog Send out this year’s Christmas catalog Send out specialty catalog Send out both catalogs

Rules 1’ Y Y

2 Y Y N X

3 Y N Y

4 Y N N X

X

6 N Y N X

7 N N Y

8 N N N X

X

X

2. Consider rules 2 and 6. In this scenario it is evident that testing for C1 is not needed hence rules 2 and 6 can be combined as follows. Conditions and Actions

Customer ordered from Fall Catalog Customer ordered from Christmas Catalog Customer ordered from Specialty Catalog Send out this year’s Christmas catalog Send out specialty catalog Send out both catalogs

Rules 1’ Y Y

2’ Y N X

3 Y N Y X

X

4 Y N N X

7 N N Y X

8 N N N X

3. Consider rules 3 and 7. In this scenario it is evident that testing for C1 is not needed hence rules 3 and 7 can be combined as follows. Conditions and Actions

Customer ordered from Fall Catalog Customer ordered from Christmas Catalog Customer ordered from Specialty Catalog Send out this year’s Christmas catalog Send out specialty catalog Send out both catalogs

Rules 1’ Y Y

2’ Y N X

3’ N Y

4 Y N N X

X X

4. Consider rules 4 and 8. In this scenario it is evident that testing for C1 is not needed hence rules 4 and 8 can be combined as follows. Conditions and Actions

Customer ordered from Fall Catalog Customer ordered from Christmas Catalog Customer ordered from Specialty Catalog Send out this year’s Christmas catalog Send out specialty catalog Send out both catalogs

Rules 1’ Y Y

2’ Y N X

3’ N Y

4’ N N X

X X

5. Finally consider rules 2’ and 4’. In this scenario it is evident that testing for C2 is not needed hence rules 2’ and 4’ can be combined as follows. Conditions and Actions

Rules 1’

Customer ordered from Fall Catalog Customer ordered from Christmas Catalog Customer ordered from Specialty Catalog Send out this year’s Christmas catalog Send out specialty catalog Send out both catalogs

Y Y

2’ ’ N X

3’ N Y X

X

8 N N N X

Therefore the original decision table is simplified as above. Do note that it may not be possible to simplify all decision tables....


Similar Free PDFs