From 6ce553563bc795f389f639a3a8cdfe356de71441 Mon Sep 17 00:00:00 2001 From: Johannes 'josch' Schauer Date: Sun, 27 Jan 2019 13:56:24 +0100 Subject: new upstream version 6.0 --- examples/takagi-sugeno/approximation.fll | 18 ++++++++++-------- 1 file changed, 10 insertions(+), 8 deletions(-) (limited to 'examples/takagi-sugeno/approximation.fll') diff --git a/examples/takagi-sugeno/approximation.fll b/examples/takagi-sugeno/approximation.fll index 1d166c9..4461299 100644 --- a/examples/takagi-sugeno/approximation.fll +++ b/examples/takagi-sugeno/approximation.fll @@ -1,7 +1,8 @@ -Engine: approximation of sin(x)/x +Engine: approximation InputVariable: inputX enabled: true range: 0.000 10.000 + lock-range: false term: NEAR_1 Triangle 0.000 1.000 2.000 term: NEAR_2 Triangle 1.000 2.000 3.000 term: NEAR_3 Triangle 2.000 3.000 4.000 @@ -14,11 +15,11 @@ InputVariable: inputX OutputVariable: outputFx enabled: true range: -1.000 1.000 - accumulation: none + lock-range: false + aggregation: none defuzzifier: WeightedAverage TakagiSugeno default: nan lock-previous: true - lock-range: false term: f1 Constant 0.840 term: f2 Constant 0.450 term: f3 Constant 0.040 @@ -31,26 +32,27 @@ OutputVariable: outputFx OutputVariable: trueFx enabled: true range: -1.000 1.000 - accumulation: none + lock-range: false + aggregation: none defuzzifier: WeightedAverage Automatic default: nan lock-previous: true - lock-range: false term: fx Function sin(inputX)/inputX OutputVariable: diffFx enabled: true range: -1.000 1.000 - accumulation: none + lock-range: false + aggregation: none defuzzifier: WeightedAverage Automatic default: nan lock-previous: false - lock-range: false term: diff Function fabs(outputFx-trueFx) RuleBlock: enabled: true conjunction: none disjunction: none - activation: none + implication: none + activation: General rule: if inputX is NEAR_1 then outputFx is f1 rule: if inputX is NEAR_2 then outputFx is f2 rule: if inputX is NEAR_3 then outputFx is f3 -- cgit v1.2.3