Rule Builder > Managing Decision Tables > Partition Item Editing Operations > Merging Partition Items |
Merging Partition Items |
PREVIOUS NEXT |
To merge several partition items of the same partition:
The merge operation assigns all merged partition item values to the first item selected, which becomes a collection.
The precise action of the merge operation depends on whether the column is an interval or not. All tree branches corresponding to the merged partition items are merged in a unique branch. This operation may lead to an overlapping partition, having the same choices more than once. You can merge these identical choices to remove the overlap.
If the last partition item of the last selection has any child partitions, its action set is lost during the merge operation.
This section has the following subsections:
When you merge simple values, the resulting partition item contains a list of values. This kind of merge is available for Domain, Number, String, and Date types.
In the following example, merging the selection (Figure 12.34) leads to the table shown in Figure 12.35.
Note that the action set corresponding to Platinum
has been lost during the operation.
When you merge an interval, the first interval is modified and the maximum value of this interval is replaced by the maximum value of the last selected interval.
In the following example, the merging of the selected block (Figure 12.36) leads to the table shown in Figure 12.37.
Decision Table / Tree Supported Data Types | Decision Table Operations
Customer Support | Copyright © 1987-2004 ILOG S.A. All rights reserved. Legal terms. | PREVIOUS NEXT |