Rule Builder > Managing Decision Tables > Working With the Decision Table Editor > Views |
Views |
PREVIOUS NEXT |
You may wish to look at your data in several different ways, or views, in structuring a decision table. The Rule Builder provides the following views:
The default view displays the Decision Table rows and columns as shown in Figure 12.1. In addition, you can select other views of your data. The following views are available in the Decision Table Editor.
The decision table can be associated with a supplemental rule view which displays the rules corresponding to the selected rows in the decision table. The rules are displayed using BAL language. An example of a rule view is shown in Figure 12.2.
Use the Table Properties dialog box to show or hide the rule view. The portion of this dialog box that contains the show/hide rule view toggle is shown in Figure 12.3.
You can switch to the Code View of the decision table using this toolbar button on the main toolbar.
When switching to Code View, all rows are generated as a separate IRL rule, and the set of rules is displayed in the Code View. An example of the Code View is shown in Figure 12.4.
Use the
Switch to Decision Table View button on the main toolbar to switch the code format back to the decision table view.
You can display a decision table in a spreadsheet view, if the decision table meets the following conditions:
A sample of a symmetric decision table is shown in Figure 12.5.
The spreadsheet view of a decision table presents the first condition column as the row header and the second condition column as the column header. The values of the action columns are represented as cells in this table.
The spreadsheet view of the decision table from Figure 12.5 is shown in Figure 12.6.
Note |
In the spreadsheet view, all actions related to action cells are available (such as editing action values, enabling/disabling actions), but you cannot modify the structure or edit condition values. |
Use the
Switch to Spreadsheet View button to switch to the spreadsheet view. This button is active only when the decision table can be transformed into a spreadsheet.
Use the
Switch to Decision Table View button in the Decision Table Editor toolbar to switch from the spreadsheet view back to the decision table view.
The decision table can be associated with a comment table. The comment table has only one column that allows you to add a comment for each row of the table. The comment is used as the title of the rule in the rule view or rule tooltip.
Use the Table Properties dialog box to show or hide the comment table.
Customer Support | Copyright © 1987-2004 ILOG S.A. All rights reserved. Legal terms. | PREVIOUS NEXT |