Debian Codegraph @

examples/original/takagi-sugeno/octave/linear_tip_calculator.fll

raw
1 Engine: linear_tip_calculator
2 InputVariable: FoodQuality
3 enabled: true
4 range: 1.000 10.000
5 term: Bad Trapezoid 0.000 1.000 3.000 7.000
6 term: Good Trapezoid 3.000 7.000 10.000 11.000
7 InputVariable: Service
8 enabled: true
9 range: 1.000 10.000
10 term: Bad Trapezoid 0.000 1.000 3.000 7.000
11 term: Good Trapezoid 3.000 7.000 10.000 11.000
12 OutputVariable: Tip
13 enabled: true
14 range: 10.000 20.000
15 aggregation: none
16 defuzzifier: WeightedAverage TakagiSugeno
17 default: nan
18 lock-previous: false
19 lock-range: false
20 term: TenPercent Linear 0.000 0.000 10.000
21 term: FifteenPercent Linear 0.000 0.000 15.000
22 term: TwentyPercent Linear 0.000 0.000 20.000
23 RuleBlock:
24 enabled: true
25 conjunction: Minimum
26 disjunction: none
27 implication: none
28 activation: General
29 rule: if FoodQuality is Bad and Service is Bad then Tip is TenPercent
30 rule: if FoodQuality is Bad and Service is Good then Tip is FifteenPercent
31 rule: if FoodQuality is Good and Service is Bad then Tip is FifteenPercent
32 rule: if FoodQuality is Good and Service is Good then Tip is TwentyPercent