Debian Codegraph @

examples/original/takagi-sugeno/approximation.fll

raw
1 Engine: approximation
2 InputVariable: inputX
3 enabled: true
4 range: 0.000 10.000
5 term: NEAR_1 Triangle 0.000 1.000 2.000
6 term: NEAR_2 Triangle 1.000 2.000 3.000
7 term: NEAR_3 Triangle 2.000 3.000 4.000
8 term: NEAR_4 Triangle 3.000 4.000 5.000
9 term: NEAR_5 Triangle 4.000 5.000 6.000
10 term: NEAR_6 Triangle 5.000 6.000 7.000
11 term: NEAR_7 Triangle 6.000 7.000 8.000
12 term: NEAR_8 Triangle 7.000 8.000 9.000
13 term: NEAR_9 Triangle 8.000 9.000 10.000
14 OutputVariable: outputFx
15 enabled: true
16 range: -1.000 1.000
17 aggregation: none
18 defuzzifier: WeightedAverage TakagiSugeno
19 default: nan
20 lock-previous: true
21 lock-range: false
22 term: f1 Constant 0.840
23 term: f2 Constant 0.450
24 term: f3 Constant 0.040
25 term: f4 Constant -0.180
26 term: f5 Constant -0.190
27 term: f6 Constant -0.040
28 term: f7 Constant 0.090
29 term: f8 Constant 0.120
30 term: f9 Constant 0.040
31 OutputVariable: trueFx
32 enabled: true
33 range: -1.000 1.000
34 aggregation: none
35 defuzzifier: WeightedAverage
36 default: nan
37 lock-previous: true
38 lock-range: false
39 term: fx Function sin(inputX)/inputX
40 OutputVariable: diffFx
41 enabled: true
42 range: -1.000 1.000
43 aggregation: none
44 defuzzifier: WeightedAverage
45 default: nan
46 lock-previous: false
47 lock-range: false
48 term: diff Function fabs(outputFx-trueFx)
49 RuleBlock:
50 enabled: true
51 conjunction: none
52 disjunction: none
53 implication: none
54 activation: General
55 rule: if inputX is NEAR_1 then outputFx is f1
56 rule: if inputX is NEAR_2 then outputFx is f2
57 rule: if inputX is NEAR_3 then outputFx is f3
58 rule: if inputX is NEAR_4 then outputFx is f4
59 rule: if inputX is NEAR_5 then outputFx is f5
60 rule: if inputX is NEAR_6 then outputFx is f6
61 rule: if inputX is NEAR_7 then outputFx is f7
62 rule: if inputX is NEAR_8 then outputFx is f8
63 rule: if inputX is NEAR_9 then outputFx is f9
64 rule: if inputX is any then trueFx is fx and diffFx is diff