summaryrefslogtreecommitdiff
path: root/examples/original/mamdani/octave/investment_portfolio.fll
diff options
context:
space:
mode:
Diffstat (limited to 'examples/original/mamdani/octave/investment_portfolio.fll')
-rw-r--r--examples/original/mamdani/octave/investment_portfolio.fll9
1 files changed, 5 insertions, 4 deletions
diff --git a/examples/original/mamdani/octave/investment_portfolio.fll b/examples/original/mamdani/octave/investment_portfolio.fll
index 4bb14e1..a383512 100644
--- a/examples/original/mamdani/octave/investment_portfolio.fll
+++ b/examples/original/mamdani/octave/investment_portfolio.fll
@@ -1,4 +1,4 @@
-Engine: Investment-Portfolio
+Engine: investment_portfolio
InputVariable: Age
enabled: true
range: 20.000 100.000
@@ -12,7 +12,7 @@ InputVariable: RiskTolerance
OutputVariable: PercentageInStocks
enabled: true
range: 0.000 100.000
- accumulation: EinsteinSum
+ aggregation: EinsteinSum
defuzzifier: Centroid 200
default: nan
lock-previous: false
@@ -24,8 +24,9 @@ RuleBlock:
enabled: true
conjunction: EinsteinProduct
disjunction: EinsteinSum
- activation: EinsteinProduct
+ implication: EinsteinProduct
+ activation: General
rule: if Age is Young or RiskTolerance is High then PercentageInStocks is AboutEightyFive
rule: if Age is Old or RiskTolerance is Low then PercentageInStocks is AboutFifteen
rule: if Age is not extremely Old and RiskTolerance is not extremely Low then PercentageInStocks is AboutFifty with 0.500
- rule: if Age is not extremely Young and RiskTolerance is not extremely High then PercentageInStocks is AboutFifty with 0.500 \ No newline at end of file
+ rule: if Age is not extremely Young and RiskTolerance is not extremely High then PercentageInStocks is AboutFifty with 0.500