コード例 #1
0
        private void IncomePerceptInit_2()
        {
            //  Init Income percept
            FuzzificationIncomePercept item = new FuzzificationIncomePercept(0.0, 5000.0, 0.1);

            IncomePecept.Add(item);
            item = new FuzzificationIncomePercept(4900, 10000, 0.15);
            IncomePecept.Add(item);
            item = new FuzzificationIncomePercept(9000, 22000, 0.25);
            IncomePecept.Add(item);
            item = new FuzzificationIncomePercept(20000, 70000, 0.18);
            IncomePecept.Add(item);
            item = new FuzzificationIncomePercept(69000, Int32.MaxValue, 0.1);
            IncomePecept.Add(item);
        }
コード例 #2
0
        private void IncomePerceptInit_1()
        {
            //  Init Income percept
            FuzzificationIncomePercept item = new FuzzificationIncomePercept(0.0, 1000.0, 0.1);

            IncomePecept.Add(item);
            item = new FuzzificationIncomePercept(900, 5000, 0.15);
            IncomePecept.Add(item);
            item = new FuzzificationIncomePercept(4800, 12000, 0.25);
            IncomePecept.Add(item);
            item = new FuzzificationIncomePercept(10000, 21000, 0.18);
            IncomePecept.Add(item);
            item = new FuzzificationIncomePercept(20000, 41000, 0.08);
            IncomePecept.Add(item);
            item = new FuzzificationIncomePercept(40000, 62000, 0.1);
            IncomePecept.Add(item);
            item = new FuzzificationIncomePercept(60000, 101000, 0.2);
            IncomePecept.Add(item);
            item = new FuzzificationIncomePercept(101000, Int32.MaxValue, 0.2);
            IncomePecept.Add(item);
        }