Metis Smart Modeling - Rules
From Metis Documentation
(→Single selection) |
(→Single selection) |
||
Line 315: | Line 315: | ||
=== Single selection === | === Single selection === | ||
- | The single selection rule tests an input and calculates the defined output based on a simple logical relation. The output quantity ("Q out") is determined by the input quantity ("Q in"). If they are both set to "1", then for every number of input there will be an output. On the other hand, if the "Q out" fields is set to 2, it means that for every input there will be 2 output. | + | The single selection rule tests an input and calculates the defined output based on a simple logical relation. The Input "object" can be of any type available, but the output one can only a position or a variable. If the input is set to be a variable, the its value may come directly from a field placed in a mask. The output quantity ("Q out") is determined by the input quantity ("Q in"). If they are both set to "1", then for every number of input there will be an output. On the other hand, if the "Q out" fields is set to 2, it means that for every input there will be 2 output. |
{{Warning | {{Warning | ||
Line 321: | Line 321: | ||
}} | }} | ||
- | A filter or limit to the execution of the rule can be set with the "Q from" and "Q to" fields by giving a scope in which the input output relation should be executed. If the "Q from" field is left empty, this means that the rule is valid for input values greater or equal than 0. An d if the "Q to" field is also left empty, then it means that the rule is valid up to infinite input values. | + | A filter or limit to the execution of the rule can be set with the "Q from" and "Q to" fields by giving a scope in which the input/output relation should be executed. If the "Q from" field is left empty, this means that the rule is valid for input values greater or equal than 0. An d if the "Q to" field is also left empty, then it means that the rule is valid up to infinite input values. |
{{Note | {{Note | ||
Line 367: | Line 367: | ||
|- | |- | ||
|} | |} | ||
+ | |||
+ | EXAMPLE OF USE BASED ON SCENARIO | ||
=== Table === | === Table === |