DEFINING THRESHOLD FORMULAS
Threshold Formula
The threshold formula uses Backus-Naur Form (BNF) as follows:
Threshold::= | SimpleExpression | |
| ComplexExpression | |
| <NULL> | |
SimpleExpression::=Variable rel_op Value | ||
Variable::= | "R" | |
| "H" | |
| "M" | |
| "S" | |
rel_op::= | ">" | |
| "<" | |
| ">=" | |
| "<=" | |
| "==" | |
| "!=" |
Value::=<INTEGER VALUE>
ComplexExpression::=
"(" SimpleExpression ")"
"(" ComplexExpression ")"
ComplexExpression logic_op ComplexExpression
logic_op::="AND""OR"
Threshold Formula Syntax
The threshold formula can be a simple or complex expression.