The FuzzyBest function links 2 or more specified fuzzy charts in such a way that the fuzzy probabilities are determined for a specified base value and the name of the chart is returned with the highest probability.
Syntax | ||||
FuzzyBest(Basevalue, Diagram1, Diagram2 [, Diagram3 [, ...]) | ||||
Return value | ||||
Type |
Description | |||
Long |
Index of the fuzzy diagram with the highest fuzzy probability. If each of the specified fuzzy diagrams returns a fuzzy value=0, then the return value is 0. If Diagram1 returns the best hit, result is 0; if diagram2 returns the best hit, then result is 1 etc. | |||
Parameter | ||||
Use |
Name |
Type |
Passing |
Description |
Required |
Basevalue |
Double |
ByVal |
X value of the fuzzy diagrams to be evaluated. |
Required |
Diagram1 |
Fuzzy |
ByVal |
Variable of type Fuzzy of the first fuzzy diagram to be tested. |
Required |
Diagram2 |
Fuzzy |
ByVal |
Variable of type Fuzzy of the second fuzzy diagram to be tested. |
Optional |
Diagram3-n |
Fuzzy |
ByVal |
Further variables of type Fuzzy to be tested. |