summaryrefslogtreecommitdiff
path: root/examples/mamdani/Laundry.fll
blob: ef6fd441b94fdd1970d4a6cc91a7fe11920095f1 (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
32
33
34
35
36
37
38
39
40
41
42
43
Engine: Laundry
InputVariable: Load
  enabled: true
  range: 0.000 6.000
  term: small Discrete 0.000 1.000 1.000 1.000 2.000 0.800 5.000 0.000
  term: normal Discrete 3.000 0.000 4.000 1.000 6.000 0.000
InputVariable: Dirt
  enabled: true
  range: 0.000 6.000
  term: low Discrete 0.000 1.000 2.000 0.800 5.000 0.000
  term: high Discrete 1.000 0.000 2.000 0.200 4.000 0.800 6.000 1.000
OutputVariable: Detergent
  enabled: true
  range: 0.000 80.000
  accumulation: Maximum
  defuzzifier: MeanOfMaximum 500
  default: nan
  lock-previous: false
  lock-range: false
  term: less Discrete 10.000 0.000 40.000 1.000 50.000 0.000
  term: normal Discrete 40.000 0.000 50.000 1.000 60.000 1.000 80.000 0.000
  term: more Discrete 50.000 0.000 80.000 1.000
OutputVariable: Cycle
  enabled: true
  range: 0.000 20.000
  accumulation: Maximum
  defuzzifier: MeanOfMaximum 500
  default: nan
  lock-previous: false
  lock-range: false
  term: short Discrete 0.000 1.000 10.000 1.000 20.000 0.000
  term: long Discrete 10.000 0.000 20.000 1.000
RuleBlock: 
  enabled: true
  conjunction: Minimum
  disjunction: Maximum
  activation: Minimum
  rule: if Load is small and Dirt is not high then Detergent is less
  rule: if Load is small and Dirt is high then  Detergent is normal
  rule: if Load is normal and Dirt is low then Detergent is less
  rule: if Load is normal and Dirt is high then Detergent is more
  rule: if Detergent is normal or Detergent is less then Cycle is short
  rule: if Detergent is more then Cycle is long