Exemplo n.º 1
0
        public static IFuzzySystemFroentEnd init_fuzzy_system(int Type)
        {
            IFuzzySystemFroentEnd result = null;

            FuzzySystem.FuzzyAbstract.FuzzySystemRelisedList.TypeSystem type_fuzzy_system = (FuzzySystem.FuzzyAbstract.FuzzySystemRelisedList.TypeSystem)Type;

            result = new BaseFrontEnd(type_fuzzy_system);
            return(result);
        }
Exemplo n.º 2
0
        private void Type_FuzzySystem_CB_SelectedIndexChanged(object sender, EventArgs e)
        {
            learn_samples_TB.Text          = "Выберите файл";
            MultiSelectButton.Visible      = true;
            learn_samples_TB.Enabled       = true;
            learn_samples_browse_B.Visible = true;
            Fuzzy_system = FrontEnd_Construction.init_fuzzy_system(Type_FuzzySystem_CB.SelectedIndex);
            clear_CB(all_algorithms_CB_List);
            set_enabledisable_CB(all_algorithms_CB_List, false);
            set_enabledisable_B(all_algorithms_B_List, false);

            test_samples_TB.Text              = "Выберите файл";
            test_samples_TB.Enabled           = false;
            test_samples_B.Visible            = false;
            start_B.Visible                   = false;
            inter_Repeate_UD.Enabled          = false;
            start_count_UD.Enabled            = false;
            autosave_fuzzy_System_CHB.Enabled = false;
            autosave_log_CHB.Enabled          = false;

            Fuzzy_system.Set_count_add_generator(2);
            Fuzzy_system.Set_count_learn_algorithm(4);
        }