13 Decision Table Decision Tree
13 Decision Table Decision Tree
Vijay L. Vora
(Assist. Professor, MCA Department) Murlidhar College, Bhavnagar Road, Rajkot
Example
Clyde Clerk is reviewing his firms expense reimbursement policies with the new sales person, Trav Farr. Our reimbursement policies depend on the situation. You see, first determine if it is a local trip. If it is, we only pay mileage of 18.5 cent a mile. If the trip was one-day trip, we pay mileage and then check the times of departure and return. To be reimbursed for breakfast, you must leave by 7:00 A.M. lunch by 11:00 A.M. and have dinner by 5:00 P.M. To receive reimbursement for breakfast, you must return later than 10:00 A.M, lunch later than 2:00 P.M. and have dinner by 7:00 P.M. On a trip lasting more than one day, we allow hotel, taxi and airfare, as well as meal allowances. The same time apply for meal expenses. Draw a decision table and Decision table for Clydes narrative of the reimbursement policies
Rules
Local trip One Day Trip Departure time 7:00 A.M. Departure time 11:00 A.M. Departure time 5:00 P.M. Return time letter then 10:00 A.M. Return time letter then 2:00 P.M. Return time letter then 7:00 P.M. Y YYYYYY YYY YY Y Y Y Y Y YY
Decision Table
Actions
Pay Mileage 18.5 cent/mile XXXXXXX XXX Receive Reimbursement for breakfast XXXX Receive Reimbursement for Lunch Receive Reimbursement for Dinner X XX
Decision Tree