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/mamdani/octave/investment_portfolio.fll | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) (limited to 'examples/mamdani/octave/investment_portfolio.fll') diff --git a/examples/mamdani/octave/investment_portfolio.fll b/examples/mamdani/octave/investment_portfolio.fll index 4bb14e1..628fdef 100644 --- a/examples/mamdani/octave/investment_portfolio.fll +++ b/examples/mamdani/octave/investment_portfolio.fll @@ -1,22 +1,24 @@ -Engine: Investment-Portfolio +Engine: investment_portfolio InputVariable: Age enabled: true range: 20.000 100.000 + lock-range: false term: Young ZShape 30.000 90.000 term: Old SShape 30.000 90.000 InputVariable: RiskTolerance enabled: true range: 0.000 10.000 + lock-range: false term: Low ZShape 2.000 8.000 term: High SShape 2.000 8.000 OutputVariable: PercentageInStocks enabled: true range: 0.000 100.000 - accumulation: EinsteinSum + lock-range: false + aggregation: EinsteinSum defuzzifier: Centroid 200 default: nan lock-previous: false - lock-range: false term: AboutFifteen Gaussian 15.000 10.000 term: AboutFifty Gaussian 50.000 10.000 term: AboutEightyFive Gaussian 85.000 10.000 @@ -24,7 +26,8 @@ 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 -- cgit v1.2.3