summaryrefslogtreecommitdiff
path: root/examples/original/takagi-sugeno/octave/linear_tip_calculator.fll
blob: 34b0334720a57432f74c8fdddbd32d681fc301ed (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
Engine: Linear-Tip-Calculator
InputVariable: FoodQuality
  enabled: true
  range: 1.000 10.000
  term: Bad Trapezoid 0.000 1.000 3.000 7.000
  term: Good Trapezoid 3.000 7.000 10.000 11.000
InputVariable: Service
  enabled: true
  range: 1.000 10.000
  term: Bad Trapezoid 0.000 1.000 3.000 7.000
  term: Good Trapezoid 3.000 7.000 10.000 11.000
OutputVariable: Tip
  enabled: true
  range: 10.000 20.000
  accumulation: none
  defuzzifier: WeightedAverage TakagiSugeno
  default: nan
  lock-previous: false
  lock-range: false
  term: TenPercent Linear 0.000 0.000 10.000
  term: FifteenPercent Linear 0.000 0.000 15.000
  term: TwentyPercent Linear 0.000 0.000 20.000
RuleBlock: 
  enabled: true
  conjunction: Minimum
  disjunction: none
  activation: none
  rule: if FoodQuality is Bad and Service is Bad then Tip is TenPercent
  rule: if FoodQuality is Bad and Service is Good then Tip is FifteenPercent
  rule: if FoodQuality is Good and Service is Bad then Tip is FifteenPercent
  rule: if FoodQuality is Good and Service is Good then Tip is TwentyPercent