summaryrefslogtreecommitdiff
path: root/examples/mamdani/SimpleDimmerChained.fll
diff options
context:
space:
mode:
Diffstat (limited to 'examples/mamdani/SimpleDimmerChained.fll')
-rw-r--r--examples/mamdani/SimpleDimmerChained.fll14
1 files changed, 8 insertions, 6 deletions
diff --git a/examples/mamdani/SimpleDimmerChained.fll b/examples/mamdani/SimpleDimmerChained.fll
index fd6b945..02b35cc 100644
--- a/examples/mamdani/SimpleDimmerChained.fll
+++ b/examples/mamdani/SimpleDimmerChained.fll
@@ -1,29 +1,30 @@
-Engine: simple-dimmer
+Engine: SimpleDimmerChained
InputVariable: Ambient
enabled: true
range: 0.000 1.000
+ lock-range: false
term: DARK Triangle 0.000 0.250 0.500
term: MEDIUM Triangle 0.250 0.500 0.750
term: BRIGHT Triangle 0.500 0.750 1.000
OutputVariable: Power
enabled: true
range: 0.000 1.000
- accumulation: Maximum
+ lock-range: false
+ aggregation: Maximum
defuzzifier: Centroid 200
default: nan
lock-previous: false
- lock-range: false
term: LOW Triangle 0.000 0.250 0.500
term: MEDIUM Triangle 0.250 0.500 0.750
term: HIGH Triangle 0.500 0.750 1.000
OutputVariable: InversePower
enabled: true
range: 0.000 1.000
- accumulation: Maximum
+ lock-range: false
+ aggregation: Maximum
defuzzifier: Centroid 500
default: nan
lock-previous: false
- lock-range: false
term: LOW Cosine 0.200 0.500
term: MEDIUM Cosine 0.500 0.500
term: HIGH Cosine 0.800 0.500
@@ -31,7 +32,8 @@ RuleBlock:
enabled: true
conjunction: none
disjunction: none
- activation: Minimum
+ implication: Minimum
+ activation: General
rule: if Ambient is DARK then Power is HIGH
rule: if Ambient is MEDIUM then Power is MEDIUM
rule: if Ambient is BRIGHT then Power is LOW