The first row of the decision table contains the
Decision Table label to the left and controls to add or delete rows or columns to the right. From left to right, controls available are:
Add Rule Before, Add Rule After, Remove Rule, Add Column Before, Add Column After, and Remove Column. The second row contains
the Hit Policy Indicator cell that has the
Unique hit policy selected, an Input Expression cell that has the input variable
Temperature used as the input expression, and an Output Label cell that contains the name of the decision,
What to Wear. There is an Allowed Values cell within the Input Expression cell and the Output Label cell. The value for this cell is set
as
Auto for the Input Expression cell and as
Any for the Output Label cell. There are three subsequent rows that constitute rules of the decision table. Each row consists
of a cell indicating the rule number (starting from 1 to 3), an Input Entry cell in the Input Expression column, and an Output
Entry cell in the Output Label column. Values entered in input and output entry cells for each rule are as follows:
-
First rule: <25 and Wool Coat
-
Second rule: 25 and Jacket
-
Third rule: >25 and Casuals