100% found this document useful (2 votes)
1K views2 pages

Decision Table Example

The document describes two examples of rule-based systems for making decisions. The first example deals with determining eligibility for a shop's credit facility based on conditions like employment length, salary, and time living in the same place. The second example selects the largest of three numbers A, B, and C based on comparing each number against the others. For each example, the conditions and actions are defined, the number of possible rules is calculated, and a truth table is provided showing the rules and outcomes.

Uploaded by

Ajay Aj
Copyright
© Attribution Non-Commercial (BY-NC)
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
100% found this document useful (2 votes)
1K views2 pages

Decision Table Example

The document describes two examples of rule-based systems for making decisions. The first example deals with determining eligibility for a shop's credit facility based on conditions like employment length, salary, and time living in the same place. The second example selects the largest of three numbers A, B, and C based on comparing each number against the others. For each example, the conditions and actions are defined, the number of possible rules is calculated, and a truth table is provided showing the rules and outcomes.

Uploaded by

Ajay Aj
Copyright
© Attribution Non-Commercial (BY-NC)
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 2

Example 1: A shop owner allows credit facility to his customers if they satisfy any one of the following conditions:

1. Holding the present job for more than 3 years and residing in the same place for more than 5 years. 2. Monthly Salary exceeds1500 and holding the present job for more than 3 years. 3. Residing in the same place for more than 5 years and monthly salary exceeds 1500. The facility is rejected for all other customers.

Conditions involved in the problems are: 1. Holding the present job for more than 3 years. 2. Monthly salary exceeds 1500. 3. Residing in the same place for more than 5 years. Actions involved in the problem are: 1. Allow credit facility. 2. Reject credit facility.

No. of rules = 2no of conditions=(2)3=8

Allowing Credit Facility C1 Holding the present job for more than 3 years Monthly salary exceeds 1500 Residing in the same place for more than 5 years

R1

R2

R3

R4

R5

R6

R7

R8

C2

C3

A1 A2

Allow credit facility. Reject credit facility

X X

X X X X

Example 2 Select the largest of three distinct numbers A,B,C Conditions and Actions: 1. A > B 2. A > C 3. B > C Actions involved in the problem are: 1. A is largest 2. B is largest 3. C is largest Select largest C1 C2 C3 A1 A2 A3 A>B A>C B>C A is Largest B is Largest C is Largest R1 Y Y Y X R2 Y Y N X X X X X R3 Y N Y R4 Y N N R5 N Y Y R6 N Y N R7 N N Y R8 N N N

You might also like