skip to main content
Corticon Studio: Rule Modeling Guide : Rule writing techniques and logical equivalents : Qualifying rules with ranges and lists : Using ranges and value sets in condition cells : Boolean condition Vs. values set : Using other in condition cells

Try Corticon Now
Using other in condition cells
Sometimes it is easier to define values we don't want matched than it is to define those we do. In the example shown above in Exclusionary Logic Using Negated Value, we specify a maxCargoWeight to assign when aircraftType is not a 747. But what would we write in the Conditions Cell if we wanted to specify any aircraftType other than those specified in any of the other Conditions Cells? For this, we use a special term in the Operator Vocabulary named other, shown in the following figure:
Figure 73. Literal Term other in the Operator Vocabulary
The term other provides a simple way of specifying any value other than any of those specified in other Cells of the same Conditions row.  The following figure illustrates how we can use other in our example.
Figure 74. Rulesheet Using other in a Condition Cell
Here, we added a new rule (column 4) that assigns a maxCargoWeight of 50000 to any aircraftType other than the specific values identified in the cells in Condition row a (for example, a 727 ). Our Rulesheet is now complete because all possible Condition-Action combinations are explicitly defined by columns in the decision table.