alt
Alternative
The alternative is the final piece to construct the “if” statement needed to implement the associated rule. One of the alternative operators listed in the table below must be specified for each condition defined in the Decision Table. The user can define as many alternatives as needed by adding the required number of alt columns and numbering them sequentially (alt1, alt2,...).
The model checks if the condition is met by:
comparing the condition variable to lim_const (if the condition variable has a limit constant but no limit variable and operator),
comparing the condition variable to lim_var (if the condition variable has a limit variable but no limit operator and constant),
comparing the condition variable to lim_var multiplied by/plus/minus/divided by lim_const (if the condition variable has a limit variable, operator, and constant), or
checking if the conditional variable is true (plant_gro, tile_drained, and plant_com).
How the condition variable is compared to 1., 2., or 3. or checked for 4. is controlled by the alternative operator:
Alternative operator | Description |
---|---|
- | Condition not relevant |
= | Condition met if var equals 1., 2., or 3. or if var is true (4.) |
/ | Condition met if var does not equal 1., 2., or 3. or if var is false (4.) |
>= | Condition met if var is larger than or equals 1., 2., or 3. |
<= | Condition met if var is smaller than or equals 1., 2., or 3. |
> | Condition met if var is larger than 1., 2., or 3. |
< | Condition met if var is smaller than 1., 2., or 3. |
Last updated