diff options
Diffstat (limited to 'examples/mamdani/Laundry.fll')
-rw-r--r-- | examples/mamdani/Laundry.fll | 43 |
1 files changed, 43 insertions, 0 deletions
diff --git a/examples/mamdani/Laundry.fll b/examples/mamdani/Laundry.fll new file mode 100644 index 0000000..ef6fd44 --- /dev/null +++ b/examples/mamdani/Laundry.fll @@ -0,0 +1,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
\ No newline at end of file |