Metis Smart Modeling - Rules
From Metis Documentation
(→Formulas) |
(→External Selection) |
||
Line 771: | Line 771: | ||
=== External Selection=== | === External Selection=== | ||
For very complex rules, an external file might be used to implement them in Metis Smart Modeling. The purpose of this rule type is to allow the development of algorithms which may not be handled in Metis. The file linked to such rule should a compiled program which can be started by providing at least one parameter and which returns '''only one''' value. This file can be searched through the External File Name button on the right. In order for a new file to be displayed in that list it has to be "imported" through the ... . | For very complex rules, an external file might be used to implement them in Metis Smart Modeling. The purpose of this rule type is to allow the development of algorithms which may not be handled in Metis. The file linked to such rule should a compiled program which can be started by providing at least one parameter and which returns '''only one''' value. This file can be searched through the External File Name button on the right. In order for a new file to be displayed in that list it has to be "imported" through the ... . | ||
+ | |||
+ | |||
+ | {| class="wikitable centre" width="90%" style="border-collapse: separate; border-spacing: 0; border-width: 1px; border-style: solid; border-color: grey;" | ||
+ | |- | ||
+ | ! scope=col style="border-style: solid; border-color: grey; border-width: 0 1px 1px 0" | Q in | ||
+ | ! scope=col style="border-style: solid; border-color: grey; border-width: 0 1px 1px 0" | Q out | ||
+ | ! scope=col style="border-style: solid; border-color: grey; border-width: 0 0 1px 0" | Remark | ||
+ | |- | ||
+ | | width="15%" style="border-style: solid; border-color: grey; border-width: 0 1px 0 0" | | ||
+ | 12 and 4 | ||
+ | | width="15%" style="border-style: solid; border-color: grey; border-width: 0 1px 0 0" | | ||
+ | 16 | ||
+ | | width="70%" style="border-style: solid; border-color: grey; border-width: 0 0 0 0" | | ||
+ | Based on the external program used in the example below, which simply adds up to numbers : | ||
+ | |||
+ | ''Var1+Var2'' | ||
+ | |||
+ | The result with those input values is 16. | ||
+ | |- | ||
+ | |} | ||
+ | |||
EXAMPLE OF USE BASED ON SCENARIO | EXAMPLE OF USE BASED ON SCENARIO |